Subject: pkg/7910: pine package does not make on NetBSD/sparc 1.3.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fair@clock.org>
List: netbsd-bugs
Date: 07/04/1999 00:23:11
>Number:         7910
>Category:       pkg
>Synopsis:       pine package does not make on NetBSD/sparc 1.3.2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul  4 00:05:03 1999
>Last-Modified:
>Originator:     Erik E. Fair
>Organization:
	
>Release:        NetBSD/sparc 1.3.2
>Environment:
	
System: NetBSD cesium.clock.org 1.3.2 NetBSD 1.3.2 (CESIUM) #0: Sat Sep 12 19:30:08 PDT 1998 root@:/usr/src/sys/arch/sparc/compile/CESIUM sparc


>Description:
	
>How-To-Repeat:
	cd /usr/pkgsrc/mail/pine
	make

	===>  Validating dependencies for pine-4.10
	>> Checksum OK for pine4.10.tar.gz.
	===>  Extracting for pine-4.10
	===>  pine-4.10 depends on package: pico-3.5
	===>  Verifying install for ../../editors/pico
	===>  Validating dependencies for pico-3.5
	>> Checksum OK for pine4.10.tar.gz.
	===>  Extracting for pico-3.5
	===>  pico-3.5 depends on file: /usr/pkg/bin/pkglibtool-1.2p1 - found
	work -> /var/tmp/pkg/editors/pico/work
	===>  Patching for pico-3.5
	===>  Applying NetBSD patches for pico-3.5
	===>  Configuring for pico-3.5
	===>  Building for pico-3.5
	cd /var/tmp/pkg/editors/pico/work/pine4.10 && ./build neb CC="/usr/pkg/bin/pkglibtool-1.2p1 cc" PREFIX=/usr/pkg
	make args are  'CC=/usr/pkg/bin/pkglibtool-1.2p1 cc' 'PREFIX=/usr/pkg'

	Making Pico and Pilot
	make CC=/usr/pkg/bin/pkglibtool-1.2p1 cc PREFIX=/usr/pkg -f makefile.neb
	rm -f os.h
	ln -s osdep/os-neb.h os.h
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c attach.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC attach.c
	mv -f attach.o attach.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c attach.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c basic.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC basic.c
	mv -f basic.o basic.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c basic.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c bind.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC bind.c
	mv -f bind.o bind.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c bind.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c browse.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC browse.c
	mv -f browse.o browse.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c browse.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c buffer.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC buffer.c
	mv -f buffer.o buffer.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c buffer.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c composer.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC composer.c
	mv -f composer.o composer.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c composer.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c display.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC display.c
	mv -f display.o display.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c display.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c file.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC file.c
	mv -f file.o file.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c file.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c fileio.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC fileio.c
	mv -f fileio.o fileio.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c fileio.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c line.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC line.c
	mv -f line.o line.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c line.c >/dev/null 2>&1
	cd osdep; make includer os-neb.c; cd ..
	/usr/pkg/bin/pkglibtool-1.2p1 cc -o includer includer.c
	cc -o includer includer.c
	./includer < os-neb.ic > os-neb.c
	rm -f pico_os.c
	ln -s osdep/os-neb.c pico_os.c
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c pico_os.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC pico_os.c
	mv -f pico_os.o pico_os.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c pico_os.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c pico.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC pico.c
	mv -f pico.o pico.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c pico.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c random.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC random.c
	mv -f random.o random.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c random.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c region.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC region.c
	mv -f region.o region.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c region.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c search.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC search.c
	mv -f search.o search.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c search.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c window.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC window.c
	mv -f window.o window.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c window.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c word.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC word.c
	mv -f word.o word.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c word.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -o libpico.la attach.lo basic.lo bind.lo browse.lo buffer.lo composer.lo display.lo file.lo fileio.lo line.lo pico_os.lo pico.lo random.lo region.lo search.lo window.lo word.lo -rpath /usr/pkg/lib  -version-info 2:0
	mkdir .libs
	/usr/bin/ld -Bshareable -o .libs/libpico.so.2.0 attach.lo basic.lo bind.lo browse.lo buffer.lo composer.lo display.lo file.lo fileio.lo line.lo pico_os.lo pico.lo random.lo region.lo search.lo window.lo word.lo
	ar cru .libs/libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico_os.o pico.o random.o region.o search.o window.o word.o
	ranlib .libs/libpico.a
	creating libpico.la
	(cd .libs && ln -s ../libpico.la libpico.la)
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c main.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC main.c
	mv -f main.o main.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c main.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.la  -ltermcap -o pico
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE main.o -R/usr/pkg/lib -L.libs -lpico -ltermcap -o .libs/pico
	creating pico
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE  -c pilot.c
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c -fPIC -DPIC pilot.c
	mv -f pilot.o pilot.lo
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE -c pilot.c >/dev/null 2>&1
	/usr/pkg/bin/pkglibtool-1.2p1 cc -O2    -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE pilot.o libpico.la  -ltermcap -o pilot
	cc -O2 -Dneb -DJOB_CONTROL -DPOSIX -DMOUSE pilot.o -R/usr/pkg/lib -L.libs -lpico -ltermcap -o .libs/pilot
	creating pilot


	Done
	===>  Installing for pico-3.5
	/usr/pkg/bin/pkglibtool-1.2p1 --mode=install install -c -o bin -g bin -m 444  /var/tmp/pkg/editors/pico/work/pine4.10/pico/libpico.la /usr/pkg/lib/
	install -c -o bin -g bin -m 444 /var/tmp/pkg/editors/pico/work/pine4.10/pico/.libs/libpico.so.2.0 /usr/pkg/lib/libpico.so.2.0
	install -c -o bin -g bin -m 444 /var/tmp/pkg/editors/pico/work/pine4.10/pico/.libs/libpico.a /usr/pkg/lib/libpico.a
	ranlib /usr/pkg/lib/libpico.a
	chmod 644 /usr/pkg/lib/libpico.a
	PATH="/home/fair/bin:/home/fair/bin.sparc:/home/fair/hosts:/usr/sbin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/local/zmailer/sbin:/usr/local/zmailer/bin:/usr/local/sunos/sbin:/usr/local/sunos/bin:/usr/X11R6/sbin:/usr/X11R6/bin:/sbin:/bin:/www/sbin:/www/bin:/usr/local/bin/mh:.:/usr/pkg/bin:/usr/X11R6/bin:/sbin" ldconfig -m /usr/pkg/lib
	------------------------------------------------------------------------------
	Libraries have been installed in:
	   /usr/pkg/lib

	To link against installed libraries in a given directory, LIBDIR,
	you must use the `-LLIBDIR' flag during linking.

	 You will also need to do one of the following:
	   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
	     during execution
	   - use the `-RLIBDIR' linker flag
	   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

	See any operating system documentation about shared libraries for
	more information, such as the ld(1) and ld.so(8) manual pages.
	------------------------------------------------------------------------------
	/usr/pkg/bin/pkglibtool-1.2p1 --mode=install install -c -s -o bin -g bin -m 555  /var/tmp/pkg/editors/pico/work/pine4.10/pico/pico /var/tmp/pkg/editors/pico/work/pine4.10/pico/pilot /usr/pkg/bin/
	install -c -o bin -g bin -m 555 -s /var/tmp/pkg/editors/pico/work/pine4.10/pico/.libs/pico /usr/pkg/bin
	install -c -o bin -g bin -m 555 -s /var/tmp/pkg/editors/pico/work/pine4.10/pico/.libs/pilot /usr/pkg/bin
	install -c -o bin -g bin -m 444     /var/tmp/pkg/editors/pico/work/pine4.10/doc/pico.1 /usr/pkg/man/man1/
	install -c -o bin -g bin -m 444     /var/tmp/pkg/editors/pico/work/pine4.10/doc/pilot.1 /usr/pkg/man/man1/
	install -d -o bin -g bin -m 555 /usr/pkg/include/pico
	cd /var/tmp/pkg/editors/pico/work/pine4.10/pico &&  install -c -o bin -g bin -m 444 ebind.h edef.h efunc.h estruct.h headers.h  msmenu.h os.h pico.h resource.h  /usr/pkg/include/pico/
	===>   [Automatic a.out shared object handling]
	===>  Registering installation for pico-3.5
	===>  Returning to build of pine-4.10
	work -> /var/tmp/pkg/mail/pine/work
	===>  Patching for pine-4.10
	===>  Applying NetBSD patches for pine-4.10
	Ignoring previously applied (or reversed) patch.
	1 out of 1 hunks ignored--saving rejects to pine/osdep/os-neb.h.rej
	Patch /usr/pkgsrc/mail/pine/patches/patch-ad failed
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
>Fix:
	
>Audit-Trail:
>Unformatted: