Bug#564976: dirac: ftbfs with gcc-4.5

Matthias Klose doko at debian.org
Wed Jan 13 01:04:05 UTC 2010


Package: dirac
Version: 1.0.2-2
Severity: normal
Tags: sid
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.5

The package fails to build in a test rebuild on at least amd64 with
gcc-4.5/g++-4.5, but succeeds to build with gcc-4.4/g++-4.4.
For the compiler version used, see:
http://lists.debian.org/debian-devel/2010/01/msg00230.html

The full build log can be found at:
http://people.debian.org/~lucas/logs/2010/01/08b/dirac_1.0.2-2_lsid64b.buildlog
The last lines of the build log are cwat the end of this report.

The reason of the build failure is likely in the package (compiler or
linker message found in the build log), if this turns out as a gcc bug,
please reassign to the gcc-4.5 package. If the build ends with a
message "confused by earlier errors, bailing out", please
ignore it for now; these compiler errors are filed separately.


[...]
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c downconvert_mmx.cpp -o libdirac_motionest_la-downconvert_mmx.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX   --mode=link g++  -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe  -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX   -o libdirac_motionest.la   libdirac_motionest_la-block_match.lo libdirac_motionest_la-downconvert.lo libdirac_motionest_la-me_mode_decn.lo libdirac_motionest_la-me_subpel.lo libdirac_motionest_la-me_utils.lo libdirac_motionest_la-pixel_match.lo libdirac_motionest_la-me_utils_mmx.lo libdirac_motionest_la-downconvert_mmx.lo  
libtool: link: ar cru .libs/libdirac_motionest.a .libs/libdirac_motionest_la-block_match.o .libs/libdirac_motionest_la-downconvert.o .libs/libdirac_motionest_la-me_mode_decn.o .libs/libdirac_motionest_la-me_subpel.o .libs/libdirac_motionest_la-me_utils.o .libs/libdirac_motionest_la-pixel_match.o .libs/libdirac_motionest_la-me_utils_mmx.o .libs/libdirac_motionest_la-downconvert_mmx.o 
libtool: link: ranlib .libs/libdirac_motionest.a
libtool: link: ( cd ".libs" && rm -f "libdirac_motionest.la" && ln -s "../libdirac_motionest.la" "libdirac_motionest.la" )
make[2]: Leaving directory `/build/user-dirac_1.0.2-2-amd64-hIzE9W/dirac-1.0.2/libdirac_motionest'
Making all in libdirac_encoder
make[2]: Entering directory `/build/user-dirac_1.0.2-2-amd64-hIzE9W/dirac-1.0.2/libdirac_encoder'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I..    -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe  -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c -o libdirac_encoder_la-comp_compress.lo `test -f 'comp_compress.cpp' || echo './'`comp_compress.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c comp_compress.cpp  -fPIC -DPIC -o .libs/libdirac_encoder_la-comp_compress.o
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c comp_compress.cpp -o libdirac_encoder_la-comp_compress.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I..    -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe  -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c -o libdirac_encoder_la-picture_compress.lo `test -f 'picture_compress.cpp' || echo './'`picture_compress.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c picture_compress.cpp  -fPIC -DPIC -o .libs/libdirac_encoder_la-picture_compress.o
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c picture_compress.cpp -o libdirac_encoder_la-picture_compress.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I..    -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe  -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c -o libdirac_encoder_la-quality_monitor.lo `test -f 'quality_monitor.cpp' || echo './'`quality_monitor.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c quality_monitor.cpp  -fPIC -DPIC -o .libs/libdirac_encoder_la-quality_monitor.o
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c quality_monitor.cpp -o libdirac_encoder_la-quality_monitor.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I..    -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe  -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c -o libdirac_encoder_la-quant_chooser.lo `test -f 'quant_chooser.cpp' || echo './'`quant_chooser.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I. -I.. -O3 -Wuninitialized -fexpensive-optimizations -frerun-cse-after-loop -frerun-loop-opt -fomit-frame-pointer -minline-all-stringops -fschedule-insns2 -falign-functions=4 -fforce-addr -pipe -g -pedantic -Wall -Werror -W -Woverloaded-virtual -Wextra -g -O2 -mmmx -DHAVE_MMX -c quant_chooser.cpp  -fPIC -DPIC -o .libs/libdirac_encoder_la-quant_chooser.o
quant_chooser.cpp: In member function 'void dirac::QuantChooser::SetSkip(dirac::CodeBlock&, int)':
quant_chooser.cpp:343:49: error: invalid operands of types '__gnu_cxx::__enable_if<true, double>::__type' and 'int' to binary 'operator<<'
quant_chooser.cpp: In member function 'dirac::CoeffType dirac::QuantChooser::BlockAbsMax(const dirac::Subband&)':
quant_chooser.cpp:358:64: error: no matching function for call to 'max(int&, __gnu_cxx::__enable_if<true, double>::__type)'
make[2]: *** [libdirac_encoder_la-quant_chooser.lo] Error 1
make[2]: Leaving directory `/build/user-dirac_1.0.2-2-amd64-hIzE9W/dirac-1.0.2/libdirac_encoder'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/user-dirac_1.0.2-2-amd64-hIzE9W/dirac-1.0.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the pkg-multimedia-maintainers mailing list