Subject: Re: pkg/33813: multimedia/xine-lib - some files in PLIST are not
To: None <gnats-bugs@NetBSD.org>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-bugs
Date: 06/26/2006 11:26:11
On Mon, 26 Jun 2006 00:30:02 +0000 (UTC)
joerg@britannica.bec.de wrote:

> The following reply was made to PR pkg/33813; it has been noted by GNATS.
> 
> From: joerg@britannica.bec.de
> To: gnats-bugs@NetBSD.org
> Cc: 
> Subject: Re: pkg/33813: multimedia/xine-lib - some files in PLIST are not
> present on Solaris 10 Date: Sun, 25 Jun 2006 12:46:50 +0200
> 
>  On Sat, Jun 24, 2006 at 10:30:00AM +0000, raymond.meyer@rambler.ru wrote:
>  > tar: WARNING! These file names were not selected:
>  > lib/xine/plugins/1.0.3/xineplug_vo_out_sdl.a
>  > lib/xine/plugins/1.0.3/xineplug_vo_out_sdl.so
>  > pkg_create: /opt/pkg/bin/tar command failed with code 1
>  > ERROR: (env pkg_create -K pkg: exitcode 2)
>  
>  Please try to find out why the SDL modules are not built, this is
>  typically a problem with the linkage etc. config.log is a starting place
>  to look at.
>  
>  Joerg
>  

From xine-lib config.log:

configure:31909: checking for sdl-config
configure:31927: found /opt/pkg/bin/sdl-config
configure:31940: result: /opt/pkg/bin/sdl-config
configure:31948: checking for SDL - version >= 1.1.5
configure:32038: gcc -o conftest -O3 -mcpu=ultrasparc -mvis -mv8plus -pipe
-I/opt/pkg/include -I/opt/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY
-I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -
DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2
-DGLX_GLXEXT_LEGACY -I/usr/include -I/opt/pkg/include
-L/opt/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5
-Wl,-R/opt/pkg/gcc3/lib/gcc-lib/ sparc-sun-solaris2/3.3.5 -L/opt/pkg/gcc3/lib
-Wl,-R/opt/pkg/gcc3/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib -L/opt/pkg/lib
conftest.c  -L/opt/pkg/li b -R/opt/pkg/lib -lSDL -lpthread -lposix4 >&5
Undefined                       first referenced
symbol                             in file
libiconv_close                      /opt/pkg.obj/multimedia/xine-lib/work.ultra10-lan/.buildlink/lib/libSDL.so
libiconv_open                       /opt/pkg.obj/multimedia/xine-lib/work.ultra10-lan/.buildlink/lib/libSDL.so
libiconv                            /opt/pkg.obj/multimedia/xine-lib/work.ultra10-lan/.buildlink/lib/libSDL.so
ld: fatal: Symbol referencing errors. No output written to conftest collect2:
ld returned 1 exit status configure:32041: $? = 1 configure: program exited
with status 1

Could this be a problem? I think the compiler command above is missing -liconv
argument. What's the proper way of fixing this?