Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73194

Summary: cdrdao-1.1.9 fails to merge because of /usr/share/cdrdao/cdrdao.drivers access
Product: Gentoo Linux Reporter: Vincenzo Romano <vincenzo.romano>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vincenzo Romano 2004-12-02 23:44:17 UTC
Whenever I "emerge -u cdrdao" to 1.1.9 from 1.1.8-r1 I get the following error message:
mv /usr/share/cdrdao/cdrdao.drivers /usr/share/cdrdao/drivers
ACCESS DENIED  rename:    /usr/share/cdrdao/cdrdao.drivers
mv: cannot move `/usr/share/cdrdao/cdrdao.drivers' to `/usr/share/cdrdao/drivers': Permission denied
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make: *** [install-recursive] Error 1

!!! ERROR: app-cdr/cdrdao-1.1.9 failed.
!!! Function src_install, Line 66, Exitcode 2
!!! could not install
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-cdr_-_cdrdao-1.1.9-22077.log"

rename:    /usr/share/cdrdao/cdrdao.drivers
--------------------------------------------------------------------------------

Of course I'm running emerge as root and there is no permission problem with
the directory tree.



Reproducible: Always
Steps to Reproduce:
1. emerge -u cdrdao

Actual Results:  
...
mv /usr/share/cdrdao/cdrdao.drivers /usr/share/cdrdao/drivers
ACCESS DENIED  rename:    /usr/share/cdrdao/cdrdao.drivers
mv: cannot move `/usr/share/cdrdao/cdrdao.drivers' to
`/usr/share/cdrdao/drivers': Permission denied
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make: *** [install-recursive] Error 1

!!! ERROR: app-cdr/cdrdao-1.1.9 failed.
!!! Function src_install, Line 66, Exitcode 2
!!! could not install
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-cdr_-_cdrdao-1.1.9-22077.log"

rename:    /usr/share/cdrdao/cdrdao.drivers
--------------------------------------------------------------------------------


Expected Results:  
cdrdao-1.1.9 should have been emerged!
Comment 1 Vincenzo Romano 2004-12-02 23:46:01 UTC
This is the output for ls -ld of the directory tree:
laptop root # ls -ld / /usr /usr/share /usr/share/cdrdao/ /usr/share/cdrdao/drivers
drwxr-xr-x   21 root root   544 Oct 22 19:20 /
drwxr-xr-x   18 root root   568 Nov  3 17:56 /usr
drwxr-xr-x  144 root root  3848 Nov 24 18:28 /usr/share
drwxr-xr-x    2 root root   104 Dec  3 08:45 /usr/share/cdrdao/
-rw-r--r--    1 root root 12130 Nov  1 10:30 /usr/share/cdrdao/drivers
Comment 2 Rene Zbinden 2004-12-02 23:57:36 UTC
I get a similar error with cdrdao:
Making install in dao
make[1]: Entering directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
make[2]: Entering directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
test -z "/usr/bin" || mkdir -p -- . "/var/tmp/portage/cdrdao-1.1.9/image//usr/bin"
  /bin/install -c 'cdrdao' '/var/tmp/portage/cdrdao-1.1.9/image//usr/bin/cdrdao'test -z "/usr/share/cdrdao" || mkdir -p -- . "/var/tmp/portage/cdrdao-1.1.9/image//usr/share/cdrdao"
 /bin/install -c -m 644 'cdrdao.drivers' '/var/tmp/portage/cdrdao-1.1.9/image//usr/share/cdrdao/cdrdao.drivers'
test -z "/usr/man/man1" || mkdir -p -- . "/var/tmp/portage/cdrdao-1.1.9/image//usr/man/man1"
 /bin/install -c -m 644 './cdrdao.man' '/var/tmp/portage/cdrdao-1.1.9/image//usr/man/man1/cdrdao.1'
make  install-data-hook
make[3]: Entering directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'
mv /usr/share/cdrdao/cdrdao.drivers /usr/share/cdrdao/drivers
mv: cannot stat `/usr/share/cdrdao/cdrdao.drivers': No such file or directory
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.9/work/cdrdao-1.1.9/dao'make: *** [install-recursive] Error 1

!!! ERROR: app-cdr/cdrdao-1.1.9 failed.
!!! Function src_install, Line 66, Exitcode 2
!!! could not install
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Joe McCann (RETIRED) gentoo-dev 2004-12-03 00:08:37 UTC

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