>>> Emerging (4 of 5) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: media-gfx/nvidia-cg-toolkit-2.1.0012 * Repository: gentoo * Maintainer: graphics@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... * Nothing to compile. >>> Source compiled. >>> Test phase [none]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx doins failed doins failed >>> Completed installing nvidia-cg-toolkit-2.1.0012 into /tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/
unreproducable. Any idea what happens?
(In reply to comment #1) > unreproducable. Any idea what happens? reproducible in other systems. It fails the doins in the for, not the other.
Still not compiling: # emerge media-gfx/nvidia-cg-toolkit Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... >>> Source compiled. >>> Test phase [not enabled]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx doins failed * ERROR: media-gfx/nvidia-cg-toolkit-2.1.0012 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 2209: Called die * The specific snippet of code: * doins "${dir}"/* || die; * * If you need support, post the output of `emerge --info '=media-gfx/nvidia-cg-toolkit-2.1.0012'`, * the complete build log and the output of `emerge -pqv '=media-gfx/nvidia-cg-toolkit-2.1.0012'`. * The complete build log is located at '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work/usr/local/Cg/examples' * S: '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work' >>> Failed to emerge media-gfx/nvidia-cg-toolkit-2.1.0012, Log file: >>> '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/temp/build.log' Need more input? Is reproducable always. Thanks & cheers Heinrich
Why does it work for me and not for you?
+ 22 Nov 2012; Justin Lecher <jlec@gentoo.org> + nvidia-cg-toolkit-2.1.0012.ebuild: + Fix installation of examples, #355163 + Found it.
Hi Justin, thanks for your fix, doins is not a problem any more. I'm very sorry, but now there is following output: # emerge media-gfx/nvidia-cg-toolkit Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... >>> Source compiled. >>> Test phase [not enabled]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx ACCESS DENIED rename: /usr/share/doc/nvidia-cg-toolkit-2.1.0012 mv: cannot move 'usr/local/Cg/examples' to '/usr/share/doc/nvidia-cg-toolkit-2.1.0012/': Permission denied >>> Completed installing nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-26088.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: rename S: deny P: /usr/share/doc/nvidia-cg-toolkit-2.1.0012/ A: /usr/share/doc/nvidia-cg-toolkit-2.1.0012 R: /usr/share/doc/nvidia-cg-toolkit-2.1.0012 C: mv usr/local/Cg/examples /usr/share/doc/nvidia-cg-toolkit-2.1.0012/ -------------------------------------------------------------------------------- >>> Failed to emerge media-gfx/nvidia-cg-toolkit-2.1.0012, Log file: >>> '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/temp/build.log' Is this input for a new ticket? What can I do to get it running on my system or to give more information? I tried: # ll -d /usr/share/doc drwxr-xr-x 1261 root root 61440 Nov 22 11:35 /usr/share/doc and: # mkdir /usr/share/doc/nvidia-cg-toolkit-2.1.0012 check: # ls -lrta /usr/share/doc/nvidia-cg-toolkit-2.1.0012 total 68 drwxr-xr-x 1262 root root 61440 Nov 23 14:20 .. drwxr-xr-x 2 root root 4096 Nov 23 14:25 . then I got: # emerge media-gfx/nvidia-cg-toolkit Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... >>> Source compiled. >>> Test phase [not enabled]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx ACCESS DENIED rename: /usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples mv: cannot move 'usr/local/Cg/examples' to '/usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples': Permission denied >>> Completed installing nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-28476.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: rename S: deny P: /usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples A: /usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples R: /usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples C: mv usr/local/Cg/examples /usr/share/doc/nvidia-cg-toolkit-2.1.0012/ -------------------------------------------------------------------------------- >>> Failed to emerge media-gfx/nvidia-cg-toolkit-2.1.0012, Log file: >>> '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/temp/build.log' emerge has been started by user root. Thanks & cheers Heinrich
I will look into that.
I can confirm the new behaviour regarding the mv error. Fresh install, amd64.
I'm impatient, so I avoided this problem by emerging this one package with FEATURES="-sandbox" on the commandline. I'm not a ebuild maintainer, but it is clearly a sandbox problem. I suspect that the final dodir command not matching the mv destination directory is the culprit, but I'm just guessing and don't have the time to setup a proper overlay to test.
oh, shit. I totally forgot this bug.
+ 28 Nov 2012; Justin Lecher <jlec@gentoo.org> + nvidia-cg-toolkit-2.1.0012.ebuild: + EAPI=0 doesn't know about ED +
Now it's installing. Thanks a lot! # emerge media-gfx/nvidia-cg-toolkit Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... >>> Source compiled. >>> Test phase [not enabled]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx mv: cannot move 'usr/local/Cg/examples' to '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image//usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples': Directory not empty >>> Completed installing nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ ecompressdir: bzip2 -9 /usr/share/man * QA Notice: The following shared libraries lack a SONAME * /usr/lib64/libCg.so * /usr/lib64/libCgGL.so making executable: usr/lib64/libCg.so making executable: usr/lib64/libCgGL.so >>> Installing (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Recording media-gfx/nvidia-cg-toolkit in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. but this line might be interesting: mv: cannot move 'usr/local/Cg/examples' to '/var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image//usr/share/doc/nvidia-cg-toolkit-2.1.0012/examples': Directory not empty
28 Nov 2012; Justin Lecher <jlec@gentoo.org> nvidia-cg-toolkit-2.1.0012.ebuild: + Fix last block during move of examples +
Thanks you very much for the very quick fix! # emerge media-gfx/nvidia-cg-toolkit Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 * Cg-2.1_October2008_x86_64.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Cg-2.1_October2008_x86_64.tgz to /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Source unpacked in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work >>> Compiling source in /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/work ... >>> Source compiled. >>> Test phase [not enabled]: media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Install nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ category media-gfx >>> Completed installing nvidia-cg-toolkit-2.1.0012 into /var/tmp/portage/media-gfx/nvidia-cg-toolkit-2.1.0012/image/ ecompressdir: bzip2 -9 /usr/share/man * QA Notice: The following shared libraries lack a SONAME * /usr/lib64/libCg.so * /usr/lib64/libCgGL.so making executable: usr/lib64/libCg.so making executable: usr/lib64/libCgGL.so >>> Installing (1 of 1) media-gfx/nvidia-cg-toolkit-2.1.0012 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.