[mythtv] broken OS X builds
Stuart Auchterlonie
stuarta at squashedfrog.net
Fri Dec 14 00:30:26 UTC 2007
Nigel Pearson wrote:
>> /usr/bin/libtool: can't locate file for: -lmythui-0.20
>> /usr/bin/libtool: file: -lmythui-0.20 is not an object file (not
>> allowed
>> in a library)
>> make[2]: *** [libmythupnp-0.20.0.20.0.dylib] Error 1
>> make[1]: *** [sub-libmythupnp] Error 2
>
> Try 15157 ?
>
Much better. Looks like core myth builds okay, trips up in the
plugins by the look of it. Apologies for the length of it, but
it looks like there are 2 problems there. The first is missing
symbols while building libmythmusic.dylib, and the second is that
libfreetype is not prebound.
Regards,
Stuart A
---
ccache g++ -headerpad_max_install_names -Wl,-search_paths_first
-flat_namespace -undefined error -bundle -o libmythmusic.dylib cdrip.o
decoder.o flacdecoder.o flacencoder.o maddecoder.o main.o mainvisual.o
metadata.o playbackbox.o playlist.o streaminput.o encoder.o dbcheck.o
synaesthesia.o treecheckitem.o vorbisdecoder.o lameencoder.o
vorbisencoder.o visualize.o bumpscope.o globalsettings.o databasebox.o
genres.o metaio.o metaiotaglib.o vcedit.o metaiooggvorbiscomment.o
metaioflacvorbiscomment.o metaioavfcomment.o filters.o goom_core.o
graphic.o tentacle3d.o ifs.o ifs_display.o lines.o surf3d.o
zoom_filter_mmx.o zoom_filter_xmmx.o mythgoom.o avfdecoder.o
editmetadata.o smartplaylist.o search.o treebuilders.o importmusic.o
directoryfinder.o filescanner.o libvisualplugin.o musicplayer.o
miniplayer.o cddecoder-darwin.o moc_cdrip.o moc_databasebox.o
moc_mainvisual.o moc_metadata.o moc_playbackbox.o moc_streaminput.o
moc_globalsettings.o moc_editmetadata.o moc_smartplaylist.o moc_search.o
moc_importmusic.o moc_directoryfinder.o moc_miniplayer.o
-L/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib
-L/usr/lib
-L/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib
-lmad -ltag -logg -lvorbisfile -lvorbis -lvorbisenc -lFLAC -lmp3lame
-lmyth-0.20 -lmythui-0.20 -lmythavutil-0.20 -lmythavcodec-0.20
-lmythavformat-0.20 -lqt-mt -framework OpenGL -framework AGL
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o mtd.o
mtd.cpp
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
serversocket.o serversocket.cpp
/usr/bin/ld: Undefined symbols:
PlaybackBoxMusic::stopDecoder()
HttpServer::HttpServer(int)
MythXMLClient::GetConnectionInfo(QString const&, DatabaseParams*, QString&)
MythXMLClient::MythXMLClient(QUrl const&, bool)
MythXMLClient::~MythXMLClient()
XmlConfiguration::XmlConfiguration(QString const&)
SSDP::PerformSearch(QString const&)
UPnp::Initialize(int, HttpServer*)
UPnp::g_SSDPCache
UPnp::SetConfiguration(Configuration*)
UPnp::g_UPnpDeviceDesc
UPnp::g_pSSDP
UPnp::g_pConfig
UPnp::UPnp()
SSDPCache::Find(QString const&)
SSDPCache::Find(QString const&, QString const&)
UPnpDeviceDesc::Retrieve(QString&, bool)
collect2: ld returned 1 exit status
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
jobthread.o jobthread.cpp
make[2]: *** [libmythmusic.dylib] Error 1
make[1]: *** [sub-mythmusic] Error 2
make: *** [sub-mythmusic] Error 2
make: *** Waiting for unfinished jobs....
cd i18n && /usr/bin/make -f Makefile
ccache gcc -c -pipe -march=pentium4
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wall -W -fomit-frame-pointer -O3 -fomit-frame-pointer
-D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -o dummy.o dummy.c
ccache g++ -headerpad_max_install_names -Wl,-search_paths_first -prebind
-o i18n dummy.o -L/usr/lib
-L/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
dvdprobe.o dvdprobe.cpp
../../../../../build/include/qsqldatabase.h:63: warning: 'class
QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
fileobs.o fileobs.cpp
../../../../../build/include/qsqldatabase.h:63: warning: 'class
QSqlDriverCreatorBase' has virtual functions but non-virtual destructor
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
threadevents.o threadevents.cpp
/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/bin/moc
logging.h -o moc_logging.cpp
/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/bin/moc
mtd.h -o moc_mtd.cpp
/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/bin/moc
serversocket.h -o moc_serversocket.cpp
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
moc_logging.o moc_logging.cpp
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
moc_mtd.o moc_mtd.cpp
ccache g++ -c -pipe -march=pentium4 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -Wall
-W -fomit-frame-pointer -O3 -fomit-frame-pointer -D_GNU_SOURCE
-DPREFIX=\"/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build\"
-DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/mkspecs/default
-I. -I../../../../../build/include -I../../../../../build/include
-I../../../../../build/include -I../../../../../build/include/mythtv
-I/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Versions/A/Headers -o
moc_serversocket.o moc_serversocket.cpp
ccache g++ -headerpad_max_install_names -Wl,-search_paths_first -prebind
-o mtd main.o dbcheck.o logging.o mtd.o serversocket.o jobthread.o
dvdprobe.o fileobs.o threadevents.o moc_logging.o moc_mtd.o
moc_serversocket.o
-L/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib
-L/usr/lib
-L/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib
-lfreetype -lmp3lame -lmyth-0.20 -lmythui-0.20 -lmythupnp-0.20
-lmythdvdnav-0.20 -lqt-mt -framework OpenGL -framework AGL
/usr/bin/ld: warning prebinding disabled because dependent library:
/Users/stuarta/Projects/MythTV/build/mythtv/.osx-packager/build/lib/libfreetype.6.dylib
is not prebound
[osx-pkg] Failed system call: " /usr/bin/make -j2 " with error code 2
Died at ./osx-packager.pl line 906.
More information about the mythtv-dev
mailing list