pkgsrc-Bugs archive

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

pkg/45566: CUPS build fails with kerberos support

>Number:         45566
>Category:       pkg
>Synopsis:       CUPS build fails with kerberos support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 04 15:05:00 +0000 2011
>Originator:     Frédéric Fauberteau
>Release:        5.1.0_PATCH
NetBSD trashware 5.1.0_PATCH NetBSD 5.1.0_PATCH (TRASHWARE) #1: Sam oct 15 
11:08:36 CEST 2011  root@trashware:/usr/src/sys/arch/i386/compile/TRASHWARE i386
Since I have installed heimdal, cups build fails when the kerberos support is 

The build fails at this line :
Linking bannertops...
libtool: link: cc -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -fPIE -pie -Wall 
-Wno-format-y2k -fPIC -Os -g -o .libs/bannertops bannertops.o pstext.o common.o 
/usr/pkgsrc/print/cups/work/.buildlink/lib/ -lc 
../cups/.libs/ -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lasn1 
-lwind -lroken -lz -lssl -lcrypto -ldns_sd -lm -lcrypt -Wl,-rpath 
-Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkgsrc/p
ld: cannot find -lwind
gmake[1]: *** [bannertops] Error 1

I don't understand how the package is build because the Makefile which is 
supposed to be used to generate this compilation line is not. I have manually 
added -L/usr/pkg/lib to the rule bannertops.o in filter/Makefile whithout any 

One another surprising thing in config.log:
configure:8758: cc -o conftest -I/usr/pkg/include/krb5  -O2 -mtune=pentium 
-mfpmath=sse -msse3 -march=nocona -I/usr/pkg/include -I/usr/X11R7/include 
-I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE 
-I/usr/pkg/include/krb5  -I/usr/pkg/include -I/usr/X11R7/include 
-I/usr/include/krb5 -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lm 
-lcrypt  -L/usr/pkg/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto 
-lasn1 -lwind -lroken -lcrypt >&5
ld: cannot find -lwind

But cc -L/usr/pkg/lib -lwind in my term does not produce ld error:
trashware# cc -L/usr/pkg/lib -lwind
/usr/lib/crt0.o: In function `___start':
: undefined reference to `main'
Install security/heimdal
Install print/cups with kerberos support activated (default)
No idea to patch yet...

Home | Main Index | Thread Index | Old Index