Subject: pkg/14672: openmotif-2.1.30 does not build
To: None <gnats-bugs@gnats.netbsd.org, daniel@bicho.SynchroDS.COM>
From: Daniel Senderowicz <daniel@bicho.SynchroDS.COM>
List: netbsd-bugs
Date: 11/21/2001 15:52:36
>Number: 14672
>Category: pkg
>Synopsis: openmotif-2.1.30 does not build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 21 15:53:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Daniel Senderowicz
>Release: 9/9/2001?
>Organization:
SynchroDesign Inc.
>Environment:
DECstation 5000/240 NetBSD-1.5.2
System: NetBSD bicho.SynchroDS.COM 1.5.2 NetBSD 1.5.2 (SYNCHRODESIGN) #46: Fri Dec 24 02:33:24 EST 1999 root@vlad:/usr/src/sys/arch/pmax/compile/GENERIC pmax
>Description:
After cd'ing into /usr/pkgsrc/x11/openmotif I typed "make
package" and it stops after complaining about a makefile issue.
Below is a log of the related compilation steps.
>How-To-Repeat:
>Fix:
_______________________________________________________________________________
===> 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.
_______________________________________________________________________________
>Release-Note:
>Audit-Trail:
>Unformatted: