Hi Joerg, at first, another problem came up: the GNU sed (textproc/gsed) seems to have a problem: /opt/room/pkgsrc/bootstrap/work/bin/pdksh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/zlib -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -O -maix32 -mcpu=power3 -c -o libarchive/archive_check_magic.lo libarchive/archive_check_magic.c /opt/pkgsrc/bin/gsed: -e expression #1, char 9: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 9: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted : ignoring unknown tag /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted /opt/pkgsrc/bin/gsed: -e expression #1, char 7: Memory exhausted : compile: cannot determine name of library object from `' *** Error code 1 Stop. bmake: stopped in /opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive *** Error code 1 Stop. bmake: stopped in /opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive *** Error code 1 Stop. bmake: stopped in /opt/room/pkgsrc/pkgtools/pkg_install WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile. *** Error code 1 Stop. bmake: stopped in /opt/room/pkgsrc/pkgtools/pkg_install ===> exited with status 1 aborted. I reproduce it when I use sth. like gsed -r 's/^ //g' <AIX.sys.mk (because Notes added a whitespace before each line while I copied it to avoid scp it twice ...) It seems, that during bootstrap, nbsed or /usr/bin/sed should be mandatory. Setting SED=/opt/pkgsrc/bin/nbsed won't fix it - so I removed /opt/pkgsrc/bin from the PATH. After all: ===> bootstrap ended: Thu Jul 3 20:50:10 MESZ 2008 So your patch fixed it fine (for those who really need to bootstrap and don't have GNU sed installed). Freundliche Grüße / Best Regards Jens Rehsack _________________________________________ Fa. Manß & Partner Phone: +49 - 214 - 30 - 41 562 Fax: +49 - 214 - 30 - 31 625 E-mail: jens.rehsack%bayerbbs.com@localhost Web: http://www.BayerBBS.com Geschäftsführung: Vorsitzender Andreas Resch | Arbeitsdirektor Norbert Fieseler Vorsitzender des Aufsichtsrats: Klaus Kühn Sitz der Gesellschaft: Leverkusen | Amtsgericht Köln, HRB 49895 Joerg Sonnenberger <joerg%britannica.bec.de@localhost> 03.07.2008 19:23 An gnats-bugs%NetBSD.org@localhost Kopie pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, jens.rehsack%bayerbbs.com@localhost Thema Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0) On Thu, Jul 03, 2008 at 05:10:05PM +0000, jens.rehsack%bayerbbs.com@localhost wrote: > It seems to work with warnings. OK, can you drop the attached file into pkgtools/bootstrap-mk-files/files/mods and see if that still works. E.g. try a bootstrap with a different --prefix argument. Joerg
Attachment:
AIX.sys.mk
Description: Binary data