pkgsrc-Bugs archive

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

pkg/40593: xine-lib build fails on netbsd-3



>Number:         40593
>Category:       pkg
>Synopsis:       xine-lib build fails on netbsd-3
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 09 18:10:00 +0000 2009
>Originator:     Bernd Ernesti
>Release:        NetBSD 3.99.18
>Organization:
>Environment:
System: NetBSD 3.99.18
Architecture: i386
Machine: i386
>Description:
        The upgrade to 1.1.16.1 cause the build to fail.
        It worked fine with 1.1.15nb2.

        The 1.1.16.1 build uses -Wl,--no-undefined as an additional option.

With 1.1.16.1:
cc -shared  .libs/xineplug_decode_ff_la-ffmpeg_decoder.o 
.libs/xineplug_decode_ff_la-ff_audio_decoder.o 
.libs/xineplug_decode_ff_la-ff_video_decoder.o 
.libs/xineplug_decode_ff_la-ff_mpeg_parser.o -Wl,--whole-archive 
../../../src/libffmpeg/libavcodec/.libs/libavcodec.a 
../../../src/libffmpeg/libavutil/.libs/libavutil.a 
../../../src/libffmpeg/libavcodec/libpostproc/.libs/libpostprocess.a 
-Wl,--no-whole-archive  -Wl,--rpath 
-Wl,/pkgsrc/multimedia/xine-lib/work.i386/xine-lib-1.1.16.1/src/xine-engine/.libs
 -Wl,--rpath -Wl,/usr/pkg/lib 
-L/pkgsrc/multimedia/xine-lib/work.i386/.buildlink/lib 
-L/pkgsrc/multimedia/xine-lib/work.i386/.x11-buildlink/lib 
../../../src/xine-engine/.libs/libxine.so -lm -lz -lintl  -mcpu=i386 
-Wl,--no-undefined -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -pthread -Wl,-soname 
-Wl,xineplug_decode_ff.so -o .libs/xineplug_decode_ff.so
.libs/xineplug_decode_ff_la-ff_audio_decoder.o: In function 
`ff_audio_ensure_buffer_size':
ff_audio_decoder.c:(.text+0x6e): undefined reference to `realloc'
.libs/xineplug_decode_ff_la-ff_audio_decoder.o: In function 
`ff_audio_decode_data':
ff_audio_decoder.c:(.text+0x44a): undefined reference to `memmove'
ff_audio_decoder.c:(.text+0x4dc): undefined reference to `malloc'
ff_audio_decoder.c:(.text+0x4fb): undefined reference to `memcpy'
ff_audio_decoder.c:(.text+0x531): undefined reference to `memcpy'
ff_audio_decoder.c:(.text+0x60e): undefined reference to `malloc'
ff_audio_decoder.c:(.text+0x62f): undefined reference to `memcpy'
ff_audio_decoder.c:(.text+0x69b): undefined reference to `calloc'
ff_audio_decoder.c:(.text+0x80e): undefined reference to `malloc'
ff_audio_decoder.c:(.text+0x8fc): undefined reference to `malloc'
.libs/xineplug_decode_ff_la-ff_audio_decoder.o: In function `ff_audio_dispose':

With 1.1.15nb2:
cc -shared  .libs/xineplug_decode_ff_la-ffmpeg_decoder.o 
.libs/xineplug_decode_ff_la-ff_audio_decoder.o 
.libs/xineplug_decode_ff_la-ff_video_decoder.o 
.libs/xineplug_decode_ff_la-ff_mpeg_parser.o -Wl,--whole-archive 
../../../src/libffmpeg/libavcodec/.libs/libavcodec.a 
../../../src/libffmpeg/libavutil/.libs/libavutil.a 
../../../src/libffmpeg/libavcodec/libpostproc/.libs/libpostprocess.a 
-Wl,--no-whole-archive  -Wl,--rpath 
-Wl,/pkgsrc/multimedia/xine-lib/work.i386/xine-lib-1.1.15/src/xine-engine/.libs 
-Wl,--rpath -Wl,/usr/pkg/lib 
-L/pkgsrc/multimedia/xine-lib/work.i386/.buildlink/lib 
-L/pkgsrc/multimedia/xine-lib/work.i386/.x11-buildlink/lib 
../../../src/xine-engine/.libs/libxine.so -lm -lz -lintl  -mcpu=i386 
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -pthread -Wl,-soname 
-Wl,xineplug_decode_ff.so -o .libs/xineplug_decode_ff.so

>How-To-Repeat:
        cd pkgsrc/multimedia/xine-lib
        make
>Fix:



Home | Main Index | Thread Index | Old Index