Subject: Re: Procedure for adding binary kit for Darwin 7.0?
To: None <tech-pkg@netbsd.org>
From: Michael Wolfson <michael@nosflow.com>
List: tech-pkg
Date: 11/03/2003 17:31:42
Jan Schaumann <jschauma@netbsd.org> wrote:

> I think you hsould use the 'mkbinarykit' shell script in the root of  
> the
> bootstrap-pkgsrc directory.

Ah, I hadn't noticed that.

>   Other than that, yes, that's all that needs
> to be done.  Remember to update both htdocs/Documentation/pkgsrc/ and
> htdocs/Documentation/software/packages.html

Hmmm.  I can't do that until I apparently get textproc/libxslt and  
textproc/docbook-website working.  And I can't do that either.

Turns out that even though I just built othersrc/bootstrap-pkgsrc from  
today's sources, I still need to build a more current set of pkg tools:

[...]
===> Building for pkg_install-20031003
gcc -pipe -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/usr/pkg/pkgdb\"  
-DTAR_CMD=\"/usr/pkg/
/bin/tar\" -DFTP_CMD=\"/usr/pkg//bin/ftp\" -no-cpp-precomp -I. -I. -O2  
-I/Volume
s/NetBSD/usr/src/pkgsrc/pkgtools/pkg_install/work/libnbcompat -c exec.c
gcc -pipe -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/usr/pkg/pkgdb\"  
-DTAR_CMD=\"/usr/pkg/
/bin/tar\" -DFTP_CMD=\"/usr/pkg//bin/ftp\" -no-cpp-precomp -I. -I. -O2  
-I/Volume
s/NetBSD/usr/src/pkgsrc/pkgtools/pkg_install/work/libnbcompat -c fexec.c
gcc -pipe -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/usr/pkg/pkgdb\"  
-DTAR_CMD=\"/usr/pkg/
/bin/tar\" -DFTP_CMD=\"/usr/pkg//bin/ftp\" -no-cpp-precomp -I. -I. -O2  
-I/Volume
s/NetBSD/usr/src/pkgsrc/pkgtools/pkg_install/work/libnbcompat -c file.c
file.c: In function `remove_files':
file.c:555: error: `GLOB_NOMATCH' undeclared (first use in this  
function)
file.c:555: error: (Each undeclared identifier is reported only once
file.c:555: error: for each function it appears in.)
file.c:558: error: `GLOB_ABORTED' undeclared (first use in this  
function)
*** Error code 1

Stop.
bmake: stopped in  
/Volumes/NetBSD/usr/src/pkgsrc/pkgtools/pkg_install/work/pkg_install 
-20031003/lib
*** Error code 1

Any ideas?

   -- MW