Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363471 - some kdebase-meta relation packages fails in unpack on Gentoo/FBSD
Summary: some kdebase-meta relation packages fails in unpack on Gentoo/FBSD
Status: RESOLVED DUPLICATE of bug 318247
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 10:46 UTC by Yuta SATOH
Modified: 2011-04-14 11:19 UTC (History)
0 users

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


Attachments
patch for kde4-meta.eclass (kde4-meta.eclass.patch,1.45 KB, patch)
2011-04-13 11:54 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-04-13 10:46:35 UTC
Gentoo/FreeBSD has two tar. 
One is tar of BSD. 
Another is gtar of GNU. 

As for these, operation is different. 
As a result, tar cannot appropriately extract and causes this problem. 


# ebuild kfind-4.4.5.ebuild unpack
!!! Problem with sandbox binary. Disabling...

 * kdebase-4.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking kdebase-4.4.5.tar.bz2 ;-) ...                                                                                                              [ ok ]
 * Package:    kde-base/kfind-4.4.5
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:  amd64-fbsd elibc_FreeBSD handbook java5 kernel_FreeBSD userland_BSD
>>> Unpacking source...
 * Unpacking parts of kdebase-4.4.5.tar.bz2 to /var/tmp/portage/kde-base/kfind-4.4.5/work ...
tar extract command failed at least partially - continuing anyway
mv: rename kdebase-4.4.5/ to kfind-4.4.5: No such file or directory
 * ERROR: kde-base/kfind-4.4.5 failed:
 *   Died while moving "kdebase-4.4.5/" to "kfind-4.4.5"
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_unpack
 *   environment, line 4523:  Called kde4-meta_src_unpack
 *   environment, line 3712:  Called kde4-meta_src_extract
 *   environment, line 3652:  Called die
 * The specific snippet of code:
 *           mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\"";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kfind-4.4.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/kfind-4.4.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kfind-4.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kfind-4.4.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kfind-4.4.5/work/kfind-4.4.5'



Reproducible: Always

Steps to Reproduce:
1.cd /usr/portage/kde-base/kfind
2.ebuild kfind-4.4.5.ebuild unpack
3.



FYI,
# equery b tar
 * Searching for tar ...
app-arch/libarchive-2.8.4-r1 (/bin/tar -> bsdtar)
# equery b gtar
 * Searching for gtar ...
app-arch/tar-1.23-r2 (/bin/gtar)
Comment 1 Yuta SATOH 2011-04-13 11:54:57 UTC
Created attachment 269799 [details, diff]
patch for kde4-meta.eclass

app-arch/tar is not included in stage3 of Gentoo/FBSD. 
Therefore, I added app-arch/tar to DEPEND.
Comment 2 Alexis Ballier gentoo-dev 2011-04-14 00:27:07 UTC
you should probably have a look at bug #318247 and try with 4.6.2
Comment 3 Yuta SATOH 2011-04-14 11:19:42 UTC
(In reply to comment #2)
> you should probably have a look at bug #318247 and try with 4.6.2

Thank you for information. 
I confirmed the normal operation by version 4.6.2.

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