Package: ffmpeg Severity: normal Tags: patch What you expected to happen: ============================ Build of latest FFmpeg package from sources should succeed
What happened instead: ===================== Build of package faild with: Error message: "/bin/cp: Argument list too long" at the command: Faild command: [ ! -d doxy ] || cp doxy/html/* debian/tmp/opt/multilab/share/doc/ffmpeg-doc/html See also: ====== Ubuntu Launchpad bug (LP #734331 was already fix) at -https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/734331 A short patch (also attached): ============================== diff -u old/ffmpeg-0.6.1/debian/rules new/ffmpeg-0.6.1/debian/rules --- old/ffmpeg-0.6.1/debian/rules 2011-03-17 15:20:55.084452296 +0200 +++ new/ffmpeg-0.6.1/debian/rules 2011-03-17 15:22:43.912452254 +0200 @@ -91,7 +91,7 @@ $(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor))) install -m 644 -D debian-shared/doc/*.html debian/tmp/usr/share/doc/ffmpeg/html/ # don't fail on binary-indep only builds. - [ ! -d doxy ] || cp doxy/html/* debian/tmp/usr/share/doc/ffmpeg-doc/html + [ ! -d doxy ] || tar -C doxy -cf - html | tar -C debian/tmp/usr/share/doc/ffmpeg-doc -xf - install -m 644 -D doc/ffserver.conf debian/tmp/etc/ install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart dh_install -Xusr/share/doc/ffmpeg-doc -Xusr/share/doc/ffmpeg \ -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-29-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- old/ffmpeg-0.6.1/debian/rules 2011-03-17 15:20:55.084452296 +0200 +++ new/ffmpeg-0.6.1/debian/rules 2011-03-17 15:22:43.912452254 +0200 @@ -91,7 +91,7 @@ $(foreach flavor,$(FLAVORS),$(call install_flavor,$(flavor))) install -m 644 -D debian-shared/doc/*.html debian/tmp/usr/share/doc/ffmpeg/html/ # don't fail on binary-indep only builds. - [ ! -d doxy ] || cp doxy/html/* debian/tmp/usr/share/doc/ffmpeg-doc/html + [ ! -d doxy ] || tar -C doxy -cf - html | tar -C debian/tmp/usr/share/doc/ffmpeg-doc -xf - install -m 644 -D doc/ffserver.conf debian/tmp/etc/ install -m 644 -D debian-shared/tools/qt-faststart debian/tmp/usr/bin/qt-faststart dh_install -Xusr/share/doc/ffmpeg-doc -Xusr/share/doc/ffmpeg \

