###
### Fri Jun 11 09:18:17 EST 2004:
### /usr/pkg/bin/bmake bulk-package for chemtool-1.6
### Current pkg count:  29 installed packages: MesaLib-6.0.1 digest-20021220 esound-0.2.34 gettext-0.11.5nb4 gettext-lib-0.11.5nb3 gettext-m4-0.11.5 glib-1.2.10nb6 glu-6.0.1 glut-6.0.1 gmake-3.80nb3 gtexinfo-4.6nb2 gtk+-1.2.10nb7 libaudiofile-0.2.6 libiconv-1.9.1nb2 libmikmod-3.1.10 libogg-1.1 libtool-base-1.5.6nb1 libvorbis-1.0.1 libxml-1.8.17nb1 patch-2.5.4nb2 perl-5.8.4 pkg_install-info-4.5nb2 pkgconfig-0.15.0 x11-links-0.23 xdg-dirs-1.1 xdg-x11-dirs-1.1 xmms-1.2.10 xpkgwedge-1.10 zlib-1.2.1nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for chemtool-1.6
===> Cleaning for gtk+-1.2.10nb7
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for glib-1.2.10nb6
===> Cleaning for xdg-x11-dirs-1.1
===> Cleaning for xdg-dirs-1.1
===> Cleaning for xpkgwedge-1.10
===> Cleaning for perl-5.8.4
===> Cleaning for gettext-0.11.5nb4
===> Cleaning for gettext-m4-0.11.5
===> Cleaning for gmake-3.80nb3
===> Cleaning for x11-links-0.23
BULK> Removing installed packages which are not needed to build chemtool-1.6
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> chemtool-1.6 requires installed package gettext-m4-0.11.5 (devel/gettext-m4) to build.
BULK> chemtool-1.6 requires installed package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) to build.
BULK> chemtool-1.6 requires installed package libiconv-1.9.1nb2 (converters/libiconv) to build.
BULK> chemtool-1.6 requires installed package gettext-lib-0.11.5nb3 (devel/gettext-lib) to build.
BULK> chemtool-1.6 requires installed package libtool-base-1.5.6nb1 (devel/libtool-base) to build.
BULK> chemtool-1.6 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/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> chemtool-1.6 requires installed package gettext-0.11.5nb4 (devel/gettext) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r MesaLib-6.0.1
pkg_delete: unable to completely remove directory '/usr/pkg/lib/xmms/Visualization'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/xmms/Input'
pkg_delete: unable to completely remove directory '/usr/pkg/lib/xmms'
pkg_delete: couldn't entirely delete package `xmms-1.2.10'
(perhaps the packing list is incorrectly specified?)
BULK> chemtool-1.6 requires installed package glib-1.2.10nb6 (devel/glib) to build.
BULK> chemtool-1.6 requires installed package xdg-dirs-1.1 (misc/xdg-dirs) to build.
BULK> chemtool-1.6 requires installed package xdg-x11-dirs-1.1 (misc/xdg-x11-dirs) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkgconfig-0.15.0
BULK> chemtool-1.6 requires installed package gtk+-1.2.10nb7 (x11/gtk) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libaudiofile-0.2.6
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libogg-1.1
BULK> chemtool-1.6 requires installed package perl-5.8.4 (lang/perl58) to build.
BULK> chemtool-1.6 requires installed package gmake-3.80nb3 (devel/gmake) to build.
BULK> chemtool-1.6 requires installed package x11-links-0.23 (pkgtools/x11-links) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.1nb1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gtexinfo-4.6nb2
BULK> Installing packages which are required to build chemtool-1.6.
BULK> Required package gtk+-1.2.10nb7 (x11/gtk) is already installed
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> 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> Required package glib-1.2.10nb6 (devel/glib) is already installed
BULK> Required package xdg-x11-dirs-1.1 (misc/xdg-x11-dirs) is already installed
BULK> Required package xdg-dirs-1.1 (misc/xdg-dirs) is already installed
BULK> Required package perl-5.8.4 (lang/perl58) is already installed
BULK> Required package gettext-0.11.5nb4 (devel/gettext) is already installed
BULK> Required package gettext-m4-0.11.5 (devel/gettext-m4) is already installed
BULK> Required package gmake-3.80nb3 (devel/gmake) is already installed
BULK> Required package x11-links-0.23 (pkgtools/x11-links) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (chemtool-1.6)
===> Checking for vulnerabilities in chemtool-1.6
=> Checksum OK for chemtool-1.6.tar.gz.
work -> /work/pkgbuild/biology/chemtool/work
===> Extracting for chemtool-1.6
===> Required installed package gtk+>=1.2.10: gtk+-1.2.10nb7 found
===> Required installed package gettext-lib>=0.11.5nb1: gettext-lib-0.11.5nb3 found
===> Required installed package glib>=1.2.10nb5: glib-1.2.10nb6 found
===> Required installed package libiconv>=1.9.1: libiconv-1.9.1nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Patching for chemtool-1.6
===> Applying pkgsrc patches for chemtool-1.6
===> Overriding tools for chemtool-1.6
===> Buildlinking for chemtool-1.6
===> Configuring for chemtool-1.6
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether gmake sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking for main in -libs... no
checking for acos in -lm... yes
checking for gtk-config... /usr/pkg/bin/gtk-config
checking for GTK - version >= 1.0.2... yes
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working POSIX fnmatch... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for getwd... yes
checking for mkdir... yes
checking for strtod... yes
checking for strtol... yes
checking for KDE ... no
checking for GNOME ... no
checking whether to enable locales... yes
checking whether to enable libundo... yes
checking whether to use pull-down menus... yes
checking whether to enable emf output... no
checking whether standard GTK dialogs should be used instead of our own... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src-cht/Makefile
config.status: creating config.h
===> Building for chemtool-1.6
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o main.o main.c
"templates.h", line 6519: warning: syntax error:  empty declaration
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o chemproc.o chemproc.c
"ct1.h", line 286: warning: newline not last character in file
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o graph.o graph.c
"ct1.h", line 286: warning: newline not last character in file
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o draw.o draw.c
"ct1.h", line 286: warning: newline not last character in file
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o inout.o inout.c
"ct1.h", line 286: warning: newline not last character in file
"inout.h", line 72: warning: newline not last character in file
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o undo.o undo.c
"undo.c", line 607: warning: assignment type mismatch:
	pointer to function(pointer to struct _UNDO_MEMORY_STREAM {pointer to function(..) returning void destroy, pointer to function(..) returning unsigned int read, pointer to void implementation}) returning void "=" pointer to void
"undo.c", line 608: warning: assignment type mismatch:
	pointer to function(pointer to struct _UNDO_MEMORY_STREAM {pointer to function(..) returning void destroy, pointer to function(..) returning unsigned int read, pointer to void implementation}, unsigned int, pointer to void, unsigned int) returning unsigned int "=" pointer to void
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o gtkmenu.o gtkmenu.c
"gtkmenu.c", line 242: warning: assignment type mismatch:
	pointer to function(pointer to struct _GtkMenu {struct _GtkMenuShell {..} menu_shell, pointer to struct _GtkWidget {..} parent_menu_item, pointer to struct _GtkWidget {..} old_active_menu_item, pointer to struct _GtkAccelGroup {..} accel_group, pointer to function(..) returning void position_func, pointer to void position_func_data, pointer to struct _GtkWidget {..} toplevel, pointer to struct _GtkWidget {..} tearoff_window, unsigned int torn_off :1, int first_scroll_child, int last_scroll_child, int top_scroll_arrow_lit, int bottom_scroll_arrow_lit, unsigned int scroll_up_source_tag, unsigned int scroll_down_source_tag}, pointer to int, pointer to int, pointer to void) returning void "=" pointer to void
cc -O -I/usr/pkg/include -Wall -Wunused -Wuninitialized -I. `gtk-config --cflags` -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/pkg/lib/locale\""   -I/usr/pkg/include  -c -o gtkfilesel.o gtkfilesel.c
cc main.o chemproc.o graph.o draw.o inout.o undo.o gtkmenu.o gtkfilesel.o `gtk-config --libs`  -lm -o chemtool
cd src-cht;make
make[1]: Entering directory `/work/pkgbuild/biology/chemtool/work/chemtool-1.6/src-cht'
cc -O -I/usr/pkg/include cht-2.4.c -o cht
"cht-2.4.c", line 2712: warning: old-style declaration or incorrect type for: main
make[1]: Leaving directory `/work/pkgbuild/biology/chemtool/work/chemtool-1.6/src-cht'
=> Fixing buildlink references in files-to-be-installed.
===> Installing for chemtool-1.6
/usr/ucb/install -c -o root -g root -d /usr/pkg/bin /usr/pkg/man/man1
usage: install [-cs] [-g group] [-m mode] [-o owner] file ...  destination
       install  -d   [-g group] [-m mode] [-o owner] dir
gmake: *** [install] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/biology/chemtool
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/biology/chemtool
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/biology/chemtool
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/biology/chemtool
BULK> chemtool-1.6 was marked as broken:
-rw-r--r--   1 root     other      12532 Jun 11 09:25 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for chemtool
BULK> Marking all packages which depend upon chemtool-1.6 as broken:
BULK> Build for chemtool-1.6 was not successful, aborting.