From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 29 20:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 22BEBF39 for ; Sun, 29 Sep 2013 20:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F070C2727 for ; Sun, 29 Sep 2013 20:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8TKK0MF030030 for ; Sun, 29 Sep 2013 20:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8TKK0Jo029982; Sun, 29 Sep 2013 20:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 29 Sep 2013 20:20:00 GMT Resent-Message-Id: <201309292020.r8TKK0Jo029982@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Scot W. Hetzel" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0DDD3C92 for ; Sun, 29 Sep 2013 20:09:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D06AD26BC for ; Sun, 29 Sep 2013 20:09:56 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id ar20so8362425iec.18 for ; Sun, 29 Sep 2013 13:09:56 -0700 (PDT) Received: from fbsd10 ([206.126.209.6]) by mx.google.com with ESMTPSA id w4sm12453484igb.5.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Sep 2013 13:09:55 -0700 (PDT) Received: from fbsd10 (localhost [127.0.0.1]) by fbsd10 (8.14.7/8.14.7) with ESMTP id r8TK9raN007586 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 29 Sep 2013 15:09:53 -0500 (CDT) (envelope-from root@fbsd10) Received: (from root@localhost) by fbsd10 (8.14.7/8.14.7/Submit) id r8TK9rSb007585; Sun, 29 Sep 2013 15:09:53 -0500 (CDT) (envelope-from root) Message-Id: <201309292009.r8TK9rSb007585@fbsd10> Date: Sun, 29 Sep 2013 15:09:53 -0500 (CDT) From: "Scot W. Hetzel" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/182495: net/wizd: svn revision 302141 broke install of port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "Scot W. Hetzel" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 20:20:01 -0000 >Number: 182495 >Category: ports >Synopsis: net/wizd: svn revision 302141 broke install of port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 29 20:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 10.0-ALPHA2 i386 >Organization: >Environment: System: FreeBSD fbsd10 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #0 r255731: Sat Sep 21 08:56:02 CDT 2013 root@fbsd10:/usr/obj/usr/src/sys/GENERIC i386 >Description: Revison 302141 broke the port when it changed the name of the rc.d script from wizd.sh to wizd. This breakage was caused due to the port defines NO_WRKSUBDIR, and builds ${WRKDIR}/wizd. Then when the port goes to install the rc.d script, USE_SUBR overwrites ${WRKDIR}/wizd with the ${FILEDIR}/wizd.in. >How-To-Repeat: Check out revision 302141 cd /usr/ports svn{,lite} update -r 302141 net/wizd cd net/wizd root@fbsd10:/usr/ports/net/wizd # make build : root@fbsd10:/usr/ports/net/wizd # file work/wizd work/wizd: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000055), stripped root@fbsd10:/usr/ports/net/wizd # make install ===> Staging for wizd-24_5 ===> wizd-24_5 depends on executable: nkf - found ===> wizd-24_5 depends on shared library: dvdread - found ===> wizd-24_5 depends on shared library: jpeg - found ===> Generating temporary packing list install -s -o root -g wheel -m 555 /usr/ports/net/wizd/work/wizd /usr/ports/net/wizd/work/stage/usr/local/bin strip: /usr/ports/net/wizd/work/stage/usr/local/bin/wizd: File format not recognized install: wait: No such file or directory *** Error code 70 Stop. make: stopped in /usr/ports/net/wizd root@fbsd10:/usr/ports/net/wizd # file work/wizd work/wizd: POSIX shell script, ASCII text executable >Fix: - Remove NO_WRKSUBDIR - Change EXTRACT_AFTER_ARGS to extract the sources to WRKSRC - Update the port to support stage To restore the port check out revision 323759 and apply the below patch: --- wizd.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 323759) +++ Makefile (working copy) @@ -19,13 +19,9 @@ jpeg:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= nkf:${PORTSDIR}/japanese/nkf -DEPRECATED= Broken for more than 6 month -EXPIRATION_DATE= 2013-08-27 -BROKEN= does not install - -NO_WRKSUBDIR= yes USE_DOS2UNIX= Makefile USE_ZIP= yes +EXTRACT_AFTER_ARGS= -d ${WRKSRC} USE_RC_SUBR= wizd post-patch: @@ -32,17 +28,17 @@ @${REINPLACE_CMD} -e 's|./skin|${DATADIR}/skins|' ${WRKSRC}/wizd.conf do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wizd ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/wizd.conf ${PREFIX}/etc/wizd.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/wizd ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/wizd.conf ${STAGEDIR}${PREFIX}/etc/wizd.conf.sample - ${MKDIR} ${DATADIR}/skins + ${MKDIR} ${STAGEDIR}${DATADIR}/skins .for DIR in simplicity simplicity_hires - cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${DATADIR}/skins + cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${DATADIR}/skins .endfor .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${STAGEDIR}${DOCSDIR} .endif .include --- wizd.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: