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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

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.