Subject: bootstrap-pkgsrc broken on MacOS X
To: None <tech-pkg@netbsd.org>
From: None <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 02/10/2004 17:29:34
On  02/10/2004 14:06:32, Alvarez Venegas wrote:

> We retrieved the source files from CVS to bootstrap pkgsrc in
> Solaris 9 on a Sun Ultra10 and got the following error message
>
> [...]
>
> gcc -DHAVE_CONFIG_H -DBINDIR=\"/usr/pkg/sbin\"
> -DMTREE_CMD=\"/usr/pkg/sbin/mtree\" -DTAR_CMD=\"/usr/
> pkg/bin/tar\" -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib -g -O2 -c
> perform.c
> perform.c: In function `pkg_do':
> perform.c:302: error: `MACHINE_ARCH' undeclared (first use in this function)
> perform.c:302: error: (Each undeclared identifier is reported only once
> perform.c:302: error: for each function it appears in.)
> *** Error code 1

I've had exactly the same error attempting to build a fresh
bootstrap-pkgsrc on MacOS X (10.2.8, Dec2002DevTools with
Aug2003gcc331Update).

This was attempted around 1600 US/Central on Saturday, 7 February.  A
checkout of othersrc/bootstrap-pkgsrc at 0400 US/Central on 7 February
built and installed correctly, although it may yet have been the older
codebase.

(Also, there is the problem with the new libtool-base 1.5.2 and what
appears to be a discrepancy between the library version numbers in the
PLIST and the version numbers encoded in the filenames actually built.
The few messages I've seen on this topic only note that the problem
exists but do not propose a workaround nor indicate that it's being fixed.)

Thanks for your attention to these matters and the continuing improvement
of the NetBSD pkgsrc system.

-- 
John D. Baker, KN5UKS                      jdbaker(at)mylinuxisp(dot)com
  http(colon slash slash)mylinuxisp(dot)com(slash tilde)jdbaker(slash)
NetBSD        OpenBSD        Darwin/MacOS X        FreeBSD
BSD -- The Operating System for the Third Millenium and Beyond!