Subject: building openmotif
To: None <port-pmax@netbsd.org>
From: Daniel Senderowicz <daniel@bicho.SynchroDS.COM>
List: tech-pkg
Date: 11/27/2001 12:25:51
Hi,

I'm wondering if anybody succeded in building openmotif-2.1.30.
I'm running 1.5.2 on a DS5000/240. I use the pkgsrc.tar.gz dated
11/10. It seems to be something related to the config steps (see
below for attached log). I already send a 'send-pr' but a guy
there told me that he could not reproduce the problem. Thanks in
advance.

Dan

_______________________________________________________________________________

===> Returning to build of amaya-5.1
===> Required package openmotif>=2.1.30: NOT found
===> Verifying package for ../../x11/openmotif
===> Validating dependencies for openmotif-2.1.30
=> Checksum OK for openmotif/openmotif2.1.30.tar.gz.
=> Checksum OK for openmotif/patch1.
=> Checksum OK for openmotif/patch2.
=> Checksum OK for openmotif/patch3.
=> Checksum OK for openmotif/patch4.
=> Checksum OK for openmotif/patch5.
===> Extracting for openmotif-2.1.30
===> Required installed package x11-links>=0.4: x11-links-0.4 found
/bin/cp /usr/pkgsrc/x11/openmotif/files/NoInstall.rules /usr/pkgsrc/x11/openmotif/work/motif/config/cf/NoInstall.rules
/bin/cp /usr/pkgsrc/x11/openmotif/files/OpenMotif.def /usr/pkgsrc/x11/openmotif/work/motif/config/cf/Motif.def
===> Patching for openmotif-2.1.30
===> Applying distribution patches for openmotif-2.1.30
===> Applying NetBSD patches for openmotif-2.1.30
cd /usr/pkgsrc/x11/openmotif/work/motif/doc/man;						 for file in man1/*.1 man3/*.3 man4/*.4 man5/*.5; do		 /usr/bin/sed	-e "s|user cmd|1|g"				 -e "s|library call|3|g"				 -e "s|special file|5|g"				 -e "s|file formats|5|g"				 ${file} > ${file}.fixed;			 /bin/mv -f ${file}.fixed ${file};			 done;								 /bin/cp -f man4/mwmrc.4 man5/mwmrc.5
cd /usr/pkgsrc/x11/openmotif/work/motif/config/cf;						 files="Motif.rules Motif.tmpl";					 for file in ${files}; do					 dest="Open${file}";					 /bin/rm -f ${dest};					 /bin/ln -s ${file} ${dest};				 done
cd /usr/pkgsrc/x11/openmotif/work/motif/doc/man/man3;					 for name in Core Object Shell; do                                /bin/mv -f ${name}.3 X${name}.3;			 files=`/usr/bin/grep -l ".fB${name}.fP(3)" *.3`;		 for file in ${files}; do				 /bin/mv -f ${file} ${file}.presubst;		 /usr/bin/sed "s|\(.fB\)${name}\(.fP(3)\)|\1X${name}\2|g"  ${file}.presubst > ${file};		 /bin/rm -f ${file}.presubst;			 done;							 done
===> Configuring for openmotif-2.1.30
/bin/mkdir -p /usr/pkgsrc/x11/openmotif/work/motif/imports/x11
cd /usr/pkgsrc/x11/openmotif/work/motif/imports/x11; for dir in bin include lib; do	 if [ -e ${dir} ]; then					 /bin/rm ${dir};					 fi;							 /bin/ln -s /usr/pkg/share/x11-links/${dir} ${dir};		 done
Removing rpath references to buildlink directories:
	Makefile
===> Building for openmotif-2.1.30

Building Release 2.1.30 of Motif

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

Tue Nov 20 19:03:44 PST 2001

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
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from config/cf/Imake.tmpl:90,
                 from Imakefile.c:8:
config/cf/NetBSD.cf:372: warning: `PositionIndependentCFlags' redefined
config/cf/bsdLib.rules:159: warning: this is the location of the previous definition
config/cf/NetBSD.cf:373: 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:912,
                 from config/cf/OpenMotif.tmpl:46,
                 from config/cf/Imake.tmpl:1423,
                 from Imakefile.c:8:
config/cf/bsdLib.tmpl:63: warning: `SharedXtReqs' redefined
config/cf/NetBSD.cf:375: warning: this is the location of the previous definition
config/cf/bsdLib.tmpl:65: warning: `SharedXmuReqs' redefined
config/cf/NetBSD.cf:376: warning: this is the location of the previous definition
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
"Makefile.proto", line 46: 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.
_______________________________________________________________________________