ports/139057: sysutils/conky: build error when WITH_BMPX is used

Herbert J. Skuhra h.skuhra at gmail.com
Tue Sep 22 12:20:02 UTC 2009


>Number:         139057
>Category:       ports
>Synopsis:       sysutils/conky: build error when WITH_BMPX is used
>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:   Tue Sep 22 12:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 8.0-RC1 i386
>Organization:
>Environment:
FreeBSD localhost 8.0-RC1 FreeBSD 8.0-RC1 #0 r197392: Mon Sep 21 21:19:31 CEST 2009     root at localhost:/usr/obj/usr/src/sys/PC1  i386
>Description:
sysutils/conky does not build when WITH_BMPX is defined:

In file included from bmpx.c:30:
conky.h:69:18: error: bmpx.h: No such file or directory
In file included from bmpx.c:30:
conky.h:285: error: field 'bmpx' has incomplete type
bmpx.c: In function 'update_bmpx':
bmpx.c:65: error: 'BMP_DBUS_PATH' undeclared (first use in this function)
bmpx.c:65: error: (Each undeclared identifier is reported only once
bmpx.c:65: error: for each function it appears in.)
bmpx.c:65: error: 'BMP_DBUS_INTERFACE' undeclared (first use in this function)
bmpx.c: In function 'fail':
bmpx.c:129: error: 'current_info' undeclared (first use in this function)
gmake[2]: *** [conky-bmpx.o] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/conky/work/conky-1.7.2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/sysutils/conky/work/conky-1.7.2/src'
gmake: *** [all-recursive] Error 1
*** Error code 1
 
Stop in /usr/ports/sysutils/conky.
*** Error code 1

Stop in /usr/ports/sysutils/conky.


>How-To-Repeat:
cd /usr/ports/sysutils/conky
make -DWITH_BMPX

>Fix:
No idea. I've tried to add the file "bmpx.h" from the project's git repo but the build still breaks with almost the same error.

So for now mark IGNORE, when WITH_BMPX is defined.

Patch attached with submission follows:

--- Makefile.orig	2009-09-22 13:08:06.000000000 +0200
+++ Makefile	2009-09-22 13:55:38.000000000 +0200
@@ -61,6 +61,7 @@
 .endif
 
 .if defined(WITH_BMPX)
+IGNORE=			build error: header file (bmpx.h) missing
 BUILD_DEPENDS+=		beep-media-player-2:${PORTSDIR}/multimedia/bmpx
 RUN_DEPENDS+=		beep-media-player-2:${PORTSDIR}/multimedia/bmpx
 LIB_DEPENDS+=		dbus-1.3:${PORTSDIR}/devel/dbus


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list