Bug#618679: ffmpeg (armel): debian/rules /bin/cp of doxy documentation fail with: "Argument list too long"

Gal Shalif gal at shalif.com
Thu Mar 17 14:30:54 UTC 2011


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20110317/efa4dffe/attachment.bin>


More information about the pkg-multimedia-maintainers mailing list