the third package emerged after "emerge gentoolkit" called sed fails with the following error (i leave the whole output because i dont know better) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets ${MAKE}... yes checking for powerpc-apple-darwin-strip... no checking for strip... strip checking for powerpc-apple-darwin-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for powerpc-apple-darwin-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking whether -lcP is needed... no checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking for getline... no checking for obstacks... no checking for strverscmp... no checking for memchr... yes checking for memcmp... yes checking for memmove... yes checking for strerror... yes checking for mkstemp... yes checking for isatty... yes checking for bcopy... yes checking for bzero... yes checking for isascii... yes checking for memcpy... yes checking for memset... yes checking for strchr... yes checking for strtoul... yes checking for popen... yes checking for isblank... yes checking for fchmod... yes checking for setlocale... yes checking for mbrtowc... yes checking for wcrtomb... yes checking for wcscoll... yes checking how to build HTML documentation... with makeinfo checking build system type... powerpc-apple-darwin7.4.0 checking host system type... powerpc-apple-darwin checking for inline... inline checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... yes checking for strchr... (cached) yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... no checking for bison... bison checking version of bison... 1.28, ok configure: creating ./config.status config.status: creating bootstrap.sh config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating sed/Makefile config.status: creating testsuite/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: creating config.h config.status: linking ./lib/regex_.h to lib/regex.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile make all-recursive Making all in intl make[2]: Nothing to be done for `all'. Making all in lib if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \ -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \ then mv ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \ else rm -f ".deps/getopt1.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \ -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \ then mv ".deps/getopt.Tpo" ".deps/getopt.Po"; \ else rm -f ".deps/getopt.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT utils.o -MD -MP -MF ".deps/utils.Tpo" \ -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; \ then mv ".deps/utils.Tpo" ".deps/utils.Po"; \ else rm -f ".deps/utils.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getline.o -MD -MP -MF ".deps/getline.Tpo" \ -c -o getline.o `test -f 'getline.c' || echo './'`getline.c; \ then mv ".deps/getline.Tpo" ".deps/getline.Po"; \ else rm -f ".deps/getline.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT obstack.o -MD -MP -MF ".deps/obstack.Tpo" \ -c -o obstack.o `test -f 'obstack.c' || echo './'`obstack.c; \ then mv ".deps/obstack.Tpo" ".deps/obstack.Po"; \ else rm -f ".deps/obstack.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT strverscmp.o -MD -MP -MF ".deps/strverscmp.Tpo" \ -c -o strverscmp.o `test -f 'strverscmp.c' || echo './'`strverscmp.c; \ then mv ".deps/strverscmp.Tpo" ".deps/strverscmp.Po"; \ else rm -f ".deps/strverscmp.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT regex.o -MD -MP -MF ".deps/regex.Tpo" \ -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \ then mv ".deps/regex.Tpo" ".deps/regex.Po"; \ else rm -f ".deps/regex.Tpo"; exit 1; \ fi rm -f libsed.a ar cru libsed.a getopt1.o getopt.o utils.o getline.o obstack.o strverscmp.o regex.o ranlib libsed.a Making all in po make[2]: Nothing to be done for `all'. Making all in sed if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT sed.o -MD -MP -MF ".deps/sed.Tpo" \ -c -o sed.o `test -f 'sed.c' || echo './'`sed.c; \ then mv ".deps/sed.Tpo" ".deps/sed.Po"; \ else rm -f ".deps/sed.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT compile.o -MD -MP -MF ".deps/compile.Tpo" \ -c -o compile.o `test -f 'compile.c' || echo './'`compile.c; \ then mv ".deps/compile.Tpo" ".deps/compile.Po"; \ else rm -f ".deps/compile.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT execute.o -MD -MP -MF ".deps/execute.Tpo" \ -c -o execute.o `test -f 'execute.c' || echo './'`execute.c; \ then mv ".deps/execute.Tpo" ".deps/execute.Po"; \ else rm -f ".deps/execute.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT regex.o -MD -MP -MF ".deps/regex.Tpo" \ -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \ then mv ".deps/regex.Tpo" ".deps/regex.Po"; \ else rm -f ".deps/regex.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT fmt.o -MD -MP -MF ".deps/fmt.Tpo" \ -c -o fmt.o `test -f 'fmt.c' || echo './'`fmt.c; \ then mv ".deps/fmt.Tpo" ".deps/fmt.Po"; \ else rm -f ".deps/fmt.Tpo"; exit 1; \ fi gcc -O2 -pipe -o sed sed.o compile.o execute.o regex.o fmt.o ../lib/libsed.a Making all in doc make[2]: Nothing to be done for `all'. Making all in testsuite make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. >>> Test phase [not enabled]: sys-apps/sed-4.0.7 >>> Install sed-4.0.7 into /var/tmp/portage/sed-4.0.7/image/ category sys-apps Making install in intl if test "sed" = "gettext" \ && test '' = 'intl-compat.o'; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/lib /var/tmp/portage/sed-4.0.7/image//usr/include; \ /usr/bin/install -c -m 644 libintl.h /var/tmp/portage/sed-4.0.7/image//usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /usr/bin/install -c -m 644 libintl.a /var/tmp/portage/sed-4.0.7/image//usr/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/lib; \ temp=/var/tmp/portage/sed-4.0.7/image//usr/lib/t-charset.alias; \ dest=/var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; \ if test -f /var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; then \ orig=/var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test no = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/locale; \ test -f /var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias \ && orig=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/t-locale.alias; \ dest=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "sed" = "gettext"; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ chmod a+x /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; \ for file in $dists; do \ rm -f /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi Making install in lib make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in po if test "sed" = "gettext"; then \ /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/po; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi Making install in sed /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/bin mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/bin /usr/bin/install -c sed /var/tmp/portage/sed-4.0.7/image//usr/bin/sed make[2]: Nothing to be done for `install-data-am'. Making install in doc make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/info mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/share/info /usr/bin/install -c -m 644 ./sed.info /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info /usr/bin/install -c -m 644 ./sed.info-1 /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info-1 /usr/bin/install -c -m 644 ./sed.info-2 /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info-2 install-info --info-dir=/var/tmp/portage/sed-4.0.7/image//usr/share/info /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1 mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1 /usr/bin/install -c -m 644 ./sed.1 /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1/sed.1 Making install in testsuite make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. /usr/lib/portage/bin/dodoc: TODO does not exist. /usr/lib/portage/bin/dodoc: ANNOUNCE does not exist. man: gzipping man page: sed.1 info: gzipping GNU info page: sed.info gzipping GNU info page: sed.info-1 gzipping GNU info page: sed.info-2 prepallstrip: strip: strip: >>> Completed installing into /var/tmp/portage/sed-4.0.7/image/ * checking 16 files for package collisions existing file /usr/bin/sed is not owned by this package * spend 0.0788090229034 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package sys-apps/sed-4.0.7 NOT merged No package files given... Grabbing a set. Reproducible: Always Steps to Reproduce: 1.emerge gentoolkit 2. 3. Actual Results: Ben-Powers-Computer:~ bennyp$ emerge gentoolkit Calculating dependencies ...done! >>> emerge (1 of 10) sys-apps/sed-4.0.7 to / >>> md5 src_uri ;-) sed-4.0.7.tar.gz >>> Checking sed-4.0.7.tar.gz's mtime... >>> WORKDIR is up-to-date, keeping... >>> It appears that sed is already compiled; skipping. >>> (clean to force compilation) >>> Test phase [not enabled]: sys-apps/sed-4.0.7 >>> Install sed-4.0.7 into /var/tmp/portage/sed-4.0.7/image/ category sys-apps Making install in intl if test "sed" = "gettext" \ && test '' = 'intl-compat.o'; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/lib /var/tmp/portage/sed-4.0.7/image//usr/include; \ /usr/bin/install -c -m 644 libintl.h /var/tmp/portage/sed-4.0.7/image//usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /usr/bin/install -c -m 644 libintl.a /var/tmp/portage/sed-4.0.7/image//usr/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/lib; \ temp=/var/tmp/portage/sed-4.0.7/image//usr/lib/t-charset.alias; \ dest=/var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; \ if test -f /var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; then \ orig=/var/tmp/portage/sed-4.0.7/image//usr/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test no = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/locale; \ test -f /var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias \ && orig=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/t-locale.alias; \ dest=/var/tmp/portage/sed-4.0.7/image//usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "sed" = "gettext"; then \ /bin/sh ../mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ chmod a+x /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; \ for file in $dists; do \ rm -f /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi Making install in lib make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in po if test "sed" = "gettext"; then \ /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/po; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /var/tmp/portage/sed-4.0.7/image//usr/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi Making install in sed /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/bin mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/bin /usr/bin/install -c sed /var/tmp/portage/sed-4.0.7/image//usr/bin/sed make[2]: Nothing to be done for `install-data-am'. Making install in doc make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/info mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/share/info /usr/bin/install -c -m 644 ./sed.info /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info /usr/bin/install -c -m 644 ./sed.info-1 /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info-1 /usr/bin/install -c -m 644 ./sed.info-2 /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info-2 install-info --info-dir=/var/tmp/portage/sed-4.0.7/image//usr/share/info /var/tmp/portage/sed-4.0.7/image//usr/share/info/sed.info /bin/sh ../config/mkinstalldirs /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1 mkdir -p -- /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1 /usr/bin/install -c -m 644 ./sed.1 /var/tmp/portage/sed-4.0.7/image//usr/share/man/man1/sed.1 Making install in testsuite make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. /usr/lib/portage/bin/dodoc: TODO does not exist. /usr/lib/portage/bin/dodoc: ANNOUNCE does not exist. man: gzipping man page: sed.1 info: gzipping GNU info page: sed.info gzipping GNU info page: sed.info-1 gzipping GNU info page: sed.info-2 prepallstrip: strip: strip: >>> Completed installing into /var/tmp/portage/sed-4.0.7/image/ * checking 16 files for package collisions existing file /usr/bin/sed is not owned by this package * spend 0.00780320167542 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package sys-apps/sed-4.0.7 NOT merged No package files given... Grabbing a set. Expected Results: i suppose it should have emerged succesfully Ben-Powers-Computer:~ bennyp$ emerge info !!! Using `which gcc` to gcc locate version, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power Macintosh powerpc) ================================================================= System uname: 7.4.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.57 Automake: sys-devel/automake-1.6.3 Binutils: ACCEPT_KEYWORDS="macos ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect cvs keepwork" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos berkdb ldap mysql perl python ruby" Apple iBook G4 12" (the latest model) only other programs running would have been firefox and fire
Try sed-4.0.9, then add an alias for sed to gsed.
i tried sed 409 and this is what happened white:~ bennyp$ ACCEPT_KEYWORDS="~ppc" emerge =sed-4.0.9 Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/sed-4.0.9 to / >>> Downloading http://gentoo.osuosl.org/distfiles/sed-4.0.9.tar.gz ######################################################################## 100.0% >>> md5 src_uri ;-) sed-4.0.9.tar.gz >>> Unpacking source... >>> Unpacking sed-4.0.9.tar.gz to /var/tmp/portage/sed-4.0.9/work >>> Source unpacked. * Using GNU config files from /usr/share/gnuconfig * Updating config/config.sub [ ok ] * Updating config/config.guess [ ok ] configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for powerpc-apple-darwin-strip... no checking for strip... strip checking for powerpc-apple-darwin-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for powerpc-apple-darwin-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking whether -lcP is needed... no checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ssize_t... yes checking for working alloca.h... yes checking for alloca... yes checking for vprintf... yes checking for _doprnt... no checking for getline... no checking for obstacks... no checking for strverscmp... no checking whether mbrtowc and mbstate_t are properly declared... yes checking for mbstate_t... yes checking for memchr... yes checking for memcmp... yes checking for memmove... yes checking for strerror... yes checking for mkstemp... yes checking for isatty... yes checking for bcopy... yes checking for bzero... yes checking for isascii... yes checking for memcpy... yes checking for memset... yes checking for strchr... yes checking for strtoul... yes checking for popen... yes checking for isblank... yes checking for fchmod... yes checking for setlocale... yes checking for wcrtomb... yes checking for wcscoll... yes checking how to build HTML documentation... with makeinfo checking build system type... powerpc-apple-darwin7.4.0 checking host system type... powerpc-apple-darwin checking for inline... inline checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... yes checking for strchr... (cached) yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... no checking for bison... bison checking version of bison... 1.28, ok configure: creating ./config.status config.status: creating bootstrap.sh config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating sed/Makefile config.status: creating testsuite/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: creating config.h config.status: linking ./lib/regex_.h to lib/regex.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile make all-recursive Making all in intl make[2]: Nothing to be done for `all'. Making all in lib if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; \ then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT getline.o -MD -MP -MF ".deps/getline.Tpo" -c -o getline.o getline.c; \ then mv -f ".deps/getline.Tpo" ".deps/getline.Po"; else rm -f ".deps/getline.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT obstack.o -MD -MP -MF ".deps/obstack.Tpo" -c -o obstack.o obstack.c; \ then mv -f ".deps/obstack.Tpo" ".deps/obstack.Po"; else rm -f ".deps/obstack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT strverscmp.o -MD -MP -MF ".deps/strverscmp.Tpo" -c -o strverscmp.o strverscmp.c; \ then mv -f ".deps/strverscmp.Tpo" ".deps/strverscmp.Po"; else rm -f ".deps/strverscmp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -O2 -pipe -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \ then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi rm -f libsed.a ar cru libsed.a getopt1.o getopt.o utils.o getline.o obstack.o strverscmp.o regex.o ranlib libsed.a Making all in po make[2]: Nothing to be done for `all'. Making all in sed if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT sed.o -MD -MP -MF ".deps/sed.Tpo" -c -o sed.o sed.c; \ then mv -f ".deps/sed.Tpo" ".deps/sed.Po"; else rm -f ".deps/sed.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT compile.o -MD -MP -MF ".deps/compile.Tpo" -c -o compile.o compile.c; \ then mv -f ".deps/compile.Tpo" ".deps/compile.Po"; else rm -f ".deps/compile.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.c; \ then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT regexp.o -MD -MP -MF ".deps/regexp.Tpo" -c -o regexp.o regexp.c; \ then mv -f ".deps/regexp.Tpo" ".deps/regexp.Po"; else rm -f ".deps/regexp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -MT fmt.o -MD -MP -MF ".deps/fmt.Tpo" -c -o fmt.o fmt.c; \ then mv -f ".deps/fmt.Tpo" ".deps/fmt.Po"; else rm -f ".deps/fmt.Tpo"; exit 1; fi gcc -O2 -pipe -o sed sed.o compile.o execute.o regexp.o fmt.o ../lib/libsed.a Making all in doc make[2]: Nothing to be done for `all'. Making all in testsuite make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. >>> Test phase [not enabled]: sys-apps/sed-4.0.9 >>> Install sed-4.0.9 into /var/tmp/portage/sed-4.0.9/image/ category sys-apps Making install in intl if test "sed" = "gettext" \ && test '' = 'intl-compat.o'; then \ mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/lib /var/tmp/portage/sed-4.0.9/image//usr/include; \ /usr/bin/install -c -m 644 libintl.h /var/tmp/portage/sed-4.0.9/image//usr/include/libintl.h; \ @LIBTOOL@ --mode=install \ /usr/bin/install -c -m 644 libintl.a /var/tmp/portage/sed-4.0.9/image//usr/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/lib; \ temp=/var/tmp/portage/sed-4.0.9/image//usr/lib/t-charset.alias; \ dest=/var/tmp/portage/sed-4.0.9/image//usr/lib/charset.alias; \ if test -f /var/tmp/portage/sed-4.0.9/image//usr/lib/charset.alias; then \ orig=/var/tmp/portage/sed-4.0.9/image//usr/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test no = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/share/locale; \ test -f /var/tmp/portage/sed-4.0.9/image//usr/share/locale/locale.alias \ && orig=/var/tmp/portage/sed-4.0.9/image//usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/var/tmp/portage/sed-4.0.9/image//usr/share/locale/t-locale.alias; \ dest=/var/tmp/portage/sed-4.0.9/image//usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "sed" = "gettext"; then \ mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/$file; \ done; \ chmod a+x /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; \ for file in $dists; do \ rm -f /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi Making install in lib make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. Making install in po if test "sed" = "gettext"; then \ mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/po; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /var/tmp/portage/sed-4.0.9/image//usr/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi Making install in sed mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/bin /usr/bin/install -c sed /var/tmp/portage/sed-4.0.9/image//usr/bin/sed make[2]: Nothing to be done for `install-data-am'. Making install in doc make[2]: Nothing to be done for `install-exec-am'. mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/share/info /usr/bin/install -c -m 644 ./sed.info /var/tmp/portage/sed-4.0.9/image//usr/share/info/sed.info /usr/bin/install -c -m 644 ./sed.info-1 /var/tmp/portage/sed-4.0.9/image//usr/share/info/sed.info-1 /usr/bin/install -c -m 644 ./sed.info-2 /var/tmp/portage/sed-4.0.9/image//usr/share/info/sed.info-2 install-info --info-dir=/var/tmp/portage/sed-4.0.9/image//usr/share/info /var/tmp/portage/sed-4.0.9/image//usr/share/info/sed.info mkdir -m 0755 -p -- /var/tmp/portage/sed-4.0.9/image//usr/share/man/man1 /usr/bin/install -c -m 644 ./sed.1 /var/tmp/portage/sed-4.0.9/image//usr/share/man/man1/sed.1 Making install in testsuite make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. man: gzipping man page: sed.1 info: gzipping GNU info page: sed.info gzipping GNU info page: sed.info-1 gzipping GNU info page: sed.info-2 prepallstrip: strip: strip: >>> Completed installing into /var/tmp/portage/sed-4.0.9/image/ * checking 16 files for package collisions existing file /usr/bin/sed is not owned by this package * spend 0.131890058517 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package sys-apps/sed-4.0.9 NOT merged No package files given... Grabbing a set.
You need to emerge system. The sed-4.0.9 ebuild has been recently modified to work on macos. Additionally, by installing sed-4.0.7 earlier, you overwrote the bsd sed that came with macos. I made the same mistake myself, and fixed it by unmerging sed-4.0.7 and replacing the sed that I had on my machine with the one on a friend's machine. Check to make sure that you have the bsd sed by running /usr/bin/sed -V. The gnu sed will print version info, the bsd sed will error. Don't forget to alias sed=gsed in your bashrc once you have 4.0.9 emerged. (This alias is in the process of being incorporated into a default macos bashrc, but hasn't been done yet.)
fixed. profile.bashrc provides alias sed=gsed , emerge system installs gsed profile.bashrc feature is in portage.51_pre17 and _pre18. An updated installer will be available soon. If you disable collision-protection you can emerge these portages if you unmask them from package.mask
Closing out bugs that've been resolved for a while now...