From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 3 13:00:21 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAA36106564A for ; Sun, 3 Jul 2011 13:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B61528FC12 for ; Sun, 3 Jul 2011 13:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p63D0LcM029702 for ; Sun, 3 Jul 2011 13:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p63D0LnR029701; Sun, 3 Jul 2011 13:00:21 GMT (envelope-from gnats) Resent-Date: Sun, 3 Jul 2011 13:00:21 GMT Resent-Message-Id: <201107031300.p63D0LnR029701@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, Fabian Keil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D9F6106566B for ; Sun, 3 Jul 2011 12:52:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 527E18FC17 for ; Sun, 3 Jul 2011 12:52:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p63Cql3T011952 for ; Sun, 3 Jul 2011 12:52:47 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p63CqlTf011946; Sun, 3 Jul 2011 12:52:47 GMT (envelope-from nobody) Message-Id: <201107031252.p63CqlTf011946@red.freebsd.org> Date: Sun, 3 Jul 2011 12:52:47 GMT From: Fabian Keil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158609: Various ecore-related ports fail to work if WRKDIRPREFIX is modified 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, 03 Jul 2011 13:00:22 -0000 >Number: 158609 >Category: ports >Synopsis: Various ecore-related ports fail to work if WRKDIRPREFIX is modified >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 Jul 03 13:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 9.0-CURRENT FreeBSD 9.0-CURRENT #324 r+4720402: Fri Jul 1 16:50:30 CEST 2011 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: I'm using WRKDIRPREFIX=/usr/obj-ports and apparently this causes various ecore-related ports to build (or work in general). fk@r500 /usr/ports/graphics/ecore-evas $make "/usr/ports/graphics/ecore-evas/Makefile", line 30: Could not find ../../devel/ecore-main/Makefile.inc make: fatal errors encountered -- cannot continue fk@r500 /usr/ports/graphics/ecore-sdl $make clean "/usr/ports/graphics/ecore-sdl/Makefile", line 31: Could not find ../../devel/ecore-main/Makefile.inc make: fatal errors encountered -- cannot continue It also prevents portmaster -a from working, even if no ecore-related port needs to be updated: [...] ===>>> Gathering dependency list for lang/tcl-modules from ports ===>>> No dependencies for lang/tcl-modules ===>>> Returning to update check of installed ports "/usr/ports/graphics/ecore-evas/Makefile", line 30: Could not find ../../devel/ecore-main/Makefile.inc make: fatal errors encountered -- cannot continue ===>>> Is /usr/ports/graphics/ecore-evas/Makefile missing? ===>>> Aborting update Terminated >How-To-Repeat: Use a non-standard WRKDIRPREFIX path and try to build for example graphics/ecore-evas. >Fix: It works for me with the attached patch. I'm not sure if this is a fix or only a workaround, but so far I haven't noticed any problems. Note that not all replaced occurrences of .include <...> seem to actually cause problems (for example I can build x11/ecore-imf without the patch), but I modified them anyway to keep it consistent. Patch attached with submission follows: --- .zfs/snapshot/2011-06-25c/graphics/ecore-evas/Makefile 2010-12-14 08:30:34.000000000 +0100 +++ graphics/ecore-evas/Makefile 2011-06-25 18:22:00.146424685 +0200 @@ -27,7 +27,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_evas INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-evas \ --enable-ecore-input \ --- .zfs/snapshot/2011-06-25c/x11/ecore-x11/Makefile 2011-06-25 05:36:19.000000000 +0200 +++ x11/ecore-x11/Makefile 2011-06-25 18:22:00.182365705 +0200 @@ -28,7 +28,7 @@ INSTALL_WRKSRC= ${BUILD_WRKSRC} XEXTDIR= ${LOCALBASE}/include/X11/extensions -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-x \ --enable-ecore-input --- .zfs/snapshot/2011-06-25c/x11/ecore-input_evas/Makefile 2011-06-25 05:36:19.000000000 +0200 +++ x11/ecore-input_evas/Makefile 2011-06-25 18:22:00.185365947 +0200 @@ -27,7 +27,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_input_evas INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-input \ --enable-ecore-input_evas --- .zfs/snapshot/2011-06-25c/x11/ecore-imf_evas/Makefile 2011-06-25 05:36:18.000000000 +0200 +++ x11/ecore-imf_evas/Makefile 2011-06-25 18:22:00.210388261 +0200 @@ -27,7 +27,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_imf_evas INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-con \ --enable-ecore-config \ --- .zfs/snapshot/2011-06-25c/graphics/ecore-sdl/Makefile 2010-12-14 08:30:34.000000000 +0100 +++ graphics/ecore-sdl/Makefile 2011-06-25 18:22:00.212366236 +0200 @@ -28,7 +28,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_sdl INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-sdl \ --enable-ecore-input --- .zfs/snapshot/2011-06-25c/x11/ecore-input/Makefile 2011-06-25 11:59:16.018123602 +0200 +++ x11/ecore-input/Makefile 2011-06-25 18:25:50.392372005 +0200 @@ -26,7 +26,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_input INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-input --- .zfs/snapshot/2011-06-25c/x11/ecore-imf/Makefile 2011-06-25 05:36:18.000000000 +0200 +++ x11/ecore-imf/Makefile 2011-06-25 18:22:00.214365163 +0200 @@ -26,7 +26,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_imf INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-con \ --enable-ecore-config \ --- .zfs/snapshot/2011-06-25c/net/ecore-con/Makefile 2011-06-25 11:54:47.291077706 +0200 +++ net/ecore-con/Makefile 2011-06-25 18:48:30.369358605 +0200 @@ -26,7 +26,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_con INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../../devel/ecore-main/Makefile.inc> +.include "../../devel/ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-con --- .zfs/snapshot/2011-06-25c/devel/ecore-file/Makefile 2011-06-25 11:50:07.002083225 +0200 +++ devel/ecore-file/Makefile 2011-06-25 18:57:03.019369360 +0200 @@ -26,7 +26,7 @@ BUILD_WRKSRC= ${WRKSRC}/src/lib/ecore_file INSTALL_WRKSRC= ${BUILD_WRKSRC} -.include <../ecore-main/Makefile.inc> +.include "../ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-file --- .zfs/snapshot/2011-06-25c/devel/ecore-ipc/Makefile 2011-06-25 11:50:07.046074081 +0200 +++ devel/ecore-ipc/Makefile 2011-06-25 18:58:06.471369196 +0200 @@ -38,7 +38,7 @@ CONFIGURE_ARGS+= --disable-openssl .endif -.include <../ecore-main/Makefile.inc> +.include "../ecore-main/Makefile.inc" CONFIGURE_ARGS+= --enable-ecore-con \ --enable-ecore-ipc >Release-Note: >Audit-Trail: >Unformatted: