pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/26730: pkgsrc bootstrap fails on AIX 5.2
>Number: 26730
>Category: pkg
>Synopsis: pkgsrc bootstrap fails on AIX 5.2
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 22 05:31:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Rumi Szabolcs
>Release: -current
>Organization:
>Environment:
AIX 5.2/gcc
>Description:
When I try to bootstrap pkgsrc on AIX 5.2 it fails with the
error messages included below.
I tried both the IBM-supplied gcc-2.9.aix51.020209-4 (rpm package)
and a self-compiled gcc-3.3.4 suite, the results are the same.
The output included obviously comes from the gcc-3.3.4 run:
===> bootstrap command: ./bootstrap --prefix=/opt/pkg --pkgdbdir=/opt/pkg/pkgdb
--sysconfdir=/opt/pkg/etc
===> bootstrap started: Sun Aug 22 06:40:39 DFT 2004
[...]
===> Building libnbcompat
===> running: /usr/bin/sh work/install-sh -d -o root -g system work/libnbcompat
===> running: (cd work/libnbcompat; /usr/bin/sh ./configure -C
--prefix=/opt/pkg --sysconfdir=/opt/pkg/etc && /opt/pkg/bin/bmake)
[...]
updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
gcc -o bits bits.c
./bits nbcompat/nbtypes.h
nawk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from
/opt/gcc-3.3.4/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.4/include/sys/inttypes.h:60,
from
/opt/gcc-3.3.4/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.4/include/sys/types.h:66,
from /usr/include/sys/param.h:39,
from nbcompat/nbconfig.h:719,
from nbcompat.h:36,
from glob.c:57:
/usr/include/stdint.h:45: error: `string' undeclared here (not in a function)
/usr/include/stdint.h:45: error: parse error before "typedef"
In file included from nbcompat.h:149,
from glob.c:57:
nbcompat/md5.h:43: error: syntax error before "void"
nbcompat/md5.h:44: error: parse error before "__P"
nbcompat/md5.h:45: error: parse error before "__P"
nbcompat/md5.h:47: error: parse error before "__P"
nbcompat/md5.h:48: error: parse error before "__P"
nbcompat/md5.h:49: error: parse error before "__P"
In file included from nbcompat.h:156,
from glob.c:57:
nbcompat/rmd160.h:27: error: syntax error before "typedef"
nbcompat/rmd160.h:35: error: syntax error before "void"
In file included from nbcompat.h:163,
from glob.c:57:
nbcompat/sha1.h:12: error: syntax error before "typedef"
nbcompat/sha1.h:18: error: parse error before "__P"
nbcompat/sha1.h:19: error: parse error before "__P"
nbcompat/sha1.h:20: error: parse error before "__P"
nbcompat/sha1.h:21: error: parse error before "__P"
nbcompat/sha1.h:23: error: parse error before "__P"
nbcompat/sha1.h:24: error: parse error before "__P"
nbcompat/sha1.h:25: error: parse error before "__P"
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/bootstrap/work/libnbcompat
===> exited with status 1
aborted.
>How-To-Repeat:
Do what I did.
It would be nice if someone could check this out on AIX 5.1 too.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index