Recently, ebuild-helpers/sed has been moved to ebuild-helpers/bsd/sed . workaround, cp /usr/lib64/portage/bin/ebuild-helpers/bsd/sed /usr/lib64/portage/bin/ebuild-helpers/ emerge libxslt Reproducible: Always Steps to Reproduce: 1. emerge -u '>=portage-2.2.0_alpha124' 2. emerge dev-libs/libxslt 3. Actual Results: <snip> /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-freebsd9.1-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib xslt -I../libexslt -I.. -I../libxslt -I../libexslt -I/usr/include/libxml2 -O2 -pipe -Wall -O2 -pipe -Wall -c -o dynamic.lo dynamic.c gmake[2]: *** No rule to make target `../libxslt/libxslt.la', needed by `libexslt.la'. Stop. gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory `/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/work/libxslt-1.1.26/libexslt' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/work/libxslt-1.1.26' gmake: *** [all] Error 2 * ERROR: dev-libs/libxslt-1.1.26-r4 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/libxslt-1.1.26-r4'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libxslt-1.1.26-r4'`. * The complete build log is located at '/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/work/libxslt-1.1.26' * S: '/var/tmp/portage/dev-libs/libxslt-1.1.26-r4/work/libxslt-1.1.26' # emerge --info Portage 2.2.0_alpha129 (default/bsd/fbsd/amd64/9.1, gcc-4.6.3, freebsd-lib-9.1_rc1, 9.1_rc1-Gentoo amd64) ================================================================= System uname: FreeBSD-9.1_rc1-Gentoo-amd64-64bit-ELF Timestamp of tree: Tue, 18 Sep 2012 16:00:01 +0000 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.4, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-freebsd/freebsd-lib: 9.1_rc1::gentoo-bsd (virtual/os-headers) Repositories: gentoo ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-gentoo-freebsd9.1" CFLAGS="-O2 -pipe" CHOST="x86_64-gentoo-freebsd9.1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs chflags config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/" INSTALL_MASK="/usr/lib/systemd" LDFLAGS="" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl amd64-fbsd berkdb cracklib crypt cups cxx dri gdbm iconv ipv6 java5 java6 mmx modules multilib ncurses nls oss pam pcre python readline sse sse2 ssl tcpd unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="BSD" VIDEO_CARDS="vesa vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
# cat /var/tmp/portage/dev-libs/libxslt-1.1.26-r4/temp/* | grep helpers checking for a sed that does not truncate output... /usr/lib64/portage/bin/ebuild-helpers/bsd/sed declare -x PATH="/usr/lib64/portage/bin/ebuild-helpers/bsd:/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-gentoo-freebsd9.1/gcc-bin/4.6.3" /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found /usr/bin/libtoolize: /usr/lib64/portage/bin/ebuild-helpers/sed: not found hmmm... ok, I was able to fix it in the next step. 1. emerge sys-apps/portage 2. emerge sys-devel/libtool 3. emerge dev-libs/libxslt