while trying to emerger hteditor 0.9.0 I ran into the following problem g++ -O2 -fomit-frame-pointer -Wall -fsigned-char -o ht -lX11 -lncurses -L/usr/X11/lib -L/usr/ X11R6/lib htdoc.o blockop.o common.o cstream.o htendian.o formats.o htanaly.o htapp.o htatom.o htcfg.o htclipboard.o htcoff.o htcoffhd.o htctrl.o htdata.o htdebug.o htdialog.o htelf.o htelfhd.o htelfimg.o htelfphs.o htelfshs.o htelfsym.o htelfrel.o htfinfo.o htformat.o hthex.o hthist.o htidle.o htiobox.o htle.o htleent.o htlehead.o htleimg.o htleobj.o htlepage.o htmenu.o htmz.o htmzhead.o htmzimg.o htmzrel.o htne.o htneent.o htnehead.o htnenms.o htneobj.o htnewexe.o htobj.o htpal.o htpe.o htpedimp.o htpeexp.o htpehead.o htpeimg.o htpeimp.o htperes.o htreg.o htsearch.o htstring.o httag.o httree.o main.o store.o stream.o tools.o vxd.o vxdserv.o cplus-dem.o regex.o syntax.o textfile.o textedit.o classread.o classview.o htexcept.o httext.o hteval.o relfile.o process.o mfile.o elfstruc.o pestruct.o coff_s.o mzstruct.o defreg.o htdisasm.o htcoffimg.o nestruct.o htneimg.o htneimp.o cmds.o qword.o snprintf.o htpeil.o ilstruct.o log.o classimg.o terminal.o vfs.o vfsview.o htlevxd.o lestruct.o htmacho.o htmachohd.o machostruc.o htmachoimg.o fltstruc.o htflt.o htflthd.o htfltimg.o xbestruct.o htxbehead.o htxbe.o htxbeimg.o htxbeimp.o pefstruc.o htpef.o htpefhd.o htpefimg.o htpefimp.o cp-demangle.o analyser/libanalyser.a asm/libasm.a info/libinfo.a io/posix/ libhtio.a output/liboutput.a io/libcomio.a eval/libhteval.a minilzo/liblzo.a srt/libsrt.a /usr/bin/ld: warning -L: directory name (/usr/X11/lib) does not exist /usr/bin/ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regcomp.So) definition of _regcomp /usr/bin/ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regexec.So) definition of _regexec /usr/bin/ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regfree.So) definition of _regfree test -z "/usr/bin" || /var/tmp/portage/hteditor-0.9.0/work/ht-0.9.0/install-sh -d "/var/tmp/portage/ hteditor-0.9.0/image//usr/bin" /bin/sh: line 1: /var/tmp/portage/hteditor-0.9.0/work/ht-0.9.0/install-sh: Permission denied make[2]: *** [install-binPROGRAMS] Error 126 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" 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="autoconfig collision-protect distlocks 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.gentoo.org/gentoo-portage" USE="ppc emboss imagemagick nls png ppc-macos qt sdl slang tiff userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
latest version compiles fine. in prefix.