[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Grep-devel] [platform-testers] new snapshot available: grep-2.25.10
From: |
Assaf Gordon |
Subject: |
Re: [Grep-devel] [platform-testers] new snapshot available: grep-2.25.107-f275 |
Date: |
Sat, 1 Oct 2016 16:08:12 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Hello Jim,
On 10/01/2016 01:30 PM, Jim Meyering wrote:
http://meyering.net/grep/grep-2.25.107-f275.tar.xz
Sorry to be the bearer of (nitpicked) bad news, but
this fails on AIX-7.1 and OpenSolaris 5.10.
AIX-7.1
=======
The culprit is the recent OpenBSD-5.1 progname commit
commit af62896a5bd7c63b9569813a0eff11b6b4ab665d
getprogname: avoid __progname vs program_invocation_short_name pitfall
which added "#ifdef HAVE_DECL___PROGNAME" to "lib/getprogname.c".
Somehow, on AIX this is defined, and so the "#elif _AIX" beneath it is never
reach.
The compilation fails with:
CCLD grep
ld: 0711-317 ERROR: Undefined symbol: __progname
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: error: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
I'm not sure why it gets defined.
I see the following:
$ grep PROGNAME *
config.h:#define HAVE_DECL___PROGNAME 1
config.h:/* #undef HAVE_GETPROGNAME */
config.hin:#undef HAVE_DECL___PROGNAME
config.hin:#undef HAVE_GETPROGNAME
config.log:| #define HAVE_DECL___PROGNAME 1
config.log:| #define HAVE_DECL___PROGNAME 1
[... repeated many times in config.log ...]
config.log:| #define HAVE_DECL___PROGNAME 1
config.log:#define HAVE_DECL___PROGNAME 1
config.status:D["HAVE_DECL___PROGNAME"]=" 1"
configure: # Loop through the user's path and test for each of PROGNAME-LIST
configure: # Loop through the user's path and test for each of PROGNAME-LIST
configure: # Loop through the user's path and test for each of PROGNAME-LIST
configure:#define HAVE_DECL___PROGNAME $ac_have_decl
Perhaps the 'configure' check is incomplete? (i.e. "$ac_have_decl" is
truncated?).
OpenSolaris 5.10
================
On both sparc and i86, the test 'grep-dir' fails.
Seems related to this:
+ grep -f a/
grep: a/: Is a directory
+ status_range 0 1
+ status=2
+ test 0 -le 2
+ test 2 -le 1
+ fail=1
Log attached.
I see the Dagobert Micheleson has setup automated testing on OpenSolaris,
and his builds do not fail
(https://buildfarm.opencsw.org/buildbot/waterfall?tag=ggrep),
so perhaps my testing environment is wonky (his builds are from git and use
'gmake',
mine are from tarball and use non-gnu 'make',
but we seem to be building on the same machines, 'unstable10x' and
'unstable10s').
regards,
-assaf
P.S.
I do not have vested interest in these platforms, it's just part of automated
testing on multiple systems...
so if these are not show-stoppers - that's fine with me.
grep-2.25.107-f275-tests-suite-OpenSolaris-5.10.log
Description: Text Data