Bug#761757: handbrake: libtool split: package needs a b-d on libtool-bin (or avoid using the libtool binary)
Matthias Klose
doko at debian.org
Mon Sep 15 23:41:45 UTC 2014
Package: src:handbrake
Version: 0.9.9+svn6032+dfsg1-2
Severity: wishlist
User: debian-cross at lists.debian.org
Usertags: libtool-split
As part of the effort to cross-build the archive, the libtool package
needs a split into an architecture independent part and an
architecture dpendent part (the latter only consisting of the libtool
binary). The split is already done for jessie/sid, but to enable the
cross buildability, the dependency in libtool on libtool-bin needs to
be removed, and libtool-bin needs to depend on libtool instead.
The vast majority of packages using libtool via automake don't need
the libtool binary, and thus no changes in the build dependencies, however
about 60 source packages are using libtool directly, and need changes.
- some packages just check for the libtool binary, and then don't
use it for the build (but are using libtoolize instead). Such
usages are seen in a script called buildcheck.sh, and sometimes
in autogen.sh scripts. The solution for these cases is to patch
these scripts to check for libtoolize instead of libtool, and
not to introduce the new build dependency.
- other packages just need the additional build dependency on
libtool-bin.
To test your packages with the libtool-bin package removed, please use
the binaries found at
deb https://people.debian.org/~doko/tmp/20140820 ./
It is not clear, if all of these changes can be done in time for
the jessie release, but it would be nice to have to be able to
cross-build more packages in jessie.
For questions and help please email the debian-cross ML.
For additional pointers please see
https://lists.debian.org/debian-devel-announce/2014/08/msg00013.html
and some discussion in the orignal issue filed for libtool (#682045).
The full build log can be found at:
http://people.debian.org/~doko/logs/20140912/failed-libtool/handbrake_0.9.9+svn6032+dfsg1-2_unstable_jdk-libtool.log
The last lines of the build log are at the end of this report.
[...]
../libhb/encavcodec.c: In function 'encavcodecInit':
../libhb/encavcodec.c:241:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread( log, size, 1, pv->file );
^
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/hb_dict.c -o libhb/hb_dict.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/update.c -o libhb/update.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/decutf8sub.c -o libhb/decutf8sub.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/dvdnav.c -o libhb/dvdnav.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/muxcommon.c -o libhb/muxcommon.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/stream.c -o libhb/stream.o
../libhb/stream.c: In function 'hb_ps_read_packet':
../libhb/stream.c:3264:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread( cp+pos, 1, 8, stream->file_handle );
^
../libhb/stream.c:3271:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread( cp+pos, 1, 2, stream->file_handle );
^
../libhb/stream.c:3274:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread( cp+pos, 1, len, stream->file_handle );
^
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/encfaac.c -o libhb/encfaac.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/eedi2.c -o libhb/eedi2.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/dxva2api.c -o libhb/dxva2api.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/work.c -o libhb/work.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/detelecine.c -o libhb/detelecine.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/oclscale.c -o libhb/oclscale.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/deinterlace.c -o libhb/deinterlace.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/reader.c -o libhb/reader.o
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSE_LIBAV_AAC -DUSE_AVFORMAT -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARCH_X86_64 -I./libhb/ -I./contrib/include -c ../libhb/decavcodec.c -o libhb/decavcodec.o
/usr/bin/ar rsu libhb/libhandbrake.a libhb/qsv_filter_pp.o libhb/oclnv12toyuv.o libhb/audio_resample.o libhb/common.o libhb/qsv_memory.o libhb/hb.o libhb/batch.o libhb/bd.o libhb/dectx3gsub.o libhb/vfr.o libhb/deca52.o libhb/enclame.o libhb/qsv_common.o libhb/encavcodecaudio.o libhb/encx265.o libhb/encvorbis.o libhb/deblock.o libhb/deccc608sub.o libhb/openclwrapper.o libhb/rendersub.o libhb/declpcm.o libhb/decsrtsub.o libhb/enc_qsv.o libhb/fifo.o libhb/ports.o libhb/dvd.o libhb/taskset.o libhb/demuxmpeg.o libhb/muxavformat.o libhb/encvobsub.o libhb/decpgssub.o libhb/sync.o libhb/vadxva2.o libhb/decomb.o libhb/rotate.o libhb/audio_remap.o libhb/enctheora.o libhb/muxmp4.o libhb/decssasub.o libhb/muxmkv.o libhb/opencl.o libhb/scan.o libhb/qsv_filter.o libhb/denoise.o libhb/cropscale.o libhb/lang.o libhb/encx264.o libhb/decvobsub.o libhb/decmetadata.o libhb/encavcodec.o libhb/hb_dict.o libhb/update.o libhb/decutf8sub.o libhb/dvdnav.o libhb/muxcommon.o libhb/stream.o libhb/encfaac.o libhb/eedi2.o libhb/dxva2api.o libhb/work.o libhb/detelecine.o libhb/oclscale.o libhb/deinterlace.o libhb/reader.o libhb/decavcodec.o
/usr/bin/ar: creating libhb/libhandbrake.a
/bin/mkdir -p test/
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I./libhb/ -I./contrib/include -c ../test/test.c -o test/test.o
../test/test.c: In function 'HandleEvents':
../test/test.c:1963:21: warning: implicit declaration of function 'hb_error' [-Wimplicit-function-declaration]
hb_error("incompatible video encoder '%s' for muxer '%s'",
^
/usr/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I./libhb/ -I./contrib/include -c ../test/parsecsv.c -o test/parsecsv.o
/usr/bin/g++ -pipe -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fmessage-length=0 -Wall -g2 -O3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I./libhb/ -I./contrib/include -o HandBrakeCLI -Wl,--start-group test/test.o test/parsecsv.o ./libhb/libhandbrake.a -la52 -lass -lavcodec -lavformat -lavutil -lavresample -ldvdnav -ldvdread -lfontconfig -lmp3lame -logg -lsamplerate -lswscale -ltheoraenc -ltheoradec -lvorbis -lvorbisenc -lx264 -lbluray -lfreetype -lxml2 -lbz2 -lz -lpthread -ldl -lm -Wl,--end-group
/bin/mkdir -p gtk/
set -e; cd ../gtk/; NOCONFIGURE=1 ./autogen.sh
**Error**: You must have `libtool' installed.
You can get it from: ftp://ftp.gnu.org/pub/gnu/
make[1]: *** [gtk/.stamp.configure] Error 1
../gtk/module.rules:15: recipe for target 'gtk/.stamp.configure' failed
make[1]: Leaving directory '/«BUILDDIR»/handbrake-0.9.9+svn6032+dfsg1/build'
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