Subject: pkg/17602: Latest changes to "SDL" package break many other packages
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 07/15/2002 13:47:36
>Number:         17602
>Category:       pkg
>Synopsis:       Latest changes to "SDL" package break many other packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 15 04:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6_BETA4 / NetBSD 1.6D
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6_BETA4 NetBSD 1.6_BETA4 (COLWYN) #0: Sun Jul 14 14:37:54 CEST 2002 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386

System: NetBSD lyssa.zhadum.de 1.6D NetBSD 1.6D (LYSSA) #0: Mon Jul 15 08:30:30 CEST 2002     tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
The recent changes to the "SDL" package break complilation of multiple
packages:

pkgsrc/devel/SDL:
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /src/NetBSD-current/pkgsrc/devel/SDL_ttf/work/.buildlink/bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!


pkgsrc/graphics/apla:
checking for SDL - version >= 1.1.3... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/sdl-config
configure: error: Could not find SDL >= 1.1.3!


pkgsrc/graphics/avifile-devel:
checking for SDL - version >= 1.1.3... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/bin/sdl-config
configure: error: Could not find SDL >= 1.1.3!
*** Error code 1


The problems seems to be caused by unresolved symbols in "libSDL". From
the "config.log" of "avifile-devel":

configure:6485: cc -o conftest -I/src/NetBSD-current/pkgsrc/graphics/avifile-dev
el/work/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include  -pipe  -I/src
/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include -I/src/Net
BSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include/SDL -D_REENTRA
NT -I/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/include  
-I/usr/pkg/share/x11-links/include  -Wall -Wno-unused -L/src/NetBSD-current/pkgs
rc/graphics/avifile-devel/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -W
l,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftest.c  -L/src/NetBSD-current/pkgsrc/g
raphics/avifile-devel/work/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg
/lib -Wl,-rpath,/lib -lSDL -lpthread -L/src/NetBSD-current/pkgsrc/graphics/avifi
le-devel/work/.buildlink/lib -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib
 -Wl,-R/usr/pkg/lib -lm -L/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work
/.buildlink/lib -Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -lossaudio -L/usr/pkg/s
hare/x11-links/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama -laa -lusbh
id 1>&5
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:
 undefined reference to `SDL_SYS_JoystickUpdate'
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:
 undefined reference to `SDL_SYS_JoystickOpen'
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:
 undefined reference to `SDL_SYS_JoystickQuit'
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:
 undefined reference to `SDL_SYS_JoystickName'
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:
 undefined reference to `SDL_SYS_JoystickInit'
/src/NetBSD-current/pkgsrc/graphics/avifile-devel/work/.buildlink/lib/libSDL.so:

>How-To-Repeat:
cd /usr/pkgsrc/devel/SDL_ttf
make

>Fix:
Backout changes to "SDL" package.

>Release-Note:
>Audit-Trail:
>Unformatted: