GNU bug report logs - #20453
Building on AIX 7.1 with GCC

Previous Next

Package: gzip;

Reported by: Sevan Janiyan <venture37 <at> geeklan.co.uk>

Date: Wed, 29 Apr 2015 02:44:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20453 in the body.
You can then email your comments to 20453 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#20453; Package gzip. (Wed, 29 Apr 2015 02:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sevan Janiyan <venture37 <at> geeklan.co.uk>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Wed, 29 Apr 2015 02:44:02 GMT) Full text and rfc822 format available.

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

From: Sevan Janiyan <venture37 <at> geeklan.co.uk>
To: bug-gzip <at> gnu.org
Cc: bug-gettext <at> gnu.org, bug-gnu-utils <at> gnu.org, bug-tar <at> gnu.org
Subject: Building on AIX 7.1 with GCC
Date: Wed, 29 Apr 2015 03:25:04 +0100
Hi,
Just ran into an issue which affects gzip, gettext & tar on AIX.

The configure tests for wctype.h & checks for the suitability of
wctype_t & wctrans_t.

It detects the presence of wctype.h but wctype_t & wctrans_t are
unsuitable at which point it tries to use its own bundled copy of
wctype.h. The build then fails as there's conflicting types for wctype_t
& wctrans_t.

In file included from quotearg.c:43:
./wctype.h:724: error: conflicting types for 'wctype_t'
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/ctype.h:119:
error: previous declaration of 'wctype_t' was here
./wctype.h:773: error: conflicting types for 'wctrans_t'
/usr/include/wctype.h:52: error: previous declaration of 'wctrans_t' was
here

bundled wctype.h:724 typedef void * wctype_t;
bundled wctype.h:773 typedef void * wctrans_t;

system wctype.h:52  typedef wint_t (*wctrans_t)();
gcc ctype.h:119 typedef unsigned int    wctype_t;

Passing ac_cv_header_wctype_h=no to the configure stage works but is a
work around for the issue.


Sevan




Information forwarded to bug-gzip <at> gnu.org:
bug#20453; Package gzip. (Wed, 29 Apr 2015 14:34:02 GMT) Full text and rfc822 format available.

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

From: Eric Blake <eblake <at> redhat.com>
To: Sevan Janiyan <venture37 <at> geeklan.co.uk>, bug-gzip <at> gnu.org
Cc: Bug-gnulib <bug-gnulib <at> gnu.org>, "bug-tar <at> gnu.org" <bug-tar <at> gnu.org>,
 bug-gnu-utils <at> gnu.org, bug-gettext <at> gnu.org
Subject: Re: [Bug-tar] Building on AIX 7.1 with GCC
Date: Wed, 29 Apr 2015 08:33:19 -0600
[Message part 1 (text/plain, inline)]
[adding gnulib]

On 04/28/2015 08:25 PM, Sevan Janiyan wrote:
> Hi,
> Just ran into an issue which affects gzip, gettext & tar on AIX.
> 
> The configure tests for wctype.h & checks for the suitability of
> wctype_t & wctrans_t.
> 
> It detects the presence of wctype.h but wctype_t & wctrans_t are
> unsuitable at which point it tries to use its own bundled copy of
> wctype.h. The build then fails as there's conflicting types for wctype_t
> & wctrans_t.
> 
> In file included from quotearg.c:43:

As this file is maintained upstream in gnulib, fixing the root cause
there will then percolate into all the other affected packages.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 02 Apr 2022 01:24:02 GMT) Full text and rfc822 format available.

Notification sent to Sevan Janiyan <venture37 <at> geeklan.co.uk>:
bug acknowledged by developer. (Sat, 02 Apr 2022 01:24:02 GMT) Full text and rfc822 format available.

Message #13 received at 20453-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sevan Janiyan <venture37 <at> geeklan.co.uk>
Cc: bug-gettext <at> gnu.org, bug-gnu-utils <at> gnu.org, 20453-done <at> debbugs.gnu.org,
 bug-tar <at> gnu.org
Subject: Re: bug#20453: Building on AIX 7.1 with GCC
Date: Fri, 1 Apr 2022 18:22:57 -0700
On 4/28/15 19:25, Sevan Janiyan wrote:

> Just ran into an issue which affects gzip, gettext & tar on AIX.

Thanks for reporting that seven years ago. I just now tried building 
bleeding-edge gzip and gettext 0.21 on AIX 7.1 with xlc, and it worked 
for me.

gzip no longer uses quotearg, and gettext 0.21 compiles quotearg OK, so 
I'll assume this problem was fixed in Gnulib quotearg a while ago and we 
just hadn't gotten around to closing the gzip bug report, which I'll do now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Apr 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 53 days ago.

Previous Next


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