ports/158609: Various ecore-related ports fail to work if WRKDIRPREFIX is modified

Fabian Keil fk at fabiankeil.de
Sun Jul 3 13:00:22 UTC 2011


>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 at 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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list