Subject: trouble with openmotif
To: None <tech-pkg@NetBSD.org>
From: Francois Laissus <Francois.Laissus@infobiogen.fr>
List: tech-pkg
Date: 11/19/2003 12:43:51
Dear Maintainer,

I've encountered a trouble when compiling openmotif under Solaris 9 
with gcc3-3.3nb5 (same pb with gcc-2.95.3 or Solaris Forte 7).

I've tried to change default shell with SH or SHELL in /etc/mk.conf
but it doesn't change anything (test -e "" doesn't generate any error
with /bin/ksh, for instance).

Have you any advice ? 

Many thanks,
Regards,

F.Laissus

-----------------------------------------------------------------------------
(999)fla@babbage bmake
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> 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.
work -> /usr/pkg/obj/x11/openmotif/work
===> Extracting for openmotif-2.1.30nb2
===> Required installed package xpkgwedge>=1.5: xpkgwedge-1.8 found
===> Required installed package x11-links>=0.17: x11-links-0.18 found
/usr/xpg4/bin/cp /usr/pkgsrc/x11/openmotif/files/NoInstall.rules /usr/pkg/obj/x11/openmotif/work/motif/config/cf/NoInstall.rules
/usr/xpg4/bin/cp /usr/pkgsrc/x11/openmotif/files/OpenMotif.def /usr/pkg/obj/x11/openmotif/work/motif/config/cf/Motif.def
===> Patching for openmotif-2.1.30nb2
===> Applying distribution patches for openmotif-2.1.30nb2
===> Applying pkgsrc patches for openmotif-2.1.30nb2
cd /usr/pkg/obj/x11/openmotif/work/motif/doc/man;                                                for file in man1/*.1 man3/*.3 man4/*.4 man5/*.5; do             /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;                        /usr/bin/mv -f ${file}.fixed ${file};                   done;                                                           /usr/xpg4/bin/cp -f man4/mwmrc.4 man5/mwmrc.5
cd /usr/pkg/obj/x11/openmotif/work/motif/config/cf;                                              files="Motif.rules Motif.tmpl";                                         for file in ${files}; do                                        dest="Open${file}";                                     /usr/bin/rm -f ${dest};                                         /usr/bin/ln -s ${file} ${dest};                                 done
cd /usr/pkg/obj/x11/openmotif/work/motif/doc/man/man3;                                   for name in Core Object Shell; do                                /usr/bin/mv -f ${name}.3 X${name}.3;                   files=`/usr/xpg4/bin/grep -l ".fB${name}.fP(3)" *.3`;           for file in ${files}; do                                /usr/bin/mv -f ${file} ${file}.presubst;                /bin/sed "s|\(.fB\)${name}\(.fP(3)\)|\1X${name}\2|g"  ${file}.presubst > ${file};               /usr/bin/rm -f ${file}.presubst;                        done;                                                   done
===> Overriding tools for openmotif-2.1.30nb2
===> Buildlinking for openmotif-2.1.30nb2
===> Configuring for openmotif-2.1.30nb2
/usr/bin/mkdir -p /usr/pkg/obj/x11/openmotif/work/motif/imports/x11
cd /usr/pkg/obj/x11/openmotif/work/motif/imports/x11; for dir in bin include lib; do     if [ -e ${dir} ]; then                                  /usr/bin/rm ${dir};                                     fi;                                                     /usr/bin/ln -s /usr/pkg/obj/x11/openmotif/work/.buildlink-x11/${dir} ${dir};            done
/bin/sh: test: argument expected
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/openmotif
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/openmotif