To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nakaji@jp.freebsd.org>
List: pkgsrc-bugs
Date: 11/07/2005 08:26:00
>Number: 32008
>Category: pkg
>Synopsis: [bootstrap] "dewey.c", line 25: cannot find include file: <err.h>
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 07 08:26:00 +0000 2005
>Originator: NAKAJI Hiroyuki
>Release: Solaris 10 x86
>Organization:
>Environment:
SunOS deepsea.c3922.takamatsu-nct.ac.jp 5.10 Generic i86pc i386 i86pc
>Description:
bootstrap script fails with this error:
config.status: creating lib/config.h
cc -xarch=amd64 -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DTAR_CMD=\"/usr/pkg/bin/tar\" -DFTP_CMD=\"/usr/pkg/bin/ftp\" -I../libnbcompat -I../../libnbcompat -I. -I. -g -c automatic.c
cc -xarch=amd64 -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DTAR_CMD=\"/usr/pkg/bin/tar\" -DFTP_CMD=\"/usr/pkg/bin/ftp\" -I../libnbcompat -I../../libnbcompat -I. -I. -g -c dewey.c
"dewey.c", line 25: cannot find include file: <err.h>
cc: acomp failed for dewey.c
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/bootstrap/work/pkg_install/lib
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/bootstrap/work/pkg_install
===> exited with status 1
aborted.
>How-To-Repeat:
cd /usr/pkgsrc/bootstrap
./bootstrap
>Fix:
pkgsrc/pkgtools/pkg_install/files/lib/dewey.c needs as same change as automatic.c or var.c. I posted an incomplete patch about this to pkg/32001.