pkgsrc-Bugs archive

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

Re: pkg/45485: wm/fluxbox fails on build



The following reply was made to PR pkg/45485; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45485: wm/fluxbox fails on build
Date: Tue, 18 Oct 2011 17:30:21 -0400

 On Tue, 18 Oct 2011 16:20:04 +0000 (UTC)
 diro%nixsyspaus.org@localhost wrote:
 
 > c++  -O2 -I/usr/pkg/include  -I/usr/X11R7/include    -L/usr/pkg/lib 
 > -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib  -liconv -liconv  
 > -L/usr/X11R7/lib -R/usr/X11R7/lib  -lSM -lICE -o fbrun FbRun.o main.o 
 > ../../src/FbTk/libFbTk.a -liconv -liconv  -L/usr/X11R7/lib -R/usr/X11R7/lib 
 > -lX11  -lXext  -lXrender -lXpm -lXrandr -lXinerama
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `find_display':
 > Xinerama.c:(.text+0x2d): undefined reference to `XextFindDisplay'
 > Xinerama.c:(.text+0x5a): undefined reference to `XextAddDisplay'
 > Xinerama.c:(.text+0x67): undefined reference to `XextCreateExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `XineramaQueryScreens':
 > Xinerama.c:(.text+0x1d7): undefined reference to `XMissingExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `XPanoramiXGetScreenSize':
 > Xinerama.c:(.text+0x457): undefined reference to `XMissingExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `XPanoramiXGetScreenCount':
 > Xinerama.c:(.text+0x57f): undefined reference to `XMissingExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `XPanoramiXGetState':
 > Xinerama.c:(.text+0x6a7): undefined reference to `XMissingExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `XPanoramiXQueryVersion':
 > Xinerama.c:(.text+0x7d3): undefined reference to `XMissingExtension'
 > /usr/pkgsrc/wm/fluxbox/work/.buildlink/lib/libXinerama.a(Xinerama.o): In 
 > function `close_display':
 > Xinerama.c:(.text+0x863): undefined reference to `XextRemoveDisplay'
 
 Various packages you report as failing in pkgsrc-2011Q3 have built
 successfully on netbsd-5 for me (more recent than 5.0.1), using native
 X11.
 
 Does the .buildlink indeed point to /usr/X11R7/ and not /usr/pkg/ ?
 
 Also, does nm(1) on /usr/X11R7/lib/libXinerama.so
 and /usr/X11R7/lib/libXext.so show the expected symbols?
 
 I also see that the /usr/pkg/lib/ path is being provided before
 the /usr/X11R7/lib/ one for -L, is there a duplicate library
 under /usr/pkg/lib/ that should normally only be in /usr/X11R7/lib/ when
 using native-X11?
 
 Is it possible that in your shell profile scripts or mk.conf some
 variables that should only be appended to, such as COPTS, CFLAGS,
 LDFLAGS, are being reset rather than appended to?  This has caused me
 various unexpected problems in the past.
 
 Thanks,
 -- 
 Matt
 


Home | Main Index | Thread Index | Old Index