Opened 18 years ago
Closed 18 years ago
#2218 closed defect (fixed)
mytharchive fails to build on intel Mac OS X
Reported by: | pdbailey (at) gmail | Owned by: | Nigel |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mytharchive | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
As of r10888, attempting to build with plugins enabled falls over with the following error
[osx-pkg] Running qmake for mythplugins [osx-pkg] /Users/pbailey/buildscripts/.osx-packager/build/bin/qmake PREFIX=../Resources QMAKE_LFLAGS+=-Wl,-search_paths_first INCLUDEPATH+="/Users/pbailey/buildscripts/.osx-packager/build/include" LIBS+=-L/usr/lib -L"/Users/pbailey/buildscripts/.osx-packager/build/lib" mythplugins.pro [osx-pkg] Making mythplugins [osx-pkg] /usr/bin/make cd mytharchive && qmake mytharchive.pro "PREFIX=../Resources" "QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+="/Users/pbailey/buildscripts/.osx-packager/build/include"" "LIBS+=-L/usr/lib -L"/Users/pbailey/buildscripts/.osx-packager/build/lib"" -o Makefile cd mytharchive && /usr/bin/make -f Makefile cd mytharchive && qmake mytharchive.pro "PREFIX=../Resources" "QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+=/Users/pbailey/buildscripts/.osx-packager/build/include" "LIBS+=-L/usr/lib -L/Users/pbailey/buildscripts/.osx-packager/build/lib" -o Makefile cd mytharchive && /usr/bin/make -f Makefile g++ -c -pipe -march=pentium-m -msse -msse2 -msse3 -Wall -W -O3 -I/Users/pbailey/buildscripts/.osx-packager/build/include -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -fomit-frame-pointer -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/Users/pbailey/buildscripts/.osx-packager/build\" -DMMX -Di386 -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -I/Users/pbailey/buildscripts/.osx-packager/src/qt-mac-free-3.3.6/mkspecs/default -I. -I../../../../../build/include -I../../../../../build/include -I/usr/kde/3.3/include -I../../../../../build/include -I../../../../../build/include/mythtv -I/Users/pbailey/buildscripts/.osx-packager/src/qt-mac-free-3.3.6/include -o main.o main.cpp /Users/pbailey/buildscripts/.osx-packager/src/qt-mac-free-3.3.6/include/qsqldatabase.h:63: warning: 'class QSqlDriverCreatorBase' has virtual functions but non-virtual destructor rm -f libmytharchive.dylib g++ -headerpad_max_install_names -Wl,-search_paths_first -flat_namespace -undefined suppress -bundle -o libmytharchive.dylib main.o archivesettings.o logviewer.o fileselector.o recordingselector.o videoselector.o dbcheck.o archiveutil.o mythburnwizard.o editmetadata.o exportnativewizard.o importnativewizard.o moc_logviewer.o moc_fileselector.o moc_recordingselector.o moc_videoselector.o moc_mythburnwizard.o moc_editmetadata.o moc_exportnativewizard.o moc_importnativewizard.o -L/usr/kde/3.3/lib -L/Users/pbailey/buildscripts/.osx-packager/src/qt-mac-free-3.3.6/lib -L/usr/lib -L/Users/pbailey/buildscripts/.osx-packager/build/lib -lqt-mt /usr/bin/ld: warning -L: directory name (/usr/kde/3.3/lib) does not exist cd mytharchivehelper && qmake mytharchivehelper.pro "PREFIX=../Resources" "QMAKE_LFLAGS+=-Wl,-search_paths_first" "INCLUDEPATH+=/Users/pbailey/buildscripts/.osx-packager/build/include" "LIBS+=-L/usr/lib -L/Users/pbailey/buildscripts/.osx-packager/build/lib" -o Makefile cd mytharchivehelper && /usr/bin/make -f Makefile test -d mytharchivehelper.app/Contents/MacOS/ || mkdir -p mytharchivehelper.app/Contents/MacOS/ g++ -headerpad_max_install_names -Wl,-search_paths_first -prebind -o mytharchivehelper.app/Contents/MacOS/mytharchivehelper main.o archiveutil.o -L/usr/kde/3.3/lib -L/Users/pbailey/buildscripts/.osx-packager/src/qt-mac-free-3.3.6/lib -L/usr/lib -L/Users/pbailey/buildscripts/.osx-packager/build/lib -lmyth-0.19 -lmythtv-0.19 -lmythui-0.19 -lmythfreemheg-0.19 -lmythlivemedia-0.19 -lqt-mt -framework OpenGL -framework AGL /usr/bin/ld: warning -L: directory name (/usr/kde/3.3/lib) does not exist /usr/bin/ld: warning prebinding disabled because dependent library: libmyth-0.19.0.dylib is not prebound /usr/bin/ld: warning can't open dynamic library: libmythavutil-0.19.0.dylib referenced from: /Users/pbailey/buildscripts/.osx-packager/build/lib/libmythtv-0.19.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library: libmythavcodec-0.19.0.dylib referenced from: /Users/pbailey/buildscripts/.osx-packager/build/lib/libmythtv-0.19.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library: libmythavformat-0.19.0.dylib referenced from: /Users/pbailey/buildscripts/.osx-packager/build/lib/libmythtv-0.19.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: Undefined symbols: _av_close_input_file _av_destruct_packet_nofree _av_estimate_timings _av_find_stream_info _av_free _av_open_input_file _av_read_frame _av_register_all _avcodec_alloc_frame _avcodec_close _avcodec_decode_video _avcodec_find_decoder _avcodec_flush_buffers _avcodec_open _avcodec_string _avpicture_deinterlace _avpicture_fill _dump_format _img_convert collect2: ld returned 1 exit status make[2]: *** [mytharchivehelper.app/Contents/MacOS/mytharchivehelper] Error 1 make[1]: *** [sub-mytharchivehelper] Error 2 make: *** [sub-mytharchive] Error 2 [osx-pkg] Failed system call: " /usr/bin/make " with error code 2 Died at ./osx-packager.pl line 844.
Change History (8)
comment:1 Changed 18 years ago by
Owner: | changed from paulh to Nigel |
---|
comment:2 Changed 18 years ago by
I got it to build by adding the following to the bottom of mytharchivehelper.pro.
LIBS += -lmythavformat-$$LIBVERSION -lmythavutil-$$LIBVERSION -lmythavcodec-$$LIBVERSION
I'm not sure if mytharchive.pro needs something similar and I don't have time to run another build tonight.
comment:3 Changed 18 years ago by
Status: | new → assigned |
---|
I can verify the problem occurs on an Intel Mac, but not on a PPC Mac. Strange.
comment:4 Changed 18 years ago by
comment:5 Changed 18 years ago by
I was wrong, it is a problem on PPC too (I already had a partial fix locally that I had forgotten to checkin).
Try SVN head now, guys!
comment:8 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Nigel do you mind looking at this - I don't have a Mac.