Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378747 - www-apps/rutorrent-3.3:bad ebuild in ${PORTDIR}
Summary: www-apps/rutorrent-3.3:bad ebuild in ${PORTDIR}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 09:17 UTC by guileone
Modified: 2011-08-26 18:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
repackaged rutorrent-3.3 package (rutorrent-3.3.tar.gz,237.13 KB, application/x-gzip)
2011-08-12 02:06 UTC, ak47wj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guileone 2011-08-11 09:17:11 UTC
in ${WORKDIR} create directory rutorrent but portage wait rutorrent-3.3
in ${WORKDIR} create directory plugins but portage wait plugins-3.3
emerge -av rutorrent
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ~] www-apps/rutorrent-3.3 [3.2] USE="vhosts" 0 kB

Total: 1 package (1 in new slot), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/rutorrent-3.3
 * rutorrent-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                       [ ok ]
 * plugins-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                         [ ok ]
 * Package:    www-apps/rutorrent-3.3
 * Repository: gentoo
 * Maintainer: alexxy@gentoo.org web-apps@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU vhosts
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking rutorrent-3.3.tar.gz to /home/system/port-temp/portage/www-apps/rutorrent-3.3/work
>>> Unpacking plugins-3.3.tar.gz to /home/system/port-temp/portage/www-apps/rutorrent-3.3/work
>>> Source unpacked in /home/system/port-temp/portage/www-apps/rutorrent-3.3/work
 * ERROR: www-apps/rutorrent-3.3 failed (prepare phase):
 *   The source directory '/home/system/port-temp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3' doesn't exist
 * 
 * Call stack:
 *   ebuild.sh, line 2398:  Called ebuild_main
 *   ebuild.sh, line 2305:  Called dyn_prepare
 *   ebuild.sh, line 1005:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of 'emerge --info =www-apps/rutorrent-3.3',
 * the complete build log and the output of 'emerge -pqv =www-apps/rutorrent-3.3'.
 * The complete build log is located at '/home/system/journal/www-apps:rutorrent-3.3:20110811-090200.log'.
 * The ebuild environment file is located at '/home/system/port-temp/portage/www-apps/rutorrent-3.3/temp/environment'.
 * S: '/home/system/port-temp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3'

>>> Failed to emerge www-apps/rutorrent-3.3, Log file:



Reproducible: Always
Comment 1 vovetsp 2011-08-11 13:39:32 UTC
emerge rutorrent
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/rutorrent-3.3
 * rutorrent-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * plugins-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                 [ ok ]
 * Package:    www-apps/rutorrent-3.3
 * Repository: gentoo
 * Maintainer: alexxy@gentoo.org web-apps@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   sandbox
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

>>> Unpacking source...
>>> Unpacking rutorrent-3.3.tar.gz to /var/tmp/portage/www-apps/rutorrent-3.3/work
>>> Unpacking plugins-3.3.tar.gz to /var/tmp/portage/www-apps/rutorrent-3.3/work
>>> Source unpacked in /var/tmp/portage/www-apps/rutorrent-3.3/work
 * ERROR: www-apps/rutorrent-3.3 failed (prepare phase):
 *   The source directory '/var/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3' doesn't exist
 * 
 * Call stack:
 *   ebuild.sh, line 2398:  Called ebuild_main
 *   ebuild.sh, line 2305:  Called dyn_prepare
 *   ebuild.sh, line 1005:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of 'emerge --info =www-apps/rutorrent-3.3',
 * the complete build log and the output of 'emerge -pqv =www-apps/rutorrent-3.3'.
 * The complete build log is located at '/var/tmp/portage/www-apps/rutorrent-3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/rutorrent-3.3/temp/environment'.
 * S: '/var/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3'

>>> Failed to emerge www-apps/rutorrent-3.3, Log file:

>>>  '/var/tmp/portage/www-apps/rutorrent-3.3/temp/build.log'

 * Messages for package www-apps/rutorrent-3.3:

 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).
 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.
 * ERROR: www-apps/rutorrent-3.3 failed (prepare phase):
 *   The source directory '/var/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3' doesn't exist
 * 
 * Call stack:
 *   ebuild.sh, line 2398:  Called ebuild_main
 *   ebuild.sh, line 2305:  Called dyn_prepare
 *   ebuild.sh, line 1005:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of 'emerge --info =www-apps/rutorrent-3.3',
 * the complete build log and the output of 'emerge -pqv =www-apps/rutorrent-3.3'.
 * The complete build log is located at '/var/tmp/portage/www-apps/rutorrent-3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/rutorrent-3.3/temp/environment'.
 * S: '/var/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3'
Comment 2 ak47wj 2011-08-12 02:06:24 UTC
Created attachment 282973 [details]
repackaged rutorrent-3.3 package

This attachment is repackaged by the directory name from 'rutorrent' to 'rutorrent-3.3'. 
Step 1: Please put this attachment into /usr/portage/distfiles. 
Step 2: Modify the /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild. 

--- /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild    2011-08-09 21:33:33.000000000 +0800
+++ rutorrent-3.3.ebuild    2011-08-10 13:33:03.205416302 +0800
@@ -31,8 +31,9 @@
    webapp_src_preinst
 
    insinto "${MY_HTDOCSDIR}"
-   mv plugins rutorrent
-   cd rutorrent
+   cd ..
+   mv plugins rutorrent-3.3
+   cd rutorrent-3.3
    doins -r .
 
    webapp_serverowned "${MY_HTDOCSDIR}"/share

Step 3: rm /usr/portage/www-apps/rutorrent/Manifest
Step 4: ebuild /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild digest
Comment 3 guileone 2011-08-12 09:53:45 UTC
After completing all the steps

emerge -av rutorrent
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ~] www-apps/rutorrent-3.3 [3.2] USE="vhosts" 0 kB

Total: 1 package (1 in new slot), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/rutorrent-3.3
 * rutorrent-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                       [ ok ]
 * plugins-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                         [ ok ]
 * Package:    www-apps/rutorrent-3.3
 * Repository: gentoo
 * Maintainer: alexxy@gentoo.org web-apps@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU vhosts
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking rutorrent-3.3.tar.gz to /home/system/port-temp/portage/www-apps/rutorrent-3.3/work
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
 * ERROR: www-apps/rutorrent-3.3 failed (unpack phase):
 *   failure unpacking rutorrent-3.3.tar.gz
 * 
 * Call stack:
 *               ebuild.sh, line   56:  Called src_unpack
 *             environment, line 2962:  Called _eapi0_src_unpack
 *               ebuild.sh, line  618:  Called unpack 'rutorrent-3.3.tar.gz' 'plugins-3.3.tar.gz'
 *               ebuild.sh, line  394:  Called _unpack_tar 'gzip -d'
 *               ebuild.sh, line  369:  Called assert_sigpipe_ok 'failure unpacking rutorrent-3.3.tar.gz'
 *   isolated-functions.sh, line   37:  Called die
 * The specific snippet of code:
 *              [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 * 
 * If you need support, post the output of 'emerge --info =www-apps/rutorrent-3.3',
 * the complete build log and the output of 'emerge -pqv =www-apps/rutorrent-3.3'.
 * The complete build log is located at '/home/system/journal/www-apps:rutorrent-3.3:20110812-093622.log'.
 * The ebuild environment file is located at '/home/system/port-temp/portage/www-apps/rutorrent-3.3/temp/environment'.
 * S: '/home/system/port-temp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3'

>>> Failed to emerge www-apps/rutorrent-3.3, Log file:

>>>  '/home/system/journal/www-apps:rutorrent-3.3:20110812-093622.log'

source from attachment:

tar xzvf rutorrent.tar.gz 

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Comment 4 ak47wj 2011-08-12 12:40:20 UTC
Sorry for that. The attachment seems broken. You also can do this:

Step 1: remove the broken package
rm /usr/portage/distfiles/rutorrent-3.3.tar.gz

Step 2: get the orign package
cd /usr/portage/distfiles
wget http://rutorrent.googlecode.com/files/rutorrent-3.3.tar.gz

Step 3: unpack the orign package
tar zxvf rutorrent-3.3.tar.gz

Step 4: rename the directory name from 'rutorrent' to 'rutorrent-3.3'. 
mv rutorrent rutorrent-3.3

Step 5: repackage
tar czvf rutorrent-3.3.tar.gz rutorrent-3.3

Step 6: Modify the /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild. 

--- /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild    2011-08-09
21:33:33.000000000 +0800
+++ rutorrent-3.3.ebuild    2011-08-10 13:33:03.205416302 +0800
@@ -31,8 +31,9 @@
    webapp_src_preinst

    insinto "${MY_HTDOCSDIR}"
-   mv plugins rutorrent
-   cd rutorrent
+   cd ..
+   mv plugins rutorrent-3.3
+   cd rutorrent-3.3
    doins -r .

    webapp_serverowned "${MY_HTDOCSDIR}"/share

Step 7: rm /usr/portage/www-apps/rutorrent/Manifest
Step 8: ebuild /usr/portage/www-apps/rutorrent/rutorrent-3.3.ebuild digest
Comment 5 José Romildo Malaquias 2011-08-26 14:13:00 UTC
This bug is not fixed.

I am getting the same error on my ~amd64 system:



# emerge -avt rutorrent


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

Calculating dependencies... done!
[ebuild  N     ] www-apps/rutorrent-3.3  USE="-vhosts" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

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

>>> Emerging (1 of 1) www-apps/rutorrent-3.3
 * rutorrent-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                               [ ok ]
 * plugins-3.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking rutorrent-3.3.tar.gz to /tmp/portage/www-apps/rutorrent-3.3/work
>>> Unpacking plugins-3.3.tar.gz to /tmp/portage/www-apps/rutorrent-3.3/work
>>> Source unpacked in /tmp/portage/www-apps/rutorrent-3.3/work
 * ERROR: www-apps/rutorrent-3.3 failed (prepare phase):
 *   The source directory '/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3' doesn't exist
 * 
 * Call stack:
 *   ebuild.sh, line 2402:  Called ebuild_main
 *   ebuild.sh, line 2309:  Called dyn_prepare
 *   ebuild.sh, line 1009:  Called die
 * The specific snippet of code:
 *   		die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of 'emerge --info =www-apps/rutorrent-3.3',
 * the complete build log and the output of 'emerge -pqv =www-apps/rutorrent-3.3'.
 * The complete build log is located at '/var/log/portage/www-apps:rutorrent-3.3:20110826-141541.log'.
 * The ebuild environment file is located at '/tmp/portage/www-apps/rutorrent-3.3/temp/environment'.
 * S: '/tmp/portage/www-apps/rutorrent-3.3/work/rutorrent-3.3'

>>> Failed to emerge www-apps/rutorrent-3.3, Log file:

>>>  '/var/log/portage/www-apps:rutorrent-3.3:20110826-141541.log'
Comment 6 guileone 2011-08-26 18:18:19 UTC
I helped 8 steps.