Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201537 - app-doc/php-docs-20071125-r1 fails to emerge: argument list too long
Summary: app-doc/php-docs-20071125-r1 fails to emerge: argument list too long
Status: RESOLVED DUPLICATE of bug 201514
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-06 23:04 UTC by Thomas Heinz
Modified: 2007-12-06 23:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Heinz 2007-12-06 23:04:05 UTC
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:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-06 23:05:46 UTC
And I still cannot reproduce this.


*** This bug has been marked as a duplicate of bug 201514 ***