pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33275: gphoto2 fails to build



>Number:         33275
>Category:       pkg
>Synopsis:       gphoto2 problem with libcdk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 17 09:40:00 +0000 2006
>Originator:     Bernd Ernesti
>Release:        NetBSD 3.99.18
>Organization:
        
>Environment:
System: NetBSD 3.99.16
Architecture: i386
Machine: i386
>Description:
        The gphoto2 packages tries to pull in devel/cdk as a 'new'
        dependency and this cause a link error:

cc  -O2 -I/usr/pkg/include -I/usr/include -g -Wall -Wmissing-declarations 
-Wmissing-prototypes -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -g -Wall -o gphoto2  
gphoto2-cmd-capture.o  gphoto2-cmd-config.o  actions.o foreach.o  gp-params.o 
main.o  version.o range.o shell.o -L/usr/pkg/lib -lcdk -lncurses -L/usr/pkg/lib 
-laa -lm -L/usr/X11R6/lib -lX11 -ljpeg -lpthread                    
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lexif -lm /usr/lib/libintl.so  
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgphoto2 -lgphoto2_port -lm -lpopt -lgphoto2
/pkgsrc/graphics/gphoto2/work.i386/.buildlink/lib/libcdk.so: undefined 
reference to `acs_map'
*** Error code 1
Stop.
make: stopped in /pkgsrc/graphics/gphoto2/work.i386/gphoto2-2.1.6/gphoto2

        An older build doesn't add the cdk package as a dendency.
        My guess is that something in the latest buildlink or builtin changes
        for devel/cdk breaks, so it thinks that the NetBSD libcdk is not good
        enough anymore.

        Hmm, from the configure output:
checking cdk/cdk.h usability... yes
checking cdk/cdk.h presence... yes
checking for cdk/cdk.h... yes
checking for newCDKFScale in -lcdk... no

        and config.log:
configure:10803: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include -g -Wall 
-Wmissing-declarations -Wmissing-prototypes -I/usr/pkg/include 
-I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -lcdk -lncurses conftest.c 
-lcdk  -lgphoto2  >&5
/tmp/ccuL5Nni.o: In function `main':
/pkgsrc/graphics/gphoto2/work.i386/gphoto2-2.1.6/conftest.c:93: undefined 
reference to `newCDKFScale'
/pkgsrc/graphics/gphoto2/work.i386/.buildlink/lib/libcdk.so: undefined 
reference to `acs_map'

>How-To-Repeat:
        cd pkgsrc/graphics/gphoto2
        make
>Fix:




Home | Main Index | Thread Index | Old Index