Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124645 - emerge uclibc++ can not unpack source archive
Summary: emerge uclibc++ can not unpack source archive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 07:39 UTC by Tyler Akins
Modified: 2006-03-03 20:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Akins 2006-03-02 07:39:18 UTC
In case it matters, I am trying to build an embedded system and I started with a 2005.0 stage 1, but have upgraded things a lot since then.  When trying to install the brand new uclibc 0.2.0, I get the following.  If I had to guess, I believe that the ".tbz" extension is not handled properly.

# emerge uclibc++
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/uclibc++-0.2.0 to /
>>> md5 files   ;-) uclibc++-0.1.12.ebuild
>>> md5 files   ;-) uclibc++-0.2.0.ebuild
>>> md5 files   ;-) files/digest-uclibc++-0.1.12
>>> md5 files   ;-) files/digest-uclibc++-0.2.0
>>> md5 src_uri ;-) uClibc++-0.2.0.tbz
>>> Unpacking source...
>>> Unpacking uClibc++-0.2.0.tbz to /var/tmp/portage/uclibc++-0.2.0/work
unpack uClibc++-0.2.0.tbz: file format not recognized. Ignoring.
/usr/portage/sys-libs/uclibc++/uclibc++-0.2.0.ebuild: line 31: cd: /var/tmp/portage/uclibc++-0.2.0/work/uClibc++: No such file or directory
make: *** No rule to make target `defconfig'.  Stop.


Gentoo Base System version 1.6.14
Portage 2.0.54 (uclibc/x86, gcc-, uclibc-0.9.28-r0, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-linux-uclibc"
CFLAGS="-Os -pipe -fomit-frame-pointer -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0"
CHOST="i386-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -fomit-frame-pointer -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 make-symlinks minimal symlink uclibc userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Tyler Akins 2006-03-02 07:54:24 UTC
Oh, emerge ~uclibc++-0.1.12 compiles fine.
Comment 2 SpanKY gentoo-dev 2006-03-02 17:44:43 UTC
fixed in cvs ... i had this fixed earlier, just forgot to commit, sorry about that
Comment 3 Tyler Akins 2006-03-03 06:02:11 UTC
I first ran emerge --sync and then tried this:

# emerge uclibc++
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/uclibc++-0.2.0 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/uClibc++-0.2.0.tbz
--14:55:22--  http://distfiles.gentoo.org/distfiles/uClibc++-0.2.0.tbz
           => `/usr/portage/distfiles/uClibc++-0.2.0.tbz'
Resolving distfiles.gentoo.org... 64.50.236.52, 216.165.129.135, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 259,087 (253K) [text/plain]

100%[====================================>] 259,087       86.22K/s             

14:55:27 (85.91 KB/s) - `/usr/portage/distfiles/uClibc++-0.2.0.tbz' saved [259087/259087]

>>> md5 files   ;-) uclibc++-0.1.12.ebuild
>>> md5 files   ;-) uclibc++-0.2.0.ebuild
>>> md5 files   ;-) files/digest-uclibc++-0.1.12
>>> md5 files   ;-) files/digest-uclibc++-0.2.0
>>> md5 src_uri ;-) uClibc++-0.2.0.tbz
>>> Unpacking source...
ACCESS DENIED  rename:    /usr/portage/distfiles/uClibc++-0.2.0.tbz
cannot move `/usr/portage/distfiles/uClibc++-0.2.0.tbz' to `uClibc++-0.2.0.tbz2': Permission denied
>>> Unpacking ./uClibc++-0.2.0.tbz2 to /var/tmp/portage/uclibc++-0.2.0/work

!!! ERROR: sys-libs/uclibc++-0.2.0 failed.
!!! Function unpack, Line 362, Exitcode 0
!!! ./uClibc++-0.2.0.tbz2 does not exist
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_uclibc++-0.2.0-16512.log"

rename:    /usr/portage/distfiles/uClibc++-0.2.0.tbz
--------------------------------------------------------------------------------
Comment 4 Tyler Akins 2006-03-03 06:05:07 UTC
Oh, and this doesn't work:

# cd /usr/portage/distfiles
# mv uClibc++-0.2.0.tbz uClibc++-0.2.0.tbz2
# emerge uclibc++

Same error message.
Comment 5 SpanKY gentoo-dev 2006-03-03 20:26:12 UTC
needs to be a `cp` not a `mv` in the src_unpack ... didnt notice because newer portage allows the `mv` ...