Subject: port-pmax/10108: vnc fails to build on pmax
To: None <gnats-bugs@gnats.netbsd.org>
From: Nino Margetic <nino@well.ox.ac.uk>
List: netbsd-bugs
Date: 05/13/2000 05:14:13
>Number:         10108
>Category:       port-pmax
>Synopsis:       vnc fails to build on pmax
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 13 05:15:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Nino Margetic
>Release:        NetBSD-1.4.2
>Organization:
University of Oxford.
>Environment:
System: NetBSD una 1.4.2 NetBSD 1.4.2 (UNA) #0: Thu Apr 27 17:38:28 BST 2000 root@una:/tmp_mnt/krka.internal.net/export/NetBSD/src/sys/arch/pmax/compile/UNA pmax


>Description:
	nino una:/usr/pkgsrc/net/vnc > cd /usr/pkgsrc/net/vnc
	nino una:/usr/pkgsrc/net/vnc > sudo make package
	Password:
	===> Validating dependencies for vnc-3.3.3.1
	=> Checksum OK for vnc-3.3.3r1_unixsrc.tgz.
	=> Checksum OK for vnc-latest_doc.tgz.
	===> Extracting for vnc-3.3.3.1
	===> vnc-3.3.3.1 depends on installed package: perl-* - perl-5.00404 found
	===> Patching for vnc-3.3.3.1
	===> Applying NetBSD patches for vnc-3.3.3.1
	===> Configuring for vnc-3.3.3.1
	imake -DUseInstalled -I/usr/X11R6/lib/X11/config

[*** libvncauth vncviewer vncpasswd are built OK ***]
[*** so output was deleted until building of the VNCserver ***]

	Building Release 6.3 of the X Window System.

	I hope you checked the configuration parameters in ./config/cf
	to see if you need to pass BOOTSTRAPCFLAGS.

	Sat May 13 12:46:48 BST 2000

	cd ./config/imake && make   -f Makefile.ini BOOTSTRAPCFLAGS="" clean
	rm -f ccimake imake.o imake
	rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
	rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
	make   Makefile.boot
	cd ./config/imake && make   -f Makefile.ini BOOTSTRAPCFLAGS=""
	making imake with BOOTSTRAPCFLAGS= in config/imake
	cc -o ccimake  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
	cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
	cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
	imake.o: In function `main':
	imake.c(.text+0x164): warning: mktemp() possibly used unsafely, use mkstemp() or
	 mkdtemp()
	 rm -f ./config/makedepend/Makefile.proto
	 ./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./c
	 onfig/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
	 In file included from config/cf/Imake.tmpl:90,
	 	from Imakefile.c:8:
		config/cf/NetBSD.cf:365: warning: `PositionIndependentCFlags' redefined
		config/cf/bsdLib.rules:159: warning: this is the location of the previous definition
		config/cf/NetBSD.cf:366: warning: `SharedLibraryLoadFlags' redefined
		config/cf/bsdLib.rules:156: warning: this is the location of the previous definition
	In file included from config/cf/X11.tmpl:882,
		from config/cf/Imake.tmpl:1328,
		from Imakefile.c:8:
	config/cf/bsdLib.tmpl:47: warning: `SharedXtReqs' redefined
	config/cf/NetBSD.cf:368: warning: this is the location of the previous definitio
	n
	config/cf/bsdLib.tmpl:49: warning: `SharedXmuReqs' redefined
	config/cf/NetBSD.cf:369: warning: this is the location of the previous definitio
	cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
	cd ./config/makedepend && make -f Makefile.proto bootstrap
	"Makefile.proto", line 44: Need an operator
	Fatal errors encountered -- cannot continue
	*** Error code 1
	 
	Stop.
	*** Error code 1
	  
	Stop.
	*** Error code 1
	 
	Stop.
	*** Error code 1
	    
	Stop.
	*** Error code 1
	     
	Stop.
	*** Error code 1
	 
	Stop.
	nino una:/usr/pkgsrc/net/vnc >

>How-To-Repeat:
a	See above.
>Fix:
	Fix the makefile?
>Release-Note:
>Audit-Trail:
>Unformatted: