Subject: Gcc3-c++ build failure on AIX 5.1
To: None <tech-pkg@netbsd.org>
From: Peter Schmiedeskamp <pschmied@yahoo.com>
List: tech-pkg
Date: 03/25/2004 10:00:07
My appologies if this somehow makes it to the list
twice.  I think somehow my attachment was (probably
rightly) causing this message to fail.  Oops.

I'm glacially moving forward on getting pkgsrc working
on AIX 5.1. Last I reported that the pkgsrc bootstrap
was working out-of-the-box. (woohoo!)

Now, the problem that I'm having is that I can't seem
to build gcc3-c++.  At first I just thought that the
compile was taking a really, really long time.  But
then after a couple of days I started getting
suspicious.  The ./configure checks started looking
very familiar.

I did a find for *.o files inside the work directory
and found that after a few hours, the number hit ~565
and didn't budge.

Here's a sample of the output to stderr:

############ begin output #################
In file included from ../../../../include/xregex.h:26,
                 from regex.c:195:
../../../../include/xregex2.h:548: warning: ISO C90
does not support `static' or type qualifiers in
parameter array declarators
regex.c: In function `xregcomp':
regex.c:8043: warning: signed and unsigned type in
conditional expression
regex.c: In function `xregerror':
regex.c:8178: warning: unused parameter `preg'
getopt.c: In function `_getopt_initialize':
getopt.c:396: warning: unused parameter `argc'
getopt.c:397: warning: unused parameter `argv'
In file included from ../../../../include/xregex.h:26,
                 from regex.c:195:
../../../../include/xregex2.h:548: warning: ISO C90
does not support `static' or type qualifiers in
parameter array declarators
regex.c: In function `xregcomp':
regex.c:8043: warning: signed and unsigned type in
conditional expression
regex.c: In function `xregerror':
regex.c:8178: warning: unused parameter `preg'
getopt.c: In function `_getopt_initialize':
getopt.c:396: warning: unused parameter `argc'
getopt.c:397: warning: unused parameter `argv'
In file included from ../../../../include/xregex.h:26,
                 from regex.c:195:
../../../../include/xregex2.h:548: warning: ISO C90
does not support `static' or type qualifiers in
parameter array declarators
regex.c: In function `xregcomp':
regex.c:8043: warning: signed and unsigned type in
conditional expression
regex.c: In function `xregerror':
regex.c:8178: warning: unused parameter `preg'
getopt.c: In function `_getopt_initialize':
getopt.c:396: warning: unused parameter `argc'
getopt.c:397: warning: unused parameter `argv'

############ end output ###############

So, it appears that the build is caught in a loop
where some part of the gcc3-c++ fails and then
retries.  The gcc3-c package seems to build fine.

Here is a URL to the full build logs:
http://homepage.mac.com/pschmied/gcc3-c++.log.gz

Also, I noticed a pkgsrc-bugs list was just announced.
 Is that the place for these sorts of queries now? 
I'd hate to inundate the wrong people with my AIX
woes.

As always, thank you all for the great work you all
do.  Pkgsrc is simply excellent.

-Peter

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html