neon (which is required for subversion, which is required to update prefix portage) doesn't appear to be prefix-aware, as it seems to call '/bin/sh' assuming that this will be bash-compatible: >>> Install neon-0.28.1 into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image/opt/portage/ category net-misc make[1]: Entering directory `/usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/work/neon-0.28.1/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/work/neon-0.28.1/src' /opt/portage/usr/bin/install -c -d /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib /bin/sh ./libtool --mode=install /opt/portage/usr/bin/install -c src/libneon.la \ /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.la /opt/portage/usr/bin/install -c src/.libs/libneon.so.28.1 /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.so.28.1 (cd /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib && { ln -s -f libneon.so.28.1 libneon.so.28 || { rm -f libneon.so.28 && ln -s libneon.so.28.1 libneon.so.28; }; }) (cd /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib && { ln -s -f libneon.so.28.1 libneon.so || { rm -f libneon.so && ln -s libneon.so.28.1 libneon.so; }; }) (cd /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib && { ln -s -f libneon.so.28.1 libneon.so || { rm -f libneon.so && ln -s libneon.so.28.1 libneon.so; }; }) /opt/portage/usr/bin/install -c src/.libs/libneon.lai /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.la /opt/portage/usr/bin/install -c src/.libs/libneon.a /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.a chmod 644 /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.a : /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/libneon.a libtool: install: warning: remember to run `libtool --finish /opt/portage/usr/lib' /opt/portage/usr/bin/install -c -d /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_request.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_session.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_utils.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_uri.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_socket.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_basic.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_207.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_props.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_xml.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_dates.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_string.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_defs.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_locks.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_alloc.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_md5.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_i18n.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_redirect.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_auth.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_compress.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_acl.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_ssl.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_xmlreq.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon Installing ne_pkcs11.h into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/include/neon /opt/portage/usr/bin/install -c -d /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/bin Installing neon-config into /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/bin /opt/portage/usr/bin/install -c -d /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/pkgconfig /opt/portage/usr/bin/install -c -m 644 neon.pc /usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/image//opt/portage/usr/lib/pkgconfig/neon.pc /bin/sh: syntax error at line 1 : `;' unexpected make: *** [install-nls-yes] Error 2 * ERROR: net-misc/neon-0.28.1 failed: * emake install failed * * Call stack: * ebuild.sh: 49: <call src_install> * environment:2886: emake DESTDIR="${D}" install-lib install-headers install-config install-nls || die "emake install failed"; * * If you need support, post the topmost build error, and the call stack if relevant. * build log: '/usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/temp/build.log' * ebuild environment: '/usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/temp/environment' * S: '/usr/opt/portage/var/tmp/portage/net-misc/neon-0.28.1/work/neon-0.28.1' This can be fixed by invoking 'CONFIG_SHELL="$( which bash )" SHELL="$( which bash )" emerge -v =net-misc/neon-0.28.1' which uses (on my system) '/opt/portage/usr/bin/bash' instead of '/bin/sh'. (I'm not sure if 'SHELL' also needs to be specified - 'CONFIG_SHELL' may be sufficient)
I think IRIX will need CONFIG_SHELL to be set in the profile, like was the plan (is the case?) for AIX
agree with jakub ;)
does setting CONFIG_SHELL help? If so, I'll add it to the profiles.
Yes - setting CONFIG_SHELL fixes all these problems :)
I added it to the IRIX profile. Please report back if this works out of the box. If so, we may have to consider doing this for all profiles.
Actually, you already said it works, so let's close this bug. Please reopen if it doesn't.