tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
AIX 7.2 Bootstrap Fails on libarchive
Hi All - I'm restarting efforts to get pkgsrc going on AIX again after a
while. In the mean time I have updated the test host to AIX 7.2 (from
7.1). The last time pkgsrc really worked for me on AIX was back in 2009.
That said - I have been able to bootstrap recently on 7.1, only to have
problems later with other builds due to AIX-ld compatibility issues with
some packages (perl, gettext, others).
Bootstrap now fails at libarchive. Details are at the bottom. My command
line was:
LDFLAGS=-pthread ./bootstrap --prefix=/opt/pkg --abi 64 --compiler=gcc
--full --workdir /opt/pkg/obj/bootstrap
Using # gcc --version
gcc (GCC) 10.3.0
Any help would be fantastic. Thanks!
--
Louis
config.status: executing mkdirs commands
./build/autoconf/install-sh -c -d libarchive/test
cat ./libarchive/test/test_*.c | grep '^DEFINE_TEST' >
libarchive/test/list.h
./build/autoconf/install-sh -c -d tar/test
cat ./tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h
./build/autoconf/install-sh -c -d cpio/test
cat ./cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h
./build/autoconf/install-sh -c -d cat/test
cat ./cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h
./build/autoconf/install-sh -c -d unzip/test
cat ./unzip/test/test_*.c | grep '^DEFINE_TEST' > unzip/test/list.h
/opt/pkg/obj/bootstrap/bin/bmake all-am
CC cat/bsdcat-bsdcat.o
CC cat/bsdcat-cmdline.o
CC unzip/bsdunzip-bsdunzip.o
unzip/bsdunzip.c:298:2: error: expected specifier-qualifier-list before
'STAILQ_ENTRY'
298 | STAILQ_ENTRY(pattern) link;
| ^~~~~~~~~~~~
unzip/bsdunzip.c:302:1: warning: data definition has no type or storage
class
302 | STAILQ_HEAD(pattern_list, pattern);
| ^~~~~~~~~~~
unzip/bsdunzip.c:302:1: warning: type defaults to 'int' in declaration
of 'STAILQ_HEAD' [-Wimplicit-int]
unzip/bsdunzip.c:302:1: warning: parameter names (without types) in
function declaration
unzip/bsdunzip.c:303:15: error: variable 'include' has initializer but
incomplete type
303 | static struct pattern_list include =
STAILQ_HEAD_INITIALIZER(include);
| ^~~~~~~~~~~~
unzip/bsdunzip.c:303:38: warning: implicit declaration of function
'STAILQ_HEAD_INITIALIZER' [-Wimplicit-function-declaration]
303 | static struct pattern_list include =
STAILQ_HEAD_INITIALIZER(include);
| ^~~~~~~~~~~~~~~~~~~~~~~
unzip/bsdunzip.c:303:62: error: 'include' has an incomplete type 'struct
pattern_list'
303 | static struct pattern_list include =
STAILQ_HEAD_INITIALIZER(include);
|
^~~~~~~
unzip/bsdunzip.c:304:15: error: variable 'exclude' has initializer but
incomplete type
304 | static struct pattern_list exclude =
STAILQ_HEAD_INITIALIZER(exclude);
| ^~~~~~~~~~~~
unzip/bsdunzip.c:304:62: error: 'exclude' has an incomplete type 'struct
pattern_list'
304 | static struct pattern_list exclude =
STAILQ_HEAD_INITIALIZER(exclude);
|
^~~~~~~
unzip/bsdunzip.c: In function 'add_pattern':
unzip/bsdunzip.c:321:14: error: 'struct pattern' has no member named
'pattern'
321 | memcpy(entry->pattern, pattern, len + 1);
| ^~
unzip/bsdunzip.c:322:2: warning: implicit declaration of function
'STAILQ_INSERT_TAIL'; did you mean 'TAILQ_INSERT_TAIL'?
[-Wimplicit-function-declaration]
322 | STAILQ_INSERT_TAIL(list, entry, link);
| ^~~~~~~~~~~~~~~~~~
| TAILQ_INSERT_TAIL
unzip/bsdunzip.c: In function 'match_pattern':
unzip/bsdunzip.c:333:2: warning: implicit declaration of function
'STAILQ_FOREACH'; did you mean 'STAILQ_HEAD'?
[-Wimplicit-function-declaration]
333 | STAILQ_FOREACH(entry, list, link) {
| ^~~~~~~~~~~~~~
| STAILQ_HEAD
unzip/bsdunzip.c:333:35: error: expected ';' before '{' token
333 | STAILQ_FOREACH(entry, list, link) {
| ^~
| ;
unzip/bsdunzip.c:342:1: warning: no return statement in function
returning non-void [-Wreturn-type]
342 | }
| ^
unzip/bsdunzip.c: In function 'accept_pathname':
unzip/bsdunzip.c:352:7: warning: implicit declaration of function
'STAILQ_EMPTY'; did you mean 'SI_EMPTY'? [-Wimplicit-function-declaration]
352 | if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname))
| ^~~~~~~~~~~~
| SI_EMPTY
unzip/bsdunzip.c: At top level:
unzip/bsdunzip.c:303:28: error: storage size of 'include' isn't known
303 | static struct pattern_list include =
STAILQ_HEAD_INITIALIZER(include);
| ^~~~~~~
unzip/bsdunzip.c:304:28: error: storage size of 'exclude' isn't known
304 | static struct pattern_list exclude =
STAILQ_HEAD_INITIALIZER(exclude);
| ^~~~~~~
*** [unzip/bsdunzip-bsdunzip.o] Error code 1
bmake[1]: stopped in /opt/pkg/obj/bootstrap/libarchive
1 error
bmake[1]: stopped in /opt/pkg/obj/bootstrap/libarchive
*** [all] Error code 2
bmake: stopped in /opt/pkg/obj/bootstrap/libarchive
1 error
bmake: stopped in /opt/pkg/obj/bootstrap/libarchive
===> exited with status 2
aborted.
Home |
Main Index |
Thread Index |
Old Index