Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214455 - net-misc/neon-0.28.1 isn't prefix-aware
Summary: net-misc/neon-0.28.1 isn't prefix-aware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: Highest normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-23 23:04 UTC by Stuart Shelton
Modified: 2008-04-12 09:07 UTC (History)
0 users

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 Stuart Shelton 2008-03-23 23:04:27 UTC
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)
Comment 1 Fabian Groffen gentoo-dev 2008-03-23 23:13:20 UTC
I think IRIX will need CONFIG_SHELL to be set in the profile, like was the plan (is the case?) for AIX
Comment 2 Fabian Groffen gentoo-dev 2008-03-23 23:13:35 UTC
agree with jakub ;)
Comment 3 Fabian Groffen gentoo-dev 2008-04-03 13:44:06 UTC
does setting CONFIG_SHELL help?  If so, I'll add it to the profiles.
Comment 4 Stuart Shelton 2008-04-04 00:19:54 UTC
Yes - setting CONFIG_SHELL fixes all these problems :)
Comment 5 Fabian Groffen gentoo-dev 2008-04-11 14:55:40 UTC
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.
Comment 6 Fabian Groffen gentoo-dev 2008-04-12 09:07:48 UTC
Actually, you already said it works, so let's close this bug.  Please reopen if it doesn't.