Summary: | coreutils compile fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dan Egli <dan> |
Component: | [OLD] Core system | Assignee: | Seemant Kulleen (RETIRED) <seemant> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | griffon26, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan Egli
2004-12-12 09:20:32 UTC
[ -n ] is undefined behavior isnt it ? no, -n means Non-zero string length. So [ -n abc123 ] && echo Present or export TS='abc123' [ -n $TS ] && echo Present should echo present, where as something like this: unset TS [ -n $TS ] && echo Present should not echo ANYTHING becase the result should be a false indicator (the string is NOT a Non-zero length string, it is a zero length string) read test's man page again. I think you have misinterpreted the man page. unset TS [ -n $TS ] && echo Present should give "Present" because you're feeding ] to test -n (it's a shell thing). However, unset TS [ -n "${TS}" ] && echo Present should not give any output. This is not a bug in test. the point of this bug isnt test / -n, it's that coreutils fails I know that, I just didn't want it to go in the wrong direction.
Here's what really is the problem (after removing &> /dev/null from the aclocal call)
>>> Source unpacked.
* Reconfiguring configure scripts (be patient) ...
am-wrapper: /usr/bin/aclocal-1.8 is missing or not executable.
Please try emerging the correct version of automake.
!!! ERROR: sys-apps/coreutils-5.2.1-r2 failed.
!!! Function src_compile, Line 92, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
This is during an emerge system from a stage1 install.
Only automake 1.9.3 and autoconf 2.13 and 2.59-r6 are installed.
Seems like the WANT_AUTOMAKE=1.8 is the culprit.
Changing coreutils' dependency from ">=sys-devel/automake-1.8.3" to "=sys-devel/automake-1.8*" fixes it for me, but I don't know if coreutils can really only work with 1.8. fixed in coreutils-5.2.1-r3 Untill this new version is pushed to the Rsync servers, I cannot test. When I am able to get a newer version I will attempt to verify. |