Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157393 - `ebuild .../symlink/cpv.ebuild ...` resolves symlink but shouldn't
Summary: `ebuild .../symlink/cpv.ebuild ...` resolves symlink but shouldn't
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-12-06 18:06 UTC by Harald van Dijk (RETIRED)
Modified: 2006-12-08 14:15 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 Harald van Dijk (RETIRED) gentoo-dev 2006-12-06 18:06:13 UTC
I'm trying to set up a PSP cross-compiler (using patches that are not in portage), and for that, I have set up symlinks in /etc/portage/overlay/cross-psp pointing to /var/portage/sys-devel/{binutils,gcc}. emerge can handle this without a problem. But ebuild can't: it tries to install the system toolchain instead.

$ sudo emerge cross-psp/binutils
Calculating dependencies... done!

>>> Emerging (1 of 1) cross-psp/binutils-2.17 to /
 * binutils-2.17.tar.bz2 MD5 ;-) ...                                                                   [ ok ]
 * binutils-2.17.tar.bz2 RMD160 ;-) ...                                                                [ ok ]
 * binutils-2.17.tar.bz2 SHA1 ;-) ...                                                                  [ ok ]
 * binutils-2.17.tar.bz2 SHA256 ;-) ...                                                                [ ok ]
 * binutils-2.17.tar.bz2 size ;-) ...                                                                  [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 MD5 ;-) ...                                                [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 RMD160 ;-) ...                                             [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 SHA1 ;-) ...                                               [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 SHA256 ;-) ...                                             [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 size ;-) ...                                               [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 MD5 ;-) ...                                                       [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 RMD160 ;-) ...                                                    [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 SHA1 ;-) ...                                                      [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 SHA256 ;-) ...                                                    [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                 [ ok ]
 * checking binutils-2.17.tar.bz2 ;-) ...                                                              [ ok ]
 * checking binutils-2.17-patches-1.1.tar.bz2 ;-) ...                                                  [ ok ]
 * checking binutils-2.17-uclibc-patches-1.0.tar.bz2 ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking binutils-2.17.tar.bz2 to /var/tmp/portage/cross-psp/binutils-2.17/work
sandbox:  Caught signal 2 in pid 2533


Exiting on signal 2
sandbox:  Signal already caught and busy still cleaning up!

/etc/portage/overlay/cross-psp/binutils/binutils-2.17.ebuild: src_unpack aborted; exiting.

$ sudo ebuild /etc/portage/overlay/cross-psp/binutils/binutils-2.17.ebuild setup unpack
 * binutils-2.17.tar.bz2 MD5 ;-) ...                                                                   [ ok ]
 * binutils-2.17.tar.bz2 RMD160 ;-) ...                                                                [ ok ]
 * binutils-2.17.tar.bz2 SHA1 ;-) ...                                                                  [ ok ]
 * binutils-2.17.tar.bz2 SHA256 ;-) ...                                                                [ ok ]
 * binutils-2.17.tar.bz2 size ;-) ...                                                                  [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 MD5 ;-) ...                                                [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 RMD160 ;-) ...                                             [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 SHA1 ;-) ...                                               [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 SHA256 ;-) ...                                             [ ok ]
 * binutils-2.17-uclibc-patches-1.0.tar.bz2 size ;-) ...                                               [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 MD5 ;-) ...                                                       [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 RMD160 ;-) ...                                                    [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 SHA1 ;-) ...                                                      [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 SHA256 ;-) ...                                                    [ ok ]
 * binutils-2.17-patches-1.1.tar.bz2 size ;-) ...                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                 [ ok ]
 * checking binutils-2.17.tar.bz2 ;-) ...                                                              [ ok ]
 * checking binutils-2.17-patches-1.1.tar.bz2 ;-) ...                                                  [ ok ]
 * checking binutils-2.17-uclibc-patches-1.0.tar.bz2 ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking binutils-2.17.tar.bz2 to /var/tmp/portage/sys-devel/binutils-2.17/work
sandbox:  Caught signal 2 in pid 1238
Interrupted.
sandbox:  Signal already caught and busy still cleaning up!

/var/portage/sys-devel/binutils/binutils-2.17.ebuild: src_unpack aborted; exiting.

emerge --info doesn't fit here, so will be coming in a bit.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2006-12-06 18:06:37 UTC
$ emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo i686)
=================================================================
System uname: 2.6.19-gentoo i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.6
Last Sync: Wed, 06 Dec 2006 02:50:01 +0000
dev-lang/python:     2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-tbird -O2 -fomit-frame-pointer"
DISTDIR="/var/dist"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests autoconfig autopatch cvs distlocks metadata-transfer notitles sandbox sfperms sign strict"
GENTOO_MIRRORS="        http://ftp.easynet.nl/mirror/gentoo     http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker --as-needed"
LINGUAS="en_GB en"
PKGDIR="/var/pkg"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/cvs/gentoo-x86 /etc/portage/overlay"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl akode alsa bidi bindist bitmap-fonts bzip2 cairo cdparanoia cjk cli cracklib cups dlloader dri dvd dvdread elibc_glibc flac gif iconv idn immqt input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jit jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lesstif libg++ linguas_en linguas_en_GB mbox mmx mmxext mplayer mudflap ncurses nls nntp nocxx nptl nptlonly objc objc++ objc-gc offensive ogg opengl pango pascal pcre pdf perl png ppds pppd qt3 readline reflection rtc scim sdl session source spell spl ssl symlink truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utempter video_cards_radeon vim-with-x vorbis wacom win32codecs xcomposite xim xorg xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zac Medico gentoo-dev 2006-12-07 01:02:04 UTC
This is fixed in svn r5201.
Comment 3 Zac Medico gentoo-dev 2006-12-08 14:14:28 UTC
This has been released in 2.1.2_rc3.
Comment 4 Zac Medico gentoo-dev 2006-12-08 14:15:20 UTC
fixed..