From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 4 06:30:17 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45D5B16A403 for ; Sun, 4 Feb 2007 06:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2764B13C478 for ; Sun, 4 Feb 2007 06:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l146UGX7092836 for ; Sun, 4 Feb 2007 06:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l146UGlR092835; Sun, 4 Feb 2007 06:30:16 GMT (envelope-from gnats) Resent-Date: Sun, 4 Feb 2007 06:30:16 GMT Resent-Message-Id: <200702040630.l146UGlR092835@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, "Josh Paetzel " Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60DE916A403 for ; Sun, 4 Feb 2007 06:22:39 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [63.240.77.81]) by mx1.freebsd.org (Postfix) with ESMTP id 1A06313C442 for ; Sun, 4 Feb 2007 06:22:38 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from workbox.tcbug.org (c-67-190-235-215.hsd1.mn.comcast.net[67.190.235.215]) by comcast.net (sccrmhc11) with SMTP id <2007020406223701100etf0fe>; Sun, 4 Feb 2007 06:22:37 +0000 Message-Id: <1170570155.42581@workbox.tcbug.org> Date: Sun, 4 Feb 2007 00:22:35 -0600 From: "Josh Paetzel " To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.8 Cc: kuriyama@FreeBSD.org Subject: ports/108744: [PATCH] deskutils/egroupware broken, fix errors in Makefile so it installs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 06:30:17 -0000 >Number: 108744 >Category: ports >Synopsis: [PATCH] deskutils/egroupware broken, fix errors in Makefile so it installs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 04 06:30:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Josh Paetzel >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-RELEASE #3: Sat Jan 27 12:38:26 CST 2007 jpaetzel@workbox.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE >Description: deskutils/egroupware has errors in the Makefile that prevent it from automatically fetching the distfiles, and even after doing a make fetch to get the distfiles there's a path error in one of the targets that makes it bomb out. >How-To-Repeat: # cd /usr/ports/deskutils/egroupware # make install ===> Installing for eGroupWare-1.2.106 ===> eGroupWare-1.2.106 depends on file: /usr/local/share/pear/Log.php - found ===> eGroupWare-1.2.106 depends on file: /usr/local/include/php/main/php.h - f ound ===> eGroupWare-1.2.106 depends on file: /usr/local/lib/php/20060613/pcre.so - found ===> eGroupWare-1.2.106 depends on file: /usr/local/lib/php/20060613/session.s o - found ===> eGroupWare-1.2.106 depends on file: /usr/local/lib/php/20060613/xml.so - found ===> eGroupWare-1.2.106 depends on file: /usr/local/lib/php/20060613/pgsql.so - found ===> eGroupWare-1.2.106 depends on file: /usr/local/lib/php/20060613/imap.so - found ===> Generating temporary packing list ===> Checking if deskutils/egroupware already installed /bin/mkdir -p /usr/local/www/data-dist/egroupware cd /usr/local/www/data-dist/egroupware/.. && /usr/bin/bzip2 -dc /usr/ports/distf iles//eGroupWare-1.2-106.tar.bz2 | /usr/bin/tar -xf - bzip2: Can't open input file /usr/ports/distfiles/eGroupWare-1.2-106.tar.bz2: No such file or directory. tar: Error opening archive: Empty input file: Inappropriate file type or format *** Error code 1 workbox# make fetch ===> Vulnerability check disabled, database not found ===> Found saved configuration for eGroupWare-1.2.106 => eGroupWare-1.2-106.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/egroupware/. ... # make install ..... cd /usr/local/www/data-dist/egroupware/.. && /usr/bin/bzip2 -dc /usr/ports/distf iles//eGroupWare-1.2-106.tar.bz2 | /usr/bin/tar -xf - ....... same output, notice the // in the path to the distfile..... >Fix: Apply the following patch: --- Makefile.old Sun Feb 4 00:03:58 2007 +++ Makefile Sun Feb 4 00:10:20 2007 @@ -56,13 +56,12 @@ .endif .include "${PORTSDIR}/Mk/bsd.php.mk" - -extract: +do-extract: ${MKDIR} ${WRKDIR} do-install: ${MKDIR} ${DEST} - cd ${DEST}/.. && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS} + cd ${DEST}/.. && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}${DISTFILES} ${EXTRACT_AFTER_ARGS} @${FIND} ${DEST} -name .svn -type d | ${XARGS} ${RM} -rf ${MKDIR} /var/db/egroupware/default ${MKDIR} /var/db/egroupware/default/files >Release-Note: >Audit-Trail: >Unformatted: