GNU bug report logs - #24505
getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Thu, 22 Sep 2016 04:26:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24505: closed (getprogname vs. AIX [was: new snapshot
 available: grep-2.25.92-f3e9)
Date: Thu, 22 Sep 2016 19:18:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 22 Sep 2016 12:17:12 -0700
with message-id <CA+8g5KEFbAEgSCkE00o-wmUs8aRQk-LBi+b2Y-vG8YF4icqvyQ <at> mail.gmail.com>
and subject line Re: bug#24505: getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9
has caused the debbugs.gnu.org bug report #24505,
regarding getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24505: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24505
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: bug-grep <at> gnu.org, Assaf Gordon <assafgordon <at> gmail.com>
Subject: getprogname vs. AIX [was: new snapshot available: grep-2.25.92-f3e9
Date: Wed, 21 Sep 2016 21:25:19 -0700
[Message part 3 (text/plain, inline)]
Gordon reported this off-list:

>>>> On AIX-7.1 32bit, compilation fails due to gnulib's new 'getprogname'
>>>> module:
>>>>  CC       getprogname.o
>>>>  getprogname.c: In function 'getprogname':
>>>>  getprogname.c:45:4: error: #error "getprogname module not ported to this
>>>> OS"
>>>>  #  error "getprogname module not ported to this OS"

Thanks again for that report.
Here is a tentative patch (let's call it "pragmatic" -- it tests
explicitly for _AIX rather than a feature-test macro like
HAVE_GETPROCS64 and an additional macro from an autoconf test for the
existence of the procinfo.h header).

Can someone let me know if this solves the problem?
[gnulib-AIX-getprogname.diff (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 24505-done <at> debbugs.gnu.org
Subject: Re: bug#24505: getprogname vs. AIX [was: new snapshot available:
 grep-2.25.92-f3e9
Date: Thu, 22 Sep 2016 12:17:12 -0700
On Thu, Sep 22, 2016 at 9:14 AM, Jim Meyering <jim <at> meyering.net> wrote:
> On Thu, Sep 22, 2016 at 7:49 AM, Assaf Gordon <assafgordon <at> gmail.com> wrote:
...
> Thank you, Assaf.
> Good catch. I've made that correction and pushed to gnulib.

I have also pushed a grep commit to make it use the latest from gnulib:

  http://git.savannah.gnu.org/cgit/grep.git/commit/?id=4a86a5e728ae0152048dd9a65d681f324c8aea17

With that, building on AIX should at least get past that compilation failure.


This bug report was last modified 8 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.