New version 0.5.7.1 Gentoo ebuild broken

General support for problems installing or using Deluge
Post Reply
zhen

New version 0.5.7.1 Gentoo ebuild broken

Post by zhen »

Hi all:
I recently installed 0.5.7 on my gentoo box no problems, then I tried to install 0.5.7.1 and got the following error on merge: (digest went fine)

Code: Select all

emerge deluge
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-p2p/deluge-0.5.7.1 to /
 * deluge-0.5.7.1.tar.gz MD5 RMD160 SHA1 SHA256 size ;-) ...                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                 [ ok ]
 * checking deluge-0.5.7.1.tar.gz ;-) ...                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking deluge-0.5.7.1.tar.gz to /var/tmp/portage/net-p2p/deluge-0.5.7.1/work
/usr/portage/eclass/distutils.eclass: line 39: cd: /var/tmp/portage/net-p2p/deluge-0.5.7.1/work/deluge-0.5.7.1: No such file or directory
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/deluge-0.5.7.1 ...
python: can't open file 'setup.py': [Errno 2] No such file or directory
 * 
 * ERROR: net-p2p/deluge-0.5.7.1 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_compile
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *               ebuild.sh, line   44:  Called src_compile
 *   deluge-0.5.7.1.ebuild, line   38:  Called distutils_src_compile
 *        distutils.eclass, line   48:  Called die
 * The specific snippet of code:
 *      ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 * 
 * 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/net-p2p/deluge-0.5.7.1/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * 

 * Messages for package net-p2p/deluge-0.5.7.1:

 * 
 * ERROR: net-p2p/deluge-0.5.7.1 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_compile
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *               ebuild.sh, line   44:  Called src_compile
 *   deluge-0.5.7.1.ebuild, line   38:  Called distutils_src_compile
 *        distutils.eclass, line   48:  Called die
 * The specific snippet of code:
 *      ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 * 
 * 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/net-p2p/deluge-0.5.7.1/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * 
It seems to be caused by some missing files in the tarball.
I would appreciate it If a new ebuild/tarball could be uploaded :P

Thanks
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by danii »

the problem is the folder name inside the tarball, it's called deluge-torrent-0.5.7.1 instead of deluge-0.5.7.1, what makes the ebuild search for the source files in the wrong place
zhen

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by zhen »

Cool, thanks for the reply.
I just ended up going to the work dir and make && make install and it worked :)
chickpea
New User
New User
Posts: 3
Joined: Thu Dec 06, 2007 6:43 pm

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by chickpea »

Now the digest fails the MD5sum

Code: Select all

bichinh0@localhost ~ $ sudo emerge -av deluge
Password:

These are the packages that would be merged, in order:

Calculating dependencies \!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4                                ... done!
[ebuild     U ] net-p2p/deluge-0.5.7.1 [0.5.7] USE="libnotify" 2,023 kB

Total: 1 package (1 upgrade), Size of downloads: 2,023 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4
bichinh0@localhost ~ $
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by markybob »

chickpea wrote:Now the digest fails the MD5sum

Code: Select all

bichinh0@localhost ~ $ sudo emerge -av deluge
Password:

These are the packages that would be merged, in order:

Calculating dependencies \!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4                                ... done!
[ebuild     U ] net-p2p/deluge-0.5.7.1 [0.5.7] USE="libnotify" 2,023 kB

Total: 1 package (1 upgrade), Size of downloads: 2,023 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4
bichinh0@localhost ~ $
what are you doing? how'd you get it to mix 0.5.6.2 with 0.5.7.1?
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by danii »

chickpea wrote:Now the digest fails the MD5sum

Code: Select all

bichinh0@localhost ~ $ sudo emerge -av deluge
Password:

These are the packages that would be merged, in order:

Calculating dependencies \!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4                                ... done!
[ebuild     U ] net-p2p/deluge-0.5.7.1 [0.5.7] USE="libnotify" 2,023 kB

Total: 1 package (1 upgrade), Size of downloads: 2,023 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

!!! Digest verification failed:
!!! /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
!!! Reason: Failed on MD5 verification
!!! Got: 9ba529dba97a2f3ff7f5897c60f8da05
!!! Expected: d8872203d4bcaade87029b94ca4631a4
bichinh0@localhost ~ $
emerge fails when you have the wrong digest for a ebuild even if it isn't the version you're installing
just run

Code: Select all

ebuild /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild digest
or

Code: Select all

rm /usr/portage/net-p2p/deluge/deluge-0.5.6.2.ebuild
and it should solve the problem
chickpea
New User
New User
Posts: 3
Joined: Thu Dec 06, 2007 6:43 pm

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by chickpea »

Well, as the post indicates, I am doing nothing other than a

Code: Select all

emerge -av deluge
I wondered why portage is pulling in the older version, but I figured it must be a base version that is patched up to 0.5.7.1, guess not then.

Really I have absolutely no idea why portage pulls in 0.5.6.2 rather than 0.5.7.1 when I try the merge. I guess I will resync the portage and try again.
chickpea
New User
New User
Posts: 3
Joined: Thu Dec 06, 2007 6:43 pm

Re: New version 0.5.7.1 Gentoo ebuild broken

Post by chickpea »

Weird. No idea why that was happening. What ended up fixing it, was deleting the old ebuild, doing layman -S and an emerge --sync and then remerging the package.

It is building now, but I have every confidence that it will compile and install. So thanks. Sorry I can't give any more useful information for you.
Post Reply