Calculating dependencies ...done!
>>> emerge (1 of 1) x11-libs/openmotif-2.1.30-r1 to /
>>> md5 src_uri
>>> Unpacking source...
>>> Unpacking openmotif-2.1.30-4_MLI.src.tar.gz to /var/tmp/portage/openmotif-2.1.30-r1/work
cp: cannot create regular file `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/cf/site.def': Permission denied
>>> Source unpacked.
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.
Mon Sep 29 08:29:28 UTC 2003
cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean
make[1]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
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[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
make Makefile.boot
make[1]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS=""
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
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(.text+0xf0c): In function `get_libc_version':
: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
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
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/makedepend'
make[2]: Nothing to be done for `bootstrap'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/makedepend'
./config/imake/imake -I./config/cf -s ./config/imake/Makefile.proto -f ./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake
cd ./config/imake && make -f Makefile.proto bootstrapdepend
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
make[2]: Nothing to be done for `bootstrapdepend'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/conf
ig/imake'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" bootstrap
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
+ mkdir bootstrap
mv *.o imake bootstrap
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
cd ./config/imake && make -f Makefile.proto all
make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
gcc -O -I../../include -I../../imports/x11/include/X11 -I../.. -I../../exports/include -I../../imports/x11/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO -DCPP_PROGRAM="\"/lib/cpp\"" -c -o imake.o imake.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif'
make: *** [World] Error 2
!!! ERROR: x11-libs/openmotif-2.1.30-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
I see there is a bug http://bugs.gentoo.org/show_bug.cgi?id=28670 about emerging openmotif when lesstif is installed, but I don't have lesstif installed and there doesn't seem to be a definate fix. This is on a Sparc5 with a fresh stage1 install. I am trying to get kde installed and this is one of the packages emerge -p kde wants installed. Has anyone else ran into this problem?

