NetBSD Problem Report #39064

From www@NetBSD.org  Sun Jun 29 11:16:30 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9118663B970
	for <gnats-bugs@gnats.netbsd.org>; Sun, 29 Jun 2008 11:16:30 +0000 (UTC)
Message-Id: <20080629111630.5E2D363B89E@narn.NetBSD.org>
Date: Sun, 29 Jun 2008 11:16:30 +0000 (UTC)
From: jens.rehsack@bayerbbs.com
Reply-To: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Subject: Cannot bootstrap pkgsrc on AIX 5.3.0.0
X-Send-Pr-Version: www-1.0

>Number:         39064
>Category:       pkg
>Synopsis:       Cannot bootstrap pkgsrc on AIX 5.3.0.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    aix-pkg-people
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 29 11:20:00 +0000 2008
>Closed-Date:    
>Last-Modified:  Mon Dec 17 10:35:04 +0000 2012
>Originator:     Jens Rehsack
>Release:        pkgsrc-2008Q1
>Organization:
Bayer Business Services
>Environment:
AIX ue9e 3 5 00CAC12F4C00
>Description:
I tried to bootstrap pkgsrc-2008Q1 on an powerpc-ibm-aix5.3.0.0 and it fails compiling/testing bmake.

Because in former project we had problems with changing target locations (e.g. build into ~/project/bin and ~/project/lib and distribute it into
/opt/project/...), we decided to build our required pkgsrc packages in a chroot, create an rpm from /opt/pkgsrc/ there and distribute it anywhere into /opt/pkgsrc.

Now I chroot /opt/myroot/ and cd /opt/room/pkgsrc/bootstrap. Than I typed ./bootstrap and let it run. After a few minutes, the unit-test of bmake "freezes". I breaked it after a few hours and took a look into the makefiles there, removed the '@' and see, that the dotwait test fails after the simple test. Output at the end was:
simple.1
simple.1
simple.2
simple.2

And that's all - nothing more.

On the machine is an Visual Age C Compiler installed (but not used) and a gcc-4.2.0 (but the gcc3 we tried before had the same behaviour). 
>How-To-Repeat:
Boostrap pkgsrc-2008Q1
>Fix:
Probably same as
 PR pkg/38397
 PR pkg/38450
 PR pkg/38221
on Solaris and IRIX.

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/39064: Cannot bootstrap pkgsrc on AIX 5.3.0.0
Date: Sun, 29 Jun 2008 20:57:16 +0900

 Following patch for pkgsrc-2008Q1 may be workaround for the issue:

 Index: bmake/files/Makefile.in
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/bmake/files/Makefile.in,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile.in
 --- bmake/files/Makefile.in	11 Mar 2008 17:20:05 -0000	1.7
 +++ bmake/files/Makefile.in	29 Jun 2008 11:53:24 -0000
 @@ -133,4 +133,8 @@

  # A simple unit-test driver to help catch regressions
  accept test:
 +.if ${OS} != "SunOS" && empty(OS:MIRIX*) && ${OS} != "AIX"
 	cd ${.CURDIR}/unit-tests && ${.MAKE:S,^./,${.CURDIR}/,} TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
 +.else
 +	true
 +.endif

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 03 Jul 2008 08:19:05 +0000
State-Changed-Why:
Would you confirm the patch sent before this avoid this issue?
I want to commit before pkgsrc-2008Q2 branch.


From: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
	"OBATA Akio" <obache@netbsd.org>,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 10:53:35 +0200

 Hi Akio (is it right or is the calling name Obata?),

 I used another fixing line, but AIX' diff can't create unified diffs and I =

 at first want to fixup all issues I found before I submit the PR's.

 136c136
 < .if ${OS} !=3D "SunOS" && empty(OS:MIRIX*)
 ---
 > .if ${OS} !=3D "SunOS" && empty(OS:MIRIX*) && empty(OS:MAIX*)

 This works at this point for me.

 I encounter another problem, libfetch is created using ar [...] `NM=3Dnm=20
 loder ... | tsort -q`

 IBM's tsort doesn't support -q - that's why it fails completely to create=20
 libfetch.a which forces pkg=5Finstall fails to build.
 The failing libfetch.a creation is not detected.
 tsort without -q fails by printing 'cycle detected' or similar - finally=20
 we created libfetch.a by hand with just typing the *.o files and it works.
 I cannot provide a patch before 2008Q2, because I must get it run (incl.=20
 some development on top and some porting of our
 existing perl framework from linux) until end of july - after that I will=20
 start to create all relevant patches and submit them, including
 updated pkg's (perl-packages) and new pkg's (even perl related).

 Further, because we only have Lotus Notes Mail in Office, I planned to=20
 collect the PR's and submit them from private mail at home.

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F

 Fa. Man=DF & Partner
 Phone: +49 - 214 - 30 - 41 562
 Fax: +49 - 214 - 30 - 31 625
 E-mail: jens.rehsack@bayerbbs.com
 Web: http://www.BayerBBS.com

 Gesch=E4ftsf=FChrung: Vorsitzender Andreas Resch   |   Arbeitsdirektor Norb=
 ert=20
 Fieseler
 Vorsitzender des Aufsichtsrats: Klaus K=FChn
 Sitz der Gesellschaft: Leverkusen   |   Amtsgericht K=F6ln, HRB 49895




 obache@NetBSD.org=20
 03.07.2008 10:19
 Bitte antworten an
 gnats-bugs@NetBSD.org


 An
 pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,=20
 obache@NetBSD.org, jens.rehsack@bayerbbs.com
 Kopie

 Thema
 Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0)






 Synopsis: Cannot bootstrap pkgsrc on AIX 5.3.0.0

 State-Changed-From-To: open->feedback
 State-Changed-By: obache@NetBSD.org
 State-Changed-When: Thu, 03 Jul 2008 08:19:05 +0000
 State-Changed-Why:
 Would you confirm the patch sent before this avoid this issue?
 I want to commit before pkgsrc-2008Q2 branch.





From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39064 CVS commit: pkgsrc/devel/bmake/files
Date: Thu,  3 Jul 2008 11:28:53 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jul  3 11:28:53 UTC 2008

 Modified Files:
 	pkgsrc/devel/bmake/files: Makefile.in

 Log Message:
 Disable bmake regression tests also on AIX. PR 39064.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 pkgsrc/devel/bmake/files/Makefile.in

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 13:32:07 +0200

 On Thu, Jul 03, 2008 at 10:00:06AM +0000, jens.rehsack@bayerbbs.com wrote:
 >  I encounter another problem, libfetch is created using ar [...] `NM=3Dnm=20
 >  loder ... | tsort -q`

 Can you try just removing the -q argument from
 pkgtools/bootstrap-mk-files/files/sys.mk? Look for TSORT in it.

 BTW, are you using XLC or GCC? I tried to fix a bunch of breakage on AIX
 a while with the help of hardware time donated by IBM, but run into
 various issues with X11 and my own time.

 Joerg

From: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 19:06:31 +0200

 I rebuild devel/libfetch by modifying /opt/pkgsrc/share/mk/sys.mk, because =

 I don't want to risk that bootstrap brings in already fixed problems:
 The result:
 building standard fetch library
 ar cq libfetch.a `NM=3Dnm lorder fetch.o common.o ftp.o http.o file.o |=20
 tsort`
 tsort: 0654-504 The data contains a repeating cycle.
 tsort: common.o
 tsort: fetch.o
 tsort: 0654-504 The data contains a repeating cycle.
 tsort: ftp.o
 tsort: http.o
 tsort: common.o
 ranlib libfetch.a
 =3D> Unwrapping files-to-be-installed.
 ue9e:/opt/room/pkgsrc/net/libfetch # ar -t work/libfetch-2.14/libfetch.a
 fetch.o
 file.o
 http.o
 ftp.o
 common.o

 It seems to work with warnings.

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F

 Fa. Man=DF & Partner
 Phone: +49 - 214 - 30 - 41 562
 Fax: +49 - 214 - 30 - 31 625
 E-mail: jens.rehsack@bayerbbs.com
 Web: http://www.BayerBBS.com

 Gesch=E4ftsf=FChrung: Vorsitzender Andreas Resch   |   Arbeitsdirektor Norb=
 ert=20
 Fieseler
 Vorsitzender des Aufsichtsrats: Klaus K=FChn
 Sitz der Gesellschaft: Leverkusen   |   Amtsgericht K=F6ln, HRB 49895




 Joerg Sonnenberger <joerg@britannica.bec.de>=20
 03.07.2008 13:35
 Bitte antworten an
 gnats-bugs@NetBSD.org


 An
 pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,=20
 jens.rehsack@bayerbbs.com
 Kopie

 Thema
 Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX 5.3.0.0)






 The following reply was made to PR pkg/39064; it has been noted by GNATS.

 From: Joerg Sonnenberger <joerg@britannica.bec.de>
 To: gnats-bugs@NetBSD.org
 Cc:=20
 Subject: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc on AIX=20
 5.3.0.0)
 Date: Thu, 3 Jul 2008 13:32:07 +0200

  On Thu, Jul 03, 2008 at 10:00:06AM +0000, jens.rehsack@bayerbbs.com=20
 wrote:
  >  I encounter another problem, libfetch is created using ar [...]=20
 `NM=3D3Dnm=3D20
  >  loder ... | tsort -q`
 =20
  Can you try just removing the -q argument from
  pkgtools/bootstrap-mk-files/files/sys.mk? Look for TSORT in it.
 =20
  BTW, are you using XLC or GCC? I tried to fix a bunch of breakage on AIX
  a while with the help of hardware time donated by IBM, but run into
  various issues with X11 and my own time.
 =20
  Joerg
 =20


From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	jens.rehsack@bayerbbs.com
Subject: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc
	on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 19:23:58 +0200

 --zhXaljGHf11kAtnf
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 On Thu, Jul 03, 2008 at 05:10:05PM +0000, jens.rehsack@bayerbbs.com 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

 --zhXaljGHf11kAtnf
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="AIX.sys.mk"

 #	$NetBSD: sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
 #	@(#)sys.mk	8.2 (Berkeley) 3/21/94

 unix?=		We run Unix
 OS!=		uname -s

 .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
 .SUFFIXES: .sh .m4

 .LIBS:		.a

 AR?=		ar
 ARFLAGS?=	rl
 RANLIB?=	ranlib

 AS?=		as
 AFLAGS?=
 .if ${MACHINE_ARCH} == "sparc64" 
 AFLAGS+= -Wa,-Av9a
 .endif
 COMPILE.s?=	${CC} ${AFLAGS} -c
 LINK.s?=	${CC} ${AFLAGS} ${LDFLAGS}
 COMPILE.S?=	${CC} ${AFLAGS} ${CPPFLAGS} -c -traditional-cpp
 LINK.S?=	${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}

 CC?=		cc
 .if ${MACHINE_ARCH} == "alpha" || \
     ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm26" || \
 		${MACHINE_ARCH} == "arm32" || \
     ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "m68k" || \
     ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
     ${MACHINE_ARCH} == "sparc" || \
     ${MACHINE_ARCH} == "vax"
 DBG?=	-O2
 .elif ${MACHINE_ARCH} == "x86_64"
 DBG?=
 .else
 DBG?=	-O
 .endif
 CFLAGS?=	${DBG}
 COMPILE.c?=	${CC} ${CFLAGS} ${CPPFLAGS} -c
 LINK.c?=	${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}

 CXX?=		c++
 CXXFLAGS?=	${CFLAGS}
 COMPILE.cc?=	${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
 LINK.cc?=	${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}

 OBJC?=		${CC}
 OBJCFLAGS?=	${CFLAGS}
 COMPILE.m?=	${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c
 LINK.m?=	${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}

 CPP?=		cpp
 CPPFLAGS?=	

 FC?=		f77
 FFLAGS?=	-O
 RFLAGS?=
 COMPILE.f?=	${FC} ${FFLAGS} -c
 LINK.f?=	${FC} ${FFLAGS} ${LDFLAGS}
 COMPILE.F?=	${FC} ${FFLAGS} ${CPPFLAGS} -c
 LINK.F?=	${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS}
 COMPILE.r?=	${FC} ${FFLAGS} ${RFLAGS} -c
 LINK.r?=	${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}

 INSTALL?=	install

 LEX?=		lex
 LFLAGS?=
 LEX.l?=		${LEX} ${LFLAGS}

 LD?=		ld
 LDFLAGS?=

 LINT?=		lint
 LINTFLAGS?=	-chapbxzF

 LORDER?=	lorder

 MAKE?=		make

 NM?=		nm

 PC?=		pc
 PFLAGS?=
 COMPILE.p?=	${PC} ${PFLAGS} ${CPPFLAGS} -c
 LINK.p?=	${PC} ${PFLAGS} ${CPPFLAGS} ${LDFLAGS}

 SHELL?=		sh

 SIZE?=		size

 TSORT?= 	tsort

 YACC?=		yacc
 YFLAGS?=
 YACC.y?=	${YACC} ${YFLAGS}

 # C
 .c:
 	${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .c.o:
 	${COMPILE.c} ${.IMPSRC}
 .c.a:
 	${COMPILE.c} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o
 .c.ln:
 	${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}

 # C++
 .cc .cpp .cxx .C:
 	${LINK.cc} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .cc.o .cpp.o .cxx.o .C.o:
 	${COMPILE.cc} ${.IMPSRC}
 .cc.a .cpp.a .cxx.a .C.a:
 	${COMPILE.cc} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 # Fortran/Ratfor
 .f:
 	${LINK.f} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .f.o:
 	${COMPILE.f} ${.IMPSRC}
 .f.a:
 	${COMPILE.f} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 .F:
 	${LINK.F} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .F.o:
 	${COMPILE.F} ${.IMPSRC}
 .F.a:
 	${COMPILE.F} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 .r:
 	${LINK.r} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .r.o:
 	${COMPILE.r} ${.IMPSRC}
 .r.a:
 	${COMPILE.r} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 # Pascal
 .p:
 	${LINK.p} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .p.o:
 	${COMPILE.p} ${.IMPSRC}
 .p.a:
 	${COMPILE.p} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 # Assembly
 .s:
 	${LINK.s} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .s.o:
 	${COMPILE.s} ${.IMPSRC}
 .s.a:
 	${COMPILE.s} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o
 .S:
 	${LINK.S} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
 .S.o:
 	${COMPILE.S} ${.IMPSRC}
 .S.a:
 	${COMPILE.S} ${.IMPSRC}
 	${AR} ${ARFLAGS} $@ $*.o
 	rm -f $*.o

 # Lex
 .l:
 	${LEX.l} ${.IMPSRC}
 	${LINK.c} -o ${.TARGET} lex.yy.c ${LDLIBS} -ll
 	rm -f lex.yy.c
 .l.c:
 	${LEX.l} ${.IMPSRC}
 	mv lex.yy.c ${.TARGET}
 .l.o:
 	${LEX.l} ${.IMPSRC}
 	${COMPILE.c} -o ${.TARGET} lex.yy.c 
 	rm -f lex.yy.c

 # Yacc
 .y:
 	${YACC.y} ${.IMPSRC}
 	${LINK.c} -o ${.TARGET} y.tab.c ${LDLIBS}
 	rm -f y.tab.c
 .y.c:
 	${YACC.y} ${.IMPSRC}
 	mv y.tab.c ${.TARGET}
 .y.o:
 	${YACC.y} ${.IMPSRC}
 	${COMPILE.c} -o ${.TARGET} y.tab.c
 	rm -f y.tab.c

 # Shell
 .sh:
 	rm -f ${.TARGET}
 	cp ${.IMPSRC} ${.TARGET}

 --zhXaljGHf11kAtnf--

From: jens.rehsack@bayerbbs.com
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-admin@netbsd.org,
	gnats-bugs@NetBSD.org,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc
	on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 20:54:07 +0200

 --=_mixed 0067D66CC125747B_=
 Content-Type: text/plain; charset="ISO-8859-1"
 Content-Transfer-Encoding: quoted-printable

 Hi Joerg,

 at first, another problem came up: the GNU sed (textproc/gsed) seems to=20
 have a problem:
 /opt/room/pkgsrc/bootstrap/work/bin/pdksh ./libtool --tag=3DCC=20
 --mode=3Dcompile gcc -DHAVE=5FCONFIG=5FH -I.    -D=5FLARGEFILE=5FSOURCE=20
 -D=5FLARGE=5FFILES -D=5FFILE=5FOFFSET=5FBITS=3D64 -DDEF=5FUMASK=3D0022=20
 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/bzip2=20
 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/zlib=20
 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/libarchiv=
 e/libarchive=20
 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/libfetch =

 -DHAVE=5FNBCOMPAT=5FH=3D1=20
 -I/opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/libnbcomp=
 at=20
  -O -maix32 -mcpu=3Dpower3 -c -o libarchive/archive=5Fcheck=5Fmagic.lo=20
 libarchive/archive=5Fcheck=5Fmagic.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=20
 /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=3DMODE 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=20
 /opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/libarchive
 *** Error code 1

 Stop.
 bmake: stopped in=20
 /opt/room/pkgsrc/bootstrap/work/wrk/pkgtools/pkg=5Finstall/work/libarchive
 *** Error code 1

 Stop.
 bmake: stopped in /opt/room/pkgsrc/pkgtools/pkg=5Finstall
 WARNING: *** Please consider adding c++ to USE=5FLANGUAGES in the package=20
 Makefile.
 WARNING: *** Please consider adding fortran to USE=5FLANGUAGES in the=20
 package Makefile.
 *** Error code 1

 Stop.
 bmake: stopped in /opt/room/pkgsrc/pkgtools/pkg=5Finstall
 =3D=3D=3D> 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=20
 it twice ...)
 It seems, that during bootstrap, nbsed or /usr/bin/sed should be=20
 mandatory.
 Setting SED=3D/opt/pkgsrc/bin/nbsed won't fix it - so I removed=20
 /opt/pkgsrc/bin from the PATH.

 After all: =3D=3D=3D> bootstrap ended:   Thu Jul  3 20:50:10 MESZ 2008

 So your patch fixed it fine (for those who really need to bootstrap and=20
 don't have GNU sed installed).

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F

 Fa. Man=DF & Partner
 Phone: +49 - 214 - 30 - 41 562
 Fax: +49 - 214 - 30 - 31 625
 E-mail: jens.rehsack@bayerbbs.com
 Web: http://www.BayerBBS.com

 Gesch=E4ftsf=FChrung: Vorsitzender Andreas Resch   |   Arbeitsdirektor Norb=
 ert=20
 Fieseler
 Vorsitzender des Aufsichtsrats: Klaus K=FChn
 Sitz der Gesellschaft: Leverkusen   |   Amtsgericht K=F6ln, HRB 49895




 Joerg Sonnenberger <joerg@britannica.bec.de>=20
 03.07.2008 19:23

 An
 gnats-bugs@NetBSD.org
 Kopie
 pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,=20
 jens.rehsack@bayerbbs.com
 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 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


 --=_mixed 0067D66CC125747B_=
 Content-Type: application/octet-stream; name="AIX.sys.mk"
 Content-Disposition: attachment; filename="AIX.sys.mk"
 Content-Transfer-Encoding: base64

 IwkkTmV0QlNEOiBzeXMubWssdiAxLjEuMS4xIDIwMDYvMDcvMTQgMjM6MTM6MDEgamxhbSBFeHAg
 JA0KIwlAKCMpc3lzLm1rCTguMiAoQmVya2VsZXkpIDMvMjEvOTQNCg0KdW5peD89CQlXZSBydW4g
 VW5peA0KT1MhPQkJdW5hbWUgLXMNCg0KLlNVRkZJWEVTOiAub3V0IC5hIC5sbiAubyAucyAuUyAu
 YyAuY2MgLmNwcCAuY3h4IC5DIC5GIC5mIC5yIC55IC5sIC5jbCAucCAuaA0KLlNVRkZJWEVTOiAu
 c2ggLm00DQoNCi5MSUJTOgkJLmENCg0KQVI/PQkJYXINCkFSRkxBR1M/PQlybA0KUkFOTElCPz0J
 cmFubGliDQoNCkFTPz0JCWFzDQpBRkxBR1M/PQ0KLmlmICR7TUFDSElORV9BUkNIfSA9PSAic3Bh
 cmM2NCIgDQpBRkxBR1MrPSAtV2EsLUF2OWENCi5lbmRpZg0KQ09NUElMRS5zPz0JJHtDQ30gJHtB
 RkxBR1N9IC1jDQpMSU5LLnM/PQkke0NDfSAke0FGTEFHU30gJHtMREZMQUdTfQ0KQ09NUElMRS5T
 Pz0JJHtDQ30gJHtBRkxBR1N9ICR7Q1BQRkxBR1N9IC1jIC10cmFkaXRpb25hbC1jcHANCkxJTksu
 Uz89CSR7Q0N9ICR7QUZMQUdTfSAke0NQUEZMQUdTfSAke0xERkxBR1N9DQoNCkNDPz0JCWNjDQou
 aWYgJHtNQUNISU5FX0FSQ0h9ID09ICJhbHBoYSIgfHwgXA0KICAgICR7TUFDS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LW8gJHsuVEFSR0VUfSBs
 ZXgueXkuYyANCglybSAtZiBsZXgueXkuYw0KDQojIFlhY2MNCi55Og0KCSR7WUFDQy55fSAkey5J
 TVBTUkN9DQoJJHtMSU5LLmN9IC1vICR7LlRBUkdFVH0geS50YWIuYyAke0xETElCU30NCglybSAt
 ZiB5LnRhYi5jDQoueS5jOg0KCSR7WUFDQy55fSAkey5JTVBTUkN9DQoJbXYgeS50YWIuYyAkey5U
 QVJHRVR9DQoueS5vOg0KCSR7WUFDQy55fSAkey5JTVBTUkN9DQoJJHtDT01QSUxFLmN9IC1vICR7
 LlRBUkdFVH0geS50YWIuYw0KCXJtIC1mIHkudGFiLmMNCg0KIyBTaGVsbA0KLnNoOg0KCXJtIC1m
 ICR7LlRBUkdFVH0NCgljcCAkey5JTVBTUkN9ICR7LlRBUkdFVH0NCg==

 --=_mixed 0067D66CC125747B_=--

From: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc
	on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 20:57:09 +0200

 Hi Joerg,

 because you're fixing bootstrap problems - one I've forgotten:
 ue9e:/opt/room/pkgsrc # cat /opt/room/newpkgsrc/bin/znew=20
 #!/opt/room/pkgsrc/bootstrap/work/bin/pdksh

 The installed shell wrappers for zmore, zless, znew, ... refer to the work =

 directory of the bootstrap, which will lead all the wrappers fail when the =

 work directory will be cleaned up.

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F

 Fa. Man=DF & Partner
 Phone: +49 - 214 - 30 - 41 562
 Fax: +49 - 214 - 30 - 31 625
 E-mail: jens.rehsack@bayerbbs.com
 Web: http://www.BayerBBS.com

 Gesch=E4ftsf=FChrung: Vorsitzender Andreas Resch   |   Arbeitsdirektor Norb=
 ert=20
 Fieseler
 Vorsitzender des Aufsichtsrats: Klaus K=FChn
 Sitz der Gesellschaft: Leverkusen   |   Amtsgericht K=F6ln, HRB 49895




 Joerg Sonnenberger <joerg@britannica.bec.de>=20
 03.07.2008 19:25
 Bitte antworten an
 gnats-bugs@NetBSD.org


 An
 pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,=20
 jens.rehsack@bayerbbs.com
 Kopie

 Thema
 Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc        on =

 AIX 5.3.0.0)






 The following reply was made to PR pkg/39064; it has been noted by GNATS.

 From: Joerg Sonnenberger <joerg@britannica.bec.de>
 To: gnats-bugs@NetBSD.org
 Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,=20
 pkgsrc-bugs@netbsd.org,
                  jens.rehsack@bayerbbs.com
 Subject: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap pkgsrc
                  on AIX 5.3.0.0)
 Date: Thu, 3 Jul 2008 19:23:58 +0200

  --zhXaljGHf11kAtnf
  Content-Type: text/plain; charset=3Dus-ascii
  Content-Disposition: inline
 =20
  On Thu, Jul 03, 2008 at 05:10:05PM +0000, jens.rehsack@bayerbbs.com=20
 wrote:
  >  It seems to work with warnings.
 =20
  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.
 =20
  Joerg
 =20
  --zhXaljGHf11kAtnf
  Content-Type: text/plain; charset=3Dus-ascii
  Content-Disposition: attachment; filename=3D"AIX.sys.mk"
 =20
  #               $NetBSD: sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $
  #               @(#)sys.mk              8.2 (Berkeley) 3/21/94
 =20
  unix?=3D                          We run Unix
  OS!=3D                            uname -s
 =20
  .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p =

 .h
  .SUFFIXES: .sh .m4
 =20
  .LIBS:                          .a
 =20
  AR?=3D                            ar
  ARFLAGS?=3D               rl
  RANLIB?=3D                ranlib
 =20
  AS?=3D                            as
  AFLAGS?=3D
  .if ${MACHINE=5FARCH} =3D=3D "sparc64"=20
  AFLAGS+=3D -Wa,-Av9a
  .endif
  COMPILE.s?=3D             ${CC} ${AFLAGS} -c
  LINK.s?=3D                ${CC} ${AFLAGS} ${LDFLAGS}
  COMPILE.S?=3D             ${CC} ${AFLAGS} ${CPPFLAGS} -c -traditional-cpp
  LINK.S?=3D                ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS}
 =20
  CC?=3D                            cc
  .if ${MACHINE=5FARCH} =3D=3D "alpha" || \
      ${MACHINE=5FARCH} =3D=3D "arm" || ${MACHINE=5FARCH} =3D=3D "arm26" || \
                                  ${MACHINE=5FARCH} =3D=3D "arm32" || \
      ${MACHINE=5FARCH} =3D=3D "i386" || \
      ${MACHINE=5FARCH} =3D=3D "m68k" || \
      ${MACHINE=5FARCH} =3D=3D "mipsel" || ${MACHINE=5FARCH} =3D=3D "mipseb"=
  || \
      ${MACHINE=5FARCH} =3D=3D "sparc" || \
      ${MACHINE=5FARCH} =3D=3D "vax"
  DBG?=3D           -O2
  .elif ${MACHINE=5FARCH} =3D=3D "x86=5F64"
  DBG?=3D
  .else
  DBG?=3D           -O
  .endif
  CFLAGS?=3D                ${DBG}
  COMPILE.c?=3D             ${CC} ${CFLAGS} ${CPPFLAGS} -c
  LINK.c?=3D                ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
 =20
  CXX?=3D                           c++
  CXXFLAGS?=3D              ${CFLAGS}
  COMPILE.cc?=3D            ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c
  LINK.cc?=3D               ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}
 =20
  OBJC?=3D                          ${CC}
  OBJCFLAGS?=3D             ${CFLAGS}
  COMPILE.m?=3D             ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c
  LINK.m?=3D                ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS}
 =20
  CPP?=3D                           cpp
  CPPFLAGS?=3D=20
 =20
  FC?=3D                            f77
  FFLAGS?=3D                -O
  RFLAGS?=3D
  COMPILE.f?=3D             ${FC} ${FFLAGS} -c
  LINK.f?=3D                ${FC} ${FFLAGS} ${LDFLAGS}
  COMPILE.F?=3D             ${FC} ${FFLAGS} ${CPPFLAGS} -c
  LINK.F?=3D                ${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS}
  COMPILE.r?=3D             ${FC} ${FFLAGS} ${RFLAGS} -c
  LINK.r?=3D                ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS}
 =20
  INSTALL?=3D               install
 =20
  LEX?=3D                           lex
  LFLAGS?=3D
  LEX.l?=3D                                 ${LEX} ${LFLAGS}
 =20
  LD?=3D                            ld
  LDFLAGS?=3D
 =20
  LINT?=3D                          lint
  LINTFLAGS?=3D             -chapbxzF
 =20
  LORDER?=3D                lorder
 =20
  MAKE?=3D                          make
 =20
  NM?=3D                            nm
 =20
  PC?=3D                            pc
  PFLAGS?=3D
  COMPILE.p?=3D             ${PC} ${PFLAGS} ${CPPFLAGS} -c
  LINK.p?=3D                ${PC} ${PFLAGS} ${CPPFLAGS} ${LDFLAGS}
 =20
  SHELL?=3D                                 sh
 =20
  SIZE?=3D                          size
 =20
  TSORT?=3D                 tsort
 =20
  YACC?=3D                          yacc
  YFLAGS?=3D
  YACC.y?=3D                ${YACC} ${YFLAGS}
 =20
  # C
  .c:
                  ${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .c.o:
                  ${COMPILE.c} ${.IMPSRC}
  .c.a:
                  ${COMPILE.c} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
  .c.ln:
                  ${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
 =20
  # C++
  .cc .cpp .cxx .C:
                  ${LINK.cc} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .cc.o .cpp.o .cxx.o .C.o:
                  ${COMPILE.cc} ${.IMPSRC}
  .cc.a .cpp.a .cxx.a .C.a:
                  ${COMPILE.cc} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  # Fortran/Ratfor
  .f:
                  ${LINK.f} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .f.o:
                  ${COMPILE.f} ${.IMPSRC}
  .f.a:
                  ${COMPILE.f} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  .F:
                  ${LINK.F} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .F.o:
                  ${COMPILE.F} ${.IMPSRC}
  .F.a:
                  ${COMPILE.F} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  .r:
                  ${LINK.r} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .r.o:
                  ${COMPILE.r} ${.IMPSRC}
  .r.a:
                  ${COMPILE.r} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  # Pascal
  .p:
                  ${LINK.p} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .p.o:
                  ${COMPILE.p} ${.IMPSRC}
  .p.a:
                  ${COMPILE.p} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  # Assembly
  .s:
                  ${LINK.s} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .s.o:
                  ${COMPILE.s} ${.IMPSRC}
  .s.a:
                  ${COMPILE.s} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
  .S:
                  ${LINK.S} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
  .S.o:
                  ${COMPILE.S} ${.IMPSRC}
  .S.a:
                  ${COMPILE.S} ${.IMPSRC}
                  ${AR} ${ARFLAGS} $@ $*.o
                  rm -f $*.o
 =20
  # Lex
  .l:
                  ${LEX.l} ${.IMPSRC}
                  ${LINK.c} -o ${.TARGET} lex.yy.c ${LDLIBS} -ll
                  rm -f lex.yy.c
  .l.c:
                  ${LEX.l} ${.IMPSRC}
                  mv lex.yy.c ${.TARGET}
  .l.o:
                  ${LEX.l} ${.IMPSRC}
                  ${COMPILE.c} -o ${.TARGET} lex.yy.c=20
                  rm -f lex.yy.c
 =20
  # Yacc
  .y:
                  ${YACC.y} ${.IMPSRC}
                  ${LINK.c} -o ${.TARGET} y.tab.c ${LDLIBS}
                  rm -f y.tab.c
  .y.c:
                  ${YACC.y} ${.IMPSRC}
                  mv y.tab.c ${.TARGET}
  .y.o:
                  ${YACC.y} ${.IMPSRC}
                  ${COMPILE.c} -o ${.TARGET} y.tab.c
                  rm -f y.tab.c
 =20
  # Shell
  .sh:
                  rm -f ${.TARGET}
                  cp ${.IMPSRC} ${.TARGET}
 =20
  --zhXaljGHf11kAtnf--
 =20


From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39064 CVS commit: pkgsrc/pkgtools/bootstrap-mk-files
Date: Thu,  3 Jul 2008 20:06:22 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Thu Jul  3 20:06:21 UTC 2008

 Modified Files:
 	pkgsrc/pkgtools/bootstrap-mk-files: Makefile
 Added Files:
 	pkgsrc/pkgtools/bootstrap-mk-files/files/mods: AIX.sys.mk

 Log Message:
 bootstrap-mk-files-20080703:
 AIX's tsort doesn't understand -q, override sys.mk.
 Reported in PR 39064.


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 pkgsrc/pkgtools/bootstrap-mk-files/Makefile
 cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/mods/AIX.sys.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
	bootstrap pkgsrc on AIX 5.3.0.0)
Date: Thu, 3 Jul 2008 22:10:15 +0200

 On Thu, Jul 03, 2008 at 07:00:06PM +0000, jens.rehsack@bayerbbs.com wrote:
 >  The installed shell wrappers for zmore, zless, znew, ... refer to the work =
 >  directory of the bootstrap, which will lead all the wrappers fail when the =
 >  work directory will be cleaned up.

 This will go away later. I won't change it at this point.

 Can you check if your AIX has gzip already installed?
 Newer systems have bzip2 already, so I wouldn't be surprised.

 Joerg

From: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
	bootstrap pkgsrc on AIX 5.3.0.0)
Date: Fri, 4 Jul 2008 10:05:03 +0200

 Yes, I can ;-)

 ue9e:/opt/room/pkgsrc # which gzip
 /opt/freeware/bin/gzip
 You have mail in /usr/spool/mail/root
 ue9e:/opt/room/pkgsrc # which bzip2
 /opt/freeware/bin/bzip2
 ue9e:/opt/room/pkgsrc #=20

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F

 Fa. Man=DF & Partner
 Phone: +49 - 214 - 30 - 41 562
 Fax: +49 - 214 - 30 - 31 625
 E-mail: jens.rehsack@bayerbbs.com
 Web: http://www.BayerBBS.com

 Gesch=E4ftsf=FChrung: Vorsitzender Andreas Resch   |   Arbeitsdirektor Norb=
 ert=20
 Fieseler
 Vorsitzender des Aufsichtsrats: Klaus K=FChn
 Sitz der Gesellschaft: Leverkusen   |   Amtsgericht K=F6ln, HRB 49895




 Joerg Sonnenberger <joerg@britannica.bec.de>=20
 03.07.2008 22:15
 Bitte antworten an
 gnats-bugs@NetBSD.org


 An
 pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,=20
 jens.rehsack@bayerbbs.com
 Kopie

 Thema
 Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot    bootstrap=20
 pkgsrc on AIX 5.3.0.0)






 The following reply was made to PR pkg/39064; it has been noted by GNATS.

 From: Joerg Sonnenberger <joerg@britannica.bec.de>
 To: gnats-bugs@NetBSD.org
 Cc:=20
 Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
                  bootstrap pkgsrc on AIX 5.3.0.0)
 Date: Thu, 3 Jul 2008 22:10:15 +0200

  On Thu, Jul 03, 2008 at 07:00:06PM +0000, jens.rehsack@bayerbbs.com=20
 wrote:
  >  The installed shell wrappers for zmore, zless, znew, ... refer to the=20
 work =3D
  >  directory of the bootstrap, which will lead all the wrappers fail when =

 the =3D
  >  work directory will be cleaned up.
 =20
  This will go away later. I won't change it at this point.
 =20
  Can you check if your AIX has gzip already installed?
  Newer systems have bzip2 already, so I wouldn't be surprised.
 =20
  Joerg
 =20


From: jens.rehsack@bayerbbs.com
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org,
	pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
	bootstrap pkgsrc on AIX 5.3.0.0)
Date: Sun, 20 Jul 2008 13:17:26 +0200

 Hi Joerg,

 sorry for the late reply - we had spare time before a collegue begins his=20
 holliday and we need his expertise to finish project (or bring it near=20
 finalization).
 Ok, I've talked back to our AIX installation team and they told, that=20
 neither gzip nor bzip2 is installed by the default installation, but=20
 because Bayer supports RPM's to be installed on their AIX machines, the=20
 have it as prerequisite for rpm.rte.*.
 But for the moment, we have only AIX 5.3 installed - no AIX 6, so I cannot =

 answer for really newer systems.

 Freundliche Gr=FC=DFe / Best Regards

 Jens Rehsack




 Joerg Sonnenberger <joerg@britannica.bec.de>=20
 03.07.2008 22:15
 Bitte antworten an
 gnats-bugs@NetBSD.org


 An
 pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,=20
 jens.rehsack@bayerbbs.com
 Kopie

 Thema
 Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot    bootstrap=20
 pkgsrc on AIX 5.3.0.0)






 The following reply was made to PR pkg/39064; it has been noted by GNATS.

 From: Joerg Sonnenberger <joerg@britannica.bec.de>
 To: gnats-bugs@NetBSD.org
 Cc:=20
 Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
                  bootstrap pkgsrc on AIX 5.3.0.0)
 Date: Thu, 3 Jul 2008 22:10:15 +0200

  On Thu, Jul 03, 2008 at 07:00:06PM +0000, jens.rehsack@bayerbbs.com=20
 wrote:
  >  The installed shell wrappers for zmore, zless, znew, ... refer to the=20
 work =3D
  >  directory of the bootstrap, which will lead all the wrappers fail when =

 the =3D
  >  work directory will be cleaned up.
 =20
  This will go away later. I won't change it at this point.
 =20
  Can you check if your AIX has gzip already installed?
  Newer systems have bzip2 already, so I wouldn't be surprised.
 =20
  Joerg
 =20


State-Changed-From-To: feedback->open
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 25 Aug 2008 13:06:38 +0000
State-Changed-Why:
Feedback was provided.


State-Changed-From-To: open->analyzed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 25 Aug 2008 14:54:03 +0000
State-Changed-Why:
Remaining problem is known, but won't be fixed for now.


Responsible-Changed-From-To: pkg-manager->aix-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 26 Apr 2012 13:35:50 +0000
Responsible-Changed-Why:
Problem on AIX.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
 bootstrap pkgsrc on AIX 5.3.0.0)
Date: Thu, 13 Dec 2012 06:54:19 +0000

 On Thu, Jul 03, 2008 at 08:15:04PM +0000, Joerg Sonnenberger wrote:
  > On Thu, Jul 03, 2008 at 07:00:06PM +0000, jens.rehsack@bayerbbs.com wrote:
  >>  The installed shell wrappers for zmore, zless, znew, ... refer to the work
  >>  directory of the bootstrap, which will lead all the wrappers fail when the
  >>  work directory will be cleaned up.
  >  
  >  This will go away later. I won't change it at this point.

 Is this still an issue?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Jens Rehsack <sno@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap
 pkgsrc on AIX 5.3.0.0)
Date: Mon, 17 Dec 2012 11:33:33 +0100

 On 16.12.12 19:15, David Holland wrote:
 > fyi, since you probably won't otherwise see this:
 > (reply-to set to gnats-bugs)
 >
 >     ------
 >
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: aix-pkg-people@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
 > 	jens.rehsack@bayerbbs.com
 > Cc:
 > Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot bootstrap
 > 	pkgsrc on AIX 5.3.0.0)
 > Date: Thu, 13 Dec 2012 06:55:04 +0000 (UTC)
 >
 > The following reply was made to PR pkg/39064; it has been noted by GNATS.
 >
 > From: David Holland <dholland-pbugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: pkg/39064 (Cannot
 >   bootstrap pkgsrc on AIX 5.3.0.0)
 > Date: Thu, 13 Dec 2012 06:54:19 +0000
 >
 >   On Thu, Jul 03, 2008 at 08:15:04PM +0000, Joerg Sonnenberger wrote:
 >    > On Thu, Jul 03, 2008 at 07:00:06PM +0000, jens.rehsack@bayerbbs.com wrote:
 >    >>  The installed shell wrappers for zmore, zless, znew, ... refer to the work
 >    >>  directory of the bootstrap, which will lead all the wrappers fail when the
 >    >>  work directory will be cleaned up.
 >    >
 >    >  This will go away later. I won't change it at this point.
 >
 >   Is this still an issue?
 >

 Thanks for forwarding.

 I don't know and I currently cannot verify. But if someone (you) could 
 add me to cc-list, I keep it tracked and next time I have access to 
 AIX+pkgsrc, I verify it completely.

 -- 
 Jens Rehsack
 pkgsrc, Perl5

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.