Subject: pkg/14912: graphics/plasma does not configure with xpkgwedge
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 12/11/2001 13:56:09
>Number: 14912
>Category: pkg
>Synopsis: graphics/plasma does not configure with xpkgwedge
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 11 00:02:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Robert Elz
>Release: NetBSD 1.5Y 20011126 (pkgsrc 20011209)
>Organization:
Prince of Songkla University
>Environment:
<The following information is extracted from your kernel. Please>
<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD fuchsia 1.5Y NetBSD 1.5Y (FUCHSIA) #2: Mon Nov 26 13:41:27 ICT 2001 kre@fuchsia:/usr/obj/sys/FUCHSIA i386
Architecture: i386
Machine: i386
>Description:
graphics/plasma does not configure with xpkgwedge
Note: this looks to be a very similar problem to that reported in
the PR pkg/14833
>How-To-Repeat:
cd pkgsrc/pkgtools/xpkgwedge
make install
cd ../../graphics/plasma
make
Wait for ...
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -I/usr/obj/pkg/graphics/plasma/work.i386/.bu
ildlink/include -O2 -L/usr/obj/pkg/graphics/plasma/work.i386/.buildlink/lib -Wl
,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/usr/obj/pkg/graphics/plasma/work.i386/.bu
ildlink/include -O2 -L/usr/obj/pkg/graphics/plasma/work.i386/.buildlink/lib -Wl
,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for sdl-config... /usr/obj/pkg/graphics/plasma/work.i386/.buildlink/bin
/sdl-config
checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!
*** Error code 1
Stop.
make: stopped in /usr/src/pkgsrc/graphics/plasma
*** Error code 1
Just as in pkg/14833, the configure script is creating a
.c file, compiling it, and attempting to run it. The compilation
command used is ...
gcc -o conftest -g -O2 -I/usr/pkg/include -I/usr/pkg/include/SDL -D_REENTRANT conftest.c -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/lib -lSDL -lpthread -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -lossaudio -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga
And just as in pkg/14833 this results in ...
fuchsia# ./conftest
Shared object "libX11.so.6" not found
With:
fuchsia# ldd conftest
conftest:
-lm.0 => /usr/lib/libm387.so.0
-lm.0 => /usr/lib/libm.so.0
-laudiofile.0 => /usr/pkg/lib/libaudiofile.so.0
-lossaudio.0 => /usr/lib/libossaudio.so.0
-lesd.2 => /usr/pkg/lib/libesd.so.2
-lX11.6 => /usr/X11R6/lib/libX11.so.6
-lXext.6 => /usr/X11R6/lib/libXext.so.6
-lSDL.0 => /usr/pkg/lib/libSDL.so.0
-lpthread.14 => /usr/pkg/lib/libpthread.so.14
-lX11.6 => not found
-lXext.6 => not found
-lc.12 => /usr/lib/libc.so.12
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
<Please check that the above is correct for the bug being reported,>
<and append source date of snapshot, if applicable (one line).>