Bug#667308: oggvideotools: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 23:11:22 UTC 2012
Package: oggvideotools
Version: 0.8-1
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7
The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.
oggDump.cpp:75:46: error: 'getopt' was not declared in this scope
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/oggvideotools_0.8-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.
Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html
To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
[...]
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o streamExtractor.o streamExtractor.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o streamParameter.o streamParameter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o streamMux.o streamMux.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o bufferRepository.o bufferRepository.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o oggComment.o oggComment.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o theoraPosInterpreter.o theoraPosInterpreter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o theoraStreamParameter.o theoraStreamParameter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o theoraExtractor.o theoraExtractor.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o vorbisPosInterpreter.o vorbisPosInterpreter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o vorbisStreamParameter.o vorbisStreamParameter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o vorbisExtractor.o vorbisExtractor.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o katePosInterpreter.o katePosInterpreter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o kateStreamParameter.o kateStreamParameter.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o kateExtractor.o kateExtractor.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o oggSplit.o oggSplit.cpp
g++ -g -O2 -D_FILE_OFFSET_BITS=64 -o oggSplit mediaUnit.o mediaRepository.o fileRepository.o rawMediaPacket.o mediaDecoder.o mediaEncoder.o mediaConverter.o oggDecoder.o oggStreamDecoder.o oggPage.o oggPacket.o ringbuffer.o oggRingbuffer.o crc.o granulePosInterpreter.o mediaOutputDecoder.o mediaInputEncoder.o streamSerializer.o oggBOSExtractorFactory.o oggStreamEncoder.o oggEncoder.o streamExtractor.o streamParameter.o streamMux.o bufferRepository.o oggComment.o theoraPosInterpreter.o theoraStreamParameter.o theoraExtractor.o vorbisPosInterpreter.o vorbisStreamParameter.o vorbisExtractor.o katePosInterpreter.o kateStreamParameter.o kateExtractor.o oggSplit.o
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -D_FILE_OFFSET_BITS=64 -c -o oggDump.o oggDump.cpp
oggDump.cpp: In function 'int main(int, char**)':
oggDump.cpp:75:46: error: 'getopt' was not declared in this scope
oggDump.cpp:96:33: error: 'optarg' was not declared in this scope
oggDump.cpp:105:11: error: 'optind' was not declared in this scope
make[3]: *** [oggDump.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the pkg-xiph-maint
mailing list