View previous topic :: View next topic |
Author |
Message |
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Fri Dec 03, 2004 7:34 am Post subject: cdrdao emerge failure |
|
|
Hi,
there is a new version of cdrdao in x86 the 1.1.9, it looks
like there is a bug in the ebuild or in the original package.
Here is the failure I get Code: | 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.
|
I included all part of the installation process that I think are
relevant. The problem is that the install script want to
move /usr/share/cdrdao/cdrdao.drivers to /usr/share/cdrdao/drivers
problem of course is that the command is given on an
absolute path, portage is installing everything relatively to
/var/tmp/portage/cdrdao-1.1.9/image/ before merging,
so it would be all right if it was trying to move usr/share/cdrdao/cdrdao.drivers .
I notice that during the installation of cdrdao.drivers the
comand line is Code: | /bin/install -c -m 644 'cdrdao.drivers' '/var/tmp/portage/cdrdao-1.1.9/image//usr/share/cdrdao/cdrdao.drivers' |
Is there a "/" too many in some variable of the ebuild script?
Cheers,
Francois |
|
Back to top |
|
|
Unlucky_Alf Tux's lil' helper
Joined: 02 Feb 2003 Posts: 92
|
Posted: Fri Dec 03, 2004 8:30 am Post subject: |
|
|
I can confirm this, I get exactly same error. |
|
Back to top |
|
|
Setras n00b
Joined: 13 Apr 2004 Posts: 14 Location: The Multiverse... No, not that one. The one a bit to left and behind that big one... Yup, that's it
|
Posted: Fri Dec 03, 2004 9:29 am Post subject: |
|
|
Same error here too... found bug 73193, but no solution yet.
Setras _________________ That which is dreamed can never be lost, can never be undreamed.
-Master Li in Neil Gaiman's Sandman
Adopt a post! |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Fri Dec 03, 2004 10:34 am Post subject: |
|
|
Setras wrote: | Same error here too... found bug 73193, but no solution yet.
Setras |
I did search for it in bugzilla but came back with nothing.
I have to study a little bit more the query system of
bugzilla I guess. It really upsets me when it is known the
ebuild has a bug and it go in stable nevertheless... |
|
Back to top |
|
|
serge Apprentice
Joined: 05 Jan 2003 Posts: 177
|
Posted: Fri Dec 03, 2004 11:44 am Post subject: |
|
|
I had cdrdao-1.1.8-r1. Then i tried to upgrade to 1.1.9 and as you it did not succeed. But it broke /usr/bin/cdrdao [I cannot use k3b anymore]. I tried to reinstall 1.1.8-r1...And i got the same error!!
Serge |
|
Back to top |
|
|
serge Apprentice
Joined: 05 Jan 2003 Posts: 177
|
Posted: Fri Dec 03, 2004 12:05 pm Post subject: |
|
|
This is a bug in the ebuild . I installed finally cdrdao "normally" [.configure, make, make install] and there was no problems during the install process
Serge |
|
Back to top |
|
|
paulr n00b
Joined: 01 Jan 2003 Posts: 31 Location: Norfolk, England
|
Posted: Fri Dec 03, 2004 12:34 pm Post subject: |
|
|
serge wrote: | I had cdrdao-1.1.8-r1. Then i tried to upgrade to 1.1.9 and as you it did not succeed. But it broke /usr/bin/cdrdao [I cannot use k3b anymore]. I tried to reinstall 1.1.8-r1...And i got the same error!!
Serge |
If anyone else has this problem, what Serge writes is correct, but if you emerge cdrdao-1.1.8 it goes fine. |
|
Back to top |
|
|
jaspal kallar Apprentice
Joined: 25 Feb 2004 Posts: 194 Location: Sweden
|
Posted: Fri Dec 03, 2004 12:37 pm Post subject: |
|
|
Thanks Seth.
I tried however with success this workaround Code: | mkdir -p /usr/share/cdrdao (if not already there!!)
cd /usr/share/cdrdao
cp /var/tmp/portage/cdrdao-1.1.9/image/usr/share/cdrdao/cdrdao.drivers .
emerge cdrdao
|
Then I started k3b ... seemed OK. Then I burned a dvd-rw via commandline ... seems OK.
The above way also unistalls the previous (cdrdao-1.1.8-r1) version
Note: Your mileage may vary ... so you are warned! Also there is still some bug in the ebuild, again this is a
workaround. |
|
Back to top |
|
|
evoweiss Veteran
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Fri Dec 03, 2004 2:09 pm Post subject: |
|
|
jaspal kallar wrote: |
I tried however with success this workaround Code: | mkdir -p /usr/share/cdrdao (if not already there!!)
cd /usr/share/cdrdao
cp /var/tmp/portage/cdrdao-1.1.9/image/usr/share/cdrdao/cdrdao.drivers .
emerge cdrdao
|
|
I tried this and it bombed on me as it said I didn't have the right permissions to rename the file. I always emerge stuff in root, so I don't see why this would be a problem. I guess I'll just have to wait for the maintainers of the ebuild to fix it and submit the fix to portage.
Best,
Alex
Edit: Problem solved. There were two patched posted in the bugs.gentoo.org forum (I couldn't find them until reading this thread as I was looking for cdrao and not cdrdao). I simply applied the patch to the ebuild (patch cdrdao-1.1.9.ebuild patchfile) and then copied the other patch file which modified makefile.am into the /usr/portage/app-cdr/cdrdao/files directory. After that I re-emerged cdrdao and all went well.
This is kind of cool as it's the first time I've ever manually installed and used patches like this .
Last edited by evoweiss on Fri Dec 03, 2004 2:25 pm; edited 1 time in total |
|
Back to top |
|
|
Kokkor_Hekkus n00b
Joined: 03 Feb 2004 Posts: 14 Location: Lucerne (CH)
|
Posted: Fri Dec 03, 2004 2:25 pm Post subject: |
|
|
Same problem here,
no matter how I set the privileges on /usr/share/cdrdao and cdrdao.drivers files, I have an "ACCESS DENIED" when trying to rename the file. |
|
Back to top |
|
|
evoweiss Veteran
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Fri Dec 03, 2004 2:27 pm Post subject: |
|
|
Kokkor_Hekkus wrote: | Same problem here,
no matter how I set the privileges on /usr/share/cdrdao and cdrdao.drivers files, I have an "ACCESS DENIED" when trying to rename the file. |
See my previous post. Follow the link on some fellow's earlier post to the bugs.gentoo.org website, download the patch in comments 6 and 7. Apply the patch in 7 to your cdrdao-1.1.9.ebuild and copy the patch from comment 6 into the files directory that I specified above. It worked like a charm.
Best,
Alex |
|
Back to top |
|
|
BWW n00b
Joined: 05 May 2002 Posts: 34 Location: Oklahoma
|
Posted: Fri Dec 03, 2004 6:14 pm Post subject: |
|
|
evoweiss's solution for patching the ebuild worked for me. Thx.
_________________ Registered Linux User #251974 |
|
Back to top |
|
|
Gotterdammerung l33t
Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Fri Dec 03, 2004 9:12 pm Post subject: |
|
|
evoweiss wrote: | Edit: Problem solved. There were two patched posted in the bugs.gentoo.org forum (I couldn't find them until reading this thread as I was looking for cdrao and not cdrdao). I simply applied the patch to the ebuild (patch cdrdao-1.1.9.ebuild patchfile) and then copied the other patch file which modified makefile.am into the /usr/portage/app-cdr/cdrdao/files directory. After that I re-emerged cdrdao and all went well. |
Same here. You'll find the patch files in the bug's page: https://bugs.gentoo.org/show_bug.cgi?id=73193 _________________ A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Sat Dec 04, 2004 4:54 am Post subject: |
|
|
The problem has been "silently" solved in portage as I write.
It emerges fine now.
By silently I mean there hasn't been any version bump.
The ebuild has been changed but its version hasn't. |
|
Back to top |
|
|
Gotterdammerung l33t
Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Sat Dec 04, 2004 3:36 pm Post subject: |
|
|
fb wrote: | The problem has been "silently" solved in portage as I write.
It emerges fine now.
By silently I mean there hasn't been any version bump.
The ebuild has been changed but its version hasn't. |
True! Read the changelog:
Quote: | 03 Dec 2004; Lars Weiler <pylon@gentoo.org> cdrdao-1.1.9.ebuild:
Removed the QA-install call from Bug #71560 and changed back to einstall.
See Bug #73193. |
_________________ A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes |
|
Back to top |
|
|
|