Subject: Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-bugs
Date: 06/29/2007 13:15:05
The following reply was made to PR pkg/36563; it has been noted by GNATS.

From: Louis Guillaume <lguillaume@berklee.edu>
To: gnats-bugs@NetBSD.org
Cc: rillig@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency
 w/ patch and digest))
Date: Fri, 29 Jun 2007 09:08:13 -0400

 Roland Illig wrote:
 > The following reply was made to PR pkg/36563; it has been noted by GNATS.
 > 
 > From: Roland Illig <rillig@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency
 >  w/ patch and digest))
 > Date: Fri, 29 Jun 2007 10:12:11 +0200
 > 
 >  This is a multi-part message in MIME format.
 >  --------------030009020506010009040504
 >  Content-Type: text/plain; charset=us-ascii; format=flowed
 >  Content-Transfer-Encoding: 7bit
 >  
 >  Louis Guillaume wrote:
 >  >  This is with pkgsrc-2007Q1.
 >  
 >  Please try the appended mk/patch/bsd.patch-vars.mk file.
 >  
 >  Roland
 >  
 
 This helped, and it got further, however now I get stopped as it tries
 to build nawk.
 
 # ./cleanup
 # ./bootstrap --workdir /tmp/pkgbootstrap --sysconfdir=/etc
 ===> bootstrap command: ./bootstrap --workdir /tmp/pkgbootstrap
 --sysconfdir=/etc
 ===> bootstrap started: Fri Jun 29 08:42:44 EDT 2007
 Working directory is: /tmp/pkgbootstrap
 
  ... skipping ...
 
 ===> Cleaning for bmake-20051105nb3
 ===> running: (cd /usr/pkgsrc/lang/nawk && /usr/pkg/bin/bmake
 -DPKG_PRESERVE MAKECONF=/tmp/pkgbootstrap/mk.conf.example
 WRKOBJDIR=/tmp/pkgbootstrap/pkgsrc  bootstrap-register)
 ERROR: [resolve-dependencies] A package matching ``gcc>=2.95.3nb7'' should
 ERROR:     be installed, but one cannot be found.  Perhaps there is a
 ERROR:     stale work directory for ../../lang/gcc?
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/lang/nawk
 ===> exited with status 1
 aborted.
 
 
 
 I'm not sure why it's trying to build gcc because I have USE_NATIVE_GCC
 in mk.conf. Maybe bootstrap doesn't know about this though.
 
 
 
 ## /etc/mk.conf ##
 
 DISTDIR=        /usr/pkg/distfiles
 PACKAGES=       /usr/pkg/obj/packages
 WRKOBJDIR=      /usr/pkg/obj
 PKGCHK_CONF=    /etc/pkgchk.conf
 PKG_SYSCONFBASE=/etc
 
 #USE_PKGSRC_GCC=YES
 
 USE_NATIVE_GCC=yes
 CC=gcc
 CXX=g++
 #CONFIG_SHELL=bash
 
 #USE_GCC3=yes
 #.include "/usr/pkg/gcc3/mk/c.mk"
 #.include "/usr/pkg/gcc3/mk/f77.mk"
 
 MACHINE_GNU_PLATFORM=powerpc-ibm-aix5.3.0.0
 CHECK_SHLIBS=no
 RENAME=
 PKGMAKECONF=${MAKECONF}
 DEPENDS_TARGET=package