emerge php-docs yields: >>> Emerging (1 of 1) app-doc/php-docs-20071125-r1 to / * php-docs-20071125_de.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking php-docs-20071125_de.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking php-docs-20071125_de.tar.gz to /var/tmp/portage/app-doc/php-docs-20071125-r1/work/de >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-doc/php-docs-20071125-r1/work ... >>> Source compiled. >>> Test phase [not enabled]: app-doc/php-docs-20071125-r1 >>> Install php-docs-20071125-r1 into /var/tmp/portage/app-doc/php-docs-20071125-r1/image/ category app-doc * Installing de manual, this will take a while... ... /usr/portage/app-doc/php-docs/php-docs-20071125-r1.ebuild: line 63: /bin/mv: Argument list too long * * ERROR: app-doc/php-docs-20071125-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_install * ebuild.sh, line 1138: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * php-docs-20071125-r1.ebuild, line 64: Called die * The specific snippet of code: * mv "${D}"/usr/share/doc/${PF}/html/{*.html,figures} "${D}"/usr/share/doc/${PF}/html/${lang} \ * || die "mv failed on ${lang}" * The die message: * mv failed on de * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-doc/php-docs-20071125-r1/temp/build.log'. * As a solution I propose to change mv "${D}"/usr/share/doc/${PF}/html/{*.html,figures} "${D}"/usr/share/doc/${PF}/html/${lang} in the ebuild to something like find "${D}"/usr/share/doc/${PF}/html -maxdepth 1 -name '*.html' -or -name figures -exec mv {} "${D}"/usr/share/doc/${PF}/html/${lang} \; Reproducible: Always Steps to Reproduce:
And I still cannot reproduce this. *** This bug has been marked as a duplicate of bug 201514 ***