Package: libavg
Version: 0.8.0-3
Severity: important

Trying to build libavg on Ubuntu Jaunty, I've encountered the following error:


mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../../src/video -I../../src -I.. 
-I/usr/include/GraphicsMagick -pthread -Wno-invalid-offsetof -g -O2 -MT 
FFMpegDemuxer.lo -MD -MP -MF .deps/FFMpegDemuxer.Tpo -c 
../../../src/video/FFMpegDemuxer.cpp  -fPIC -DPIC -o .libs/FFMpegDemuxer.o
mv -f .deps/FFMpegDemuxer.Tpo .deps/FFMpegDemuxer.Plo
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../src/video -I../../src -I.. -I/usr/include/GraphicsMagick   -pthread  
       -Wno-invalid-offsetof -g -O2 -MT VideoDemuxerThread.lo -MD -MP -MF 
.deps/VideoDemuxerThread.Tpo -c -o VideoDemuxerThread.lo 
../../../src/video/VideoDemuxerThread.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../src/video -I../../src -I.. 
-I/usr/include/GraphicsMagick -pthread -Wno-invalid-offsetof -g -O2 -MT 
VideoDemuxerThread.lo -MD -MP -MF .deps/VideoDemuxerThread.Tpo -c 
../../../src/video/VideoDemuxerThread.cpp  -fPIC -DPIC -o 
.libs/VideoDemuxerThread.o
mv -f .deps/VideoDemuxerThread.Tpo .deps/VideoDemuxerThread.Plo
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../src/video -I../../src -I.. -I/usr/include/GraphicsMagick   -pthread  
       -Wno-invalid-offsetof -g -O2 -MT FFMpegDecoder.lo -MD -MP -MF 
.deps/FFMpegDecoder.Tpo -c -o FFMpegDecoder.lo 
../../../src/video/FFMpegDecoder.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../src/video -I../../src -I.. 
-I/usr/include/GraphicsMagick -pthread -Wno-invalid-offsetof -g -O2 -MT 
FFMpegDecoder.lo -MD -MP -MF .deps/FFMpegDecoder.Tpo -c 
../../../src/video/FFMpegDecoder.cpp  -fPIC -DPIC -o .libs/FFMpegDecoder.o
../../../src/video/FFMpegDecoder.cpp: In member function 'void 
avg::FFMpegDecoder::resampleAudio()':
../../../src/video/FFMpegDecoder.cpp:604: warning: 'ReSampleContext* 
audio_resample_init(int, int, int, int)' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:2556)
../../../src/video/FFMpegDecoder.cpp:606: warning: 'ReSampleContext* 
audio_resample_init(int, int, int, int)' is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:2556)
../../../src/video/FFMpegDecoder.cpp: In member function 'void 
avg::FFMpegDecoder::convertFrameToBmp(AVFrame&, avg::BitmapPtr)':
../../../src/video/FFMpegDecoder.cpp:826: error: invalid conversion from 'int' 
to 'PixelFormat'
../../../src/video/FFMpegDecoder.cpp:826: error:   initializing argument 6 of 
'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, 
SwsFilter*, SwsFilter*, double*)'
make[4]: *** [FFMpegDecoder.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/libavg-0.8.0/build2.6/src/video'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/libavg-0.8.0/build2.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/libavg-0.8.0/build2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/libavg-0.8.0/build2.6'
make: *** [debian/stamp-build2.6] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env -> removing directory /home/debomatic/incoming/jaunty/build/21140 and its subdirectories


-- System Information:
Debian Release: lenny/sid
 APT prefers intrepid-updates
 APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid-backports'), (500, 'intrepid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-11-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--
Alessio Treglia <[email protected]>
Ubuntu MOTU Developer | Homepage: http://www.alessiotreglia.com
0FEC 59A5 E18E E04F 6D40  593B 45D4 8C7C DCFC 3FD0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to