I mistakenly sent this message to the trinity-users list. Maybe I need better eyeglasses.
Or a new brain. :(
I'm revamping my build scripts in preparation for building from GIT. In that effort I
am making a last pass at building all 3.5.13 packages as a way to test my build scripts.
All packages built previously, some several times.
I no longer can build kdemultimedia 3.5.13. My build script for that package is almost
unchanged although my master script that runs everything has changed a bit. As far as I
can tell, build environment variables remain consistent.
I have built kdemultimedia 3.5.13 several times, but the build now always fails hard now
with the following:
=============================================================
make[4]: Entering directory `/dev/shm/kdemultimedia/arts/tools'
...
if test "$ret" = 0; then echo '#include
"midimanagerwidget.moc"' >> midimanagerwidget.cpp; else rm -f
midimanagerwidget.cpp ; exit $ret ; fi
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
-I../../arts/gui/kde -I../../arts/gui/common -I../../arts/modules
-I../../arts/modules/common -I../../arts/modules/synth -I../../arts/modules/mixers
-I../../arts/modules/effects -I../../arts/midi -I/opt/trinity/include/arts
-I/opt/trinity/include -I/opt/trinity/lib/qt3-3.3.8.d/include -I. -include tqt.h
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3
-fno-inline -O2 -march=i486 -mtune=i686 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-MT midimanagerwidget.lo -MD -MP -MF .deps/midimanagerwidget.Tpo -c -o
midimanagerwidget.lo midimanagerwidget.cpp
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../arts/gui/kde -I../../arts/gui/common
-I../../arts/modules -I../../arts/modules/common -I../../arts/modules/synth
-I../../arts/modules/mixers -I../../arts/modules/effects -I../../arts/midi
-I/opt/trinity/include/arts -I/opt/trinity/include -I/opt/trinity/lib/qt3-3.3.8.d/include
-I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-fno-builtin -g3 -fno-inline -O2 -march=i486 -mtune=i686 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT midimanagerwidget.lo -MD -MP -MF
.deps/midimanagerwidget.Tpo -c midimanagerwidget.cpp -fPIC -DPIC -o
.libs/midimanagerwidget.o
mv -f .deps/midimanagerwidget.Tpo .deps/midimanagerwidget.Plo
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-fno-builtin -g3 -fno-inline -O2 -march=i486 -mtune=i686 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/opt/trinity/lib -L/opt/trinity/lib/qt3-3.3.8.d/lib
-lmcop -lartsflow_idl -L../gui/common -lartsgui_idl -L../gui/kde -lartsgui_kde
-L../midi -lartsmidi -lartsmidi_idl -L../modules/effects -lartsmoduleseffects
-L../modules/synth -lartsmodulessynth -L../modules/common -lartsmodulescommon -lqt-mt -lz
-lpng -lz -lm -lXext -lX11 -lSM -lICE -ltqt -lpthread -lDCOP -lkdecore -lkdeui
-version-info 1:0:0 -no-undefined -o libartscontrolsupport.la -rpath /opt/trinity/lib
templateview.lo artsactions.lo audiomanager.lo
choosebusdlg.lo midimanagerview.lo midiportdlg.lo midiinstdlg.lo environmentview.lo
fftscopeview.lo mediatypesview.lo statusview.lo midimanagerdlg.lo midimanagerwidget.lo
-lartsflow -lartsflow_idl -lmcop -lqtmcop -ldl -lsoundserver_idl -lartskde
../../arts/gui/common/libartsgui_idl.la ../../arts/gui/kde/libartsgui_kde.la
../../arts/modules/libartsmodules.la -lkdeui
libtool: link: warning:
`/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libstdc++.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libstdc++.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libstdc++.la' seems to be moved
g++ -shared -nostdlib /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../crti.o
/usr/lib/gcc/i486-slackware-linux/4.4.4/crtbeginS.o .libs/templateview.o
.libs/artsactions.o .libs/audiomanager.o .libs/choosebusdlg.o .libs/midimanagerview.o
.libs/midiportdlg.o .libs/midiinstdlg.o .libs/environmentview.o .libs/fftscopeview.o
.libs/mediatypesview.o .libs/statusview.o .libs/midimanagerdlg.o .libs/midimanagerwidget.o
-Wl,--rpath -Wl,/dev/shm/kdemultimedia/arts/gui/common/.libs -Wl,--rpath
-Wl,/dev/shm/kdemultimedia/arts/gui/kde/.libs -Wl,--rpath
-Wl,/dev/shm/kdemultimedia/arts/modules/.libs
-L/dev/shm/kdemultimedia/arts/gui/common/.libs -L/dev/shm/kdemultimedia/arts/gui/kde/.libs
-L/opt/trinity/lib -L/opt/trinity/lib/qt3-3.3.8.d/lib
-L/dev/shm/kdemultimedia/arts/gui/common /opt/trinity/lib/libartsgui_idl.so -L/usr/lib
-L/dev/shm/kdemultimedia/arts/gui/kde /opt/trinity/lib/libartsgui_kde.so
-L/dev/shm/kdemultimedia/arts/midi /opt/trinity/lib/libartsmidi.so
/opt/trinity/lib/libartsmidi_idl.so -L/dev/shm/kdemultimedia/arts/modules/effects
/opt/trinity/lib/libartsmoduleseffects.so -L/dev/shm/kdemultimedia/arts/modules/synth
/opt/trinity/lib/libartsmodulessynth.so -L/dev/shm/kdemultimedia/arts/modules/common
/opt/trinity/lib/libartsmodulescommon.so -lqt-mt /usr/lib/libpng14.so -lz
/usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libSM.so /usr/lib/libICE.so
/usr/lib/libtqt.so -lpthread /opt/trinity/lib/libDCOP.so /opt/trinity/lib/libkdecore.so
/opt/trinity/lib/libartsflow.so /opt/trinity/lib/libartsflow_idl.so
/opt/trinity/lib/libmcop.so /opt/trinity/lib/libqtmcop.so -ldl
/opt/trinity/lib/libsoundserver_idl.so /opt/trinity/lib/libartskde.so
../../arts/gui/common/.libs/libartsgui_idl.so
-L/usr/lib/gcc/i486-slackware-linux/4.4.4/../../..
../../arts/gui/kde/.libs/libartsgui_kde.so ../../arts/modules/.libs/libartsmodules.so
-L/dev/shm/kdemultimedia/arts/modules/mixers/.libs
-L/dev/shm/kdemultimedia/arts/modules/effects/.libs
-L/dev/shm/kdemultimedia/arts/modules/common/.libs
-L/dev/shm/kdemultimedia/arts/modules/synth/.libs
-L/dev/shm/kdemultimedia/arts/runtime/.libs -L/dev/shm/kdemultimedia/arts/midi/.libs
/opt/trinity/lib/libkdeui.so -L/usr/lib/gcc/i486-slackware-linux/4.4.4
-L/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../../i486-slackware-linux/lib
/usr/lib/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i486-slackware-linux/4.4.4/crtendS.o
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../crtn.o -march=i486 -mtune=i686
-Wl,-soname -Wl,libartscontrolsupport.so.1 -o .libs/libartscontrolsupport.so.1.0.0
g++: /opt/trinity/lib/libartsgui_idl.so: No such file or directory
g++: /opt/trinity/lib/libartsgui_kde.so: No such file or directory
g++: /opt/trinity/lib/libartsmidi.so: No such file or directory
g++: /opt/trinity/lib/libartsmidi_idl.so: No such file or directory
g++: /opt/trinity/lib/libartsmoduleseffects.so: No such file or directory
g++: /opt/trinity/lib/libartsmodulessynth.so: No such file or directory
g++: /opt/trinity/lib/libartsmodulescommon.so: No such file or directory
make[4]: *** [libartscontrolsupport.la] Error 1
make[4]: Leaving directory `/dev/shm/kdemultimedia/arts/tools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/dev/shm/kdemultimedia/arts/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dev/shm/kdemultimedia/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/kdemultimedia'
make: *** [all] Error 2
=============================================================
Checking the build environment shows that the library files have been built:
$TMP/kdemultimedia/arts/gui/common/.libs/libartsgui_idl.so
Looking at that build log, why is the build process looking in /opt/trinity/lib/ rather
than $TMP/kdemultimedia/arts/gui/common/.libs? Do I have an environment variable messed up
or missing? I'm guessing something like that has happened because I built
kdemultimedia 3.5.13 before.
I haven't back ported any new patches. I run this build script in single processing
mode (NUMJOBS=-j1).
I appreciate any help. Thanks!
Darrell
Show replies by date
I no longer can build kdemultimedia 3.5.13.
Package now builds. I did nothing magical I know. I removed every Trinity related package
and rebuilt from the start.
I'm stumped about the cause. Cosmic rays? Oh well, I'm happy!
Darrell