Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdrdao emerge failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Fri Dec 03, 2004 7:34 am    Post subject: cdrdao emerge failure Reply with quote

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
View user's profile Send private message
Unlucky_Alf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2003
Posts: 92

PostPosted: Fri Dec 03, 2004 8:30 am    Post subject: Reply with quote

I can confirm this, I get exactly same error.
Back to top
View user's profile Send private message
Setras
n00b
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

PostPosted: Fri Dec 03, 2004 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Fri Dec 03, 2004 10:34 am    Post subject: Reply with quote

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... :roll:
Back to top
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Fri Dec 03, 2004 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
serge
Apprentice
Apprentice


Joined: 05 Jan 2003
Posts: 177

PostPosted: Fri Dec 03, 2004 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
paulr
n00b
n00b


Joined: 01 Jan 2003
Posts: 31
Location: Norfolk, England

PostPosted: Fri Dec 03, 2004 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Fri Dec 03, 2004 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Fri Dec 03, 2004 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kokkor_Hekkus
n00b
n00b


Joined: 03 Feb 2004
Posts: 14
Location: Lucerne (CH)

PostPosted: Fri Dec 03, 2004 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Fri Dec 03, 2004 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
BWW
n00b
n00b


Joined: 05 May 2002
Posts: 34
Location: Oklahoma

PostPosted: Fri Dec 03, 2004 6:14 pm    Post subject: Reply with quote

evoweiss's solution for patching the ebuild worked for me. Thx.
8)
_________________
Registered Linux User #251974
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Fri Dec 03, 2004 9:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sat Dec 04, 2004 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Sat Dec 04, 2004 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum