Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2009 12:12:33 GMT
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139057: sysutils/conky: build error when WITH_BMPX is used
Message-ID:  <200909221212.n8MCCXZ0053331@www.freebsd.org>
Resent-Message-ID: <200909221220.n8MCK1jc001290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909221212.n8MCCXZ0053331>