###
### Wed Jun 16 19:59:07 EST 2004:
### /usr/pkg/bin/bmake bulk-package for nhc98-1.16nb2
### Current pkg count:  13 installed packages: bison-1.875nb1 digest-20021220 gettext-0.11.5nb4 gettext-lib-0.11.5nb3 gettext-m4-0.11.5 gtexinfo-4.6nb2 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 m4-1.4nb1 nawk-20040207 patch-2.5.4nb2 pkg_install-info-4.5nb2 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for nhc98-1.16nb2
===> Cleaning for ncurses-5.4
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for gawk-3.1.3
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for gmake-3.80nb3
BULK> Removing installed packages which are not needed to build nhc98-1.16nb2
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpkgwedge-1.10
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
BULK> nhc98-1.16nb2 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> nhc98-1.16nb2 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r m4-1.4nb1
BULK> nhc98-1.16nb2 requires installed package libiconv-1.9.1nb2 (converters/libiconv) to build.
BULK> nhc98-1.16nb2 requires installed package gettext-lib-0.11.5nb3 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtexinfo-4.6nb2
BULK> nhc98-1.16nb2 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gettext-m4-0.11.5
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r nawk-20040207
BULK> Installing packages which are required to build nhc98-1.16nb2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/ncurses-5.4.tgz
BULK> Required package libtool-base-1.5.6nb1 (devel/libtool-base) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gawk-3.1.3.tgz
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb3 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gmake-3.80nb3.tgz
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (nhc98-1.16nb2)
===> Checking for vulnerabilities in nhc98-1.16nb2
=> Checksum OK for nhc98src-1.16.tar.gz.
work -> /work/pkgbuild/lang/nhc98/work
===> Extracting for nhc98-1.16nb2
===> Required installed package ncurses>=5.3nb1: ncurses-5.4 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for nhc98-1.16nb2
===> Applying pkgsrc patches for nhc98-1.16nb2
===> Overriding tools for nhc98-1.16nb2
===> Buildlinking for nhc98-1.16nb2
===> Configuring for nhc98-1.16nb2
The builtin 'echo' command doesn't do '-n' - emulating it.
"script/echo.c", line 6: warning: implicit function declaration: strcmp
"script/echo.c", line 19: warning: implicit function declaration: exit
Configuring for nhc98... [ v1.16 (2003-03-08) ]
--------
Looking for already-installed Haskell compilers:
  Looking for hbc...   (not found)
  Note: LMLDIR/HBCDIR variables must be set to enable detection of hbc.
  Looking for ghc...   (not found)
  Looking for nhc98... (not found)
You said you want to use gcc to build hmake.
  Now I'm creating targets/sparc-solaris2/hmake3.config for your installation.
Done.
--------
                   Configuration report for nhc98.
    (You can re-run configure to change settings before proceeding.)
You wish (eventually) to install the following components in these locations:
    (Installation directories are not created/checked at this stage.)
Final install root:   /usr/pkg
nhc98 binaries/libs:  /usr/pkg/lib/nhc98/sparc-solaris2
hmake binaries:       /usr/pkg/lib/hmake/sparc-solaris2
Interfaces/includes:  /usr/pkg/include/nhc98
Scripts:              /usr/pkg/bin
Man pages:            /usr/pkg/man/man1
Html documents:       /usr/pkg/share/doc/nhc98

Now we check/create your build directories:
Config directory:      targets/sparc-solaris2
Build directory root:
    /work/pkgbuild/lang/nhc98/work/nhc98-1.16/targets (exists)
Object files build in:
    /work/pkgbuild/lang/nhc98/work/nhc98-1.16/targets/sparc-solaris2 (exists)
Executables and libs:
    /work/pkgbuild/lang/nhc98/work/nhc98-1.16/lib/sparc-solaris2 (created)

You are going to build nhc98 with:          gcc
nhc98comp uses RTS delimiters?              yes
This machine's endian-ness is:              "endian.c", line 1: warning: old-style declaration or incorrect type for: main
"endian.c", line 8: warning: implicit function declaration: puts
-DHIGH_BYTE_FIRST (detected) 
Executables need .exe suffix?               no  (detected)
Testing for the curses library:             -lncurses (detected) 
Testing for the readline library:           no  (detected)
Reading /usr/include/errno.h: "script/config-errno.c", line 592: warning: old-style declaration or incorrect type for: main
"script/config-errno.c", line 593: warning: implicit function declaration: printf
"script/config-errno.c", line 691: warning: implicit function declaration: exit
"script/errnogen.c", line 2: warning: old-style declaration or incorrect type for: main
"script/errnogen.c", line 1289: warning: implicit function declaration: printf
"script/errnogen.c", line 1404: warning: implicit function declaration: exit
              updated DErrNo.hs
Default heap for compiled programs is: 100000 words (cached) 

Adding Makefile config script to
    /work/pkgbuild/lang/nhc98/work/nhc98-1.16/lib/sparc-solaris2...
cat: cannot open targets/sparc-solaris2/ghcsym
Adding build scripts to
    /work/pkgbuild/lang/nhc98/work/nhc98-1.16/script...    
    nhc98 hmake hmake-config hi greencard 
Creating src/runtime/nhc98heap.c ...
Updating targets/sparc-solaris2/hmake3.config...
Saving current configuration in targets/sparc-solaris2/config.cache
Done.

===> Building for nhc98-1.16nb2
gmake: *** No rule to make target `basic-gcc', needed by `all-gcc'.  Stop.
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/nhc98
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/nhc98
BULK> nhc98-1.16nb2 was marked as broken:
-rw-r--r--   1 root     other       6653 Jun 16 20:01 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for nhc98
BULK> Marking all packages which depend upon nhc98-1.16nb2 as broken:
BULK> Build for nhc98-1.16nb2 was not successful, aborting.