Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383285 - Bootstrap with latest_tree fails: net-misc/wget-1.13.3-r2 unpack: xz: command not found
Summary: Bootstrap with latest_tree fails: net-misc/wget-1.13.3-r2 unpack: xz: command...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383277
  Show dependency tree
 
Reported: 2011-09-16 22:25 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2011-09-21 19:58 UTC (History)
1 user (show)

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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-16 22:25:37 UTC
* Package:    net-misc/wget-1.13.3-r2
 * Repository: gentoo_prefix
 * USE:        bootstrap elibc_Darwin kernel_Darwin prefix userland_GNU x64-macos
 * FEATURES:   nostrip preserve-libs
>>> Unpacking source...
>>> Unpacking wget-1.13.3.tar.xz to /Volumes/gentoo-prefix/var/tmp/portage/net-misc/wget-1.13.3-r2/work
/Volumes/gentoo-prefix/usr/lib/portage/bin/ebuild.sh: line 376: xz: command not found
 * ERROR: net-misc/wget-1.13.3-r2 failed (unpack phase):
 *   failure unpacking wget-1.13.3.tar.xz
 * 
 * Call stack:
 *               ebuild.sh, line   62:  Called src_unpack
 *             environment, line 2539:  Called _eapi0_src_unpack
 *               ebuild.sh, line  626:  Called unpack 'wget-1.13.3.tar.xz'
 *               ebuild.sh, line  458:  Called _unpack_tar 'xz -d'
 *               ebuild.sh, line  377:  Called assert_sigpipe_ok 'failure unpacking wget-1.13.3.tar.xz'
 *   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 =net-misc/wget-1.13.3-r2',
 * the complete build log and the output of 'emerge -pqv =net-misc/wget-1.13.3-r2'.
 * The complete build log is located at '/Volumes/gentoo-prefix/var/tmp/portage/net-misc/wget-1.13.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/gentoo-prefix/var/tmp/portage/net-misc/wget-1.13.3-r2/temp/environment'.
 * S: '/Volumes/gentoo-prefix/var/tmp/portage/net-misc/wget-1.13.3-r2/work/wget-1.13.3'

This is while running "emerge --oneshot --nodeps wget" from Code Listing 1.6 from http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

Running "emerge --oneshot --nodeps xz-utils" is successful and also fixes issue with wget. Please consider updating the docs.
Comment 1 Tim Harder gentoo-dev 2011-09-18 23:09:26 UTC
I added an explicit build dependency on xz-utils in wget-1.13.4 so this might be fixed now.
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-18 23:20:11 UTC
(In reply to comment #1)
> I added an explicit build dependency on xz-utils in wget-1.13.4 so this might
> be fixed now.

Not really because the guide tells you to use --nodeps.
Comment 3 Fabian Groffen gentoo-dev 2011-09-19 14:07:10 UTC
we should just emerge xz-utils even earlier in the process then
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-19 17:19:48 UTC
(In reply to comment #3)
> we should just emerge xz-utils even earlier in the process then

This sounds good. Could you please update the bootstrap docs then? Please let me know if you'd like me to produce patches or something, or do more testing.

Note that I think all Prefix platforms are affected by this, so that would mean updating more than one guide.
Comment 5 Fabian Groffen gentoo-dev 2011-09-21 19:58:28 UTC
xz-utils moved up before wget, works on Darwin