Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6451 closed defect (worksforme)

osx-packager.pl wont build trunk

Reported by: alainramos23@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: MythTV - General Version: head
Severity: high Keywords:
Cc: Ticket locked: no

Description (last modified by Nigel)

osx-packager.pl wont build for ppc os 10.5.6 from the latest trunk I get this...

osx-bundler: Not a library file: /Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
osx-bundler: Building /Library/Frameworks/Jackmp.framework/Versions/A/Jackmp framework
osx-bundler: /bin/mkdir -p /Users/julie/MythFrontend.app/Contents/Frameworks//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp.framework/Versions/A/Resources
osx-bundler: /bin/cp /Library/Frameworks/Jackmp.framework/Versions/A/Jackmp /Users/julie/MythFrontend.app/Contents/Frameworks//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp.framework/Versions/A//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
cp: /Users/julie/MythFrontend.app/Contents/Frameworks//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp.framework/Versions/A//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp: No such file or directory
osx-bundler: Failed system call: " /bin/cp /Library/Frameworks/Jackmp.framework/Versions/A/Jackmp /Users/julie/MythFrontend.app/Contents/Frameworks//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp.framework/Versions/A//Library/Frameworks/Jackmp.framework/Versions/A/Jackmp " with error code 1
Died at /Users/julie/.osx-packager/src/myth-svn/packaging/OSX/build/osx-bundler.pl line 196.
[osx-pkg] Failed system call: " /Users/julie/.osx-packager/src/myth-svn/packaging/OSX/build/osx-bundler.pl --verbose /Users/julie/MythFrontend /Users/julie/.osx-packager/build/lib/ /Users/julie/.osx-packager/build/lib/mysql " with error code 2
Died at /Users/julie/mythtv/osx-packager.pl line 990.

I got revision 20345 and I am compiling on ppc os 10.5.6 with Xcode 3.1.2.

Change History (8)

comment:1 Changed 11 years ago by Nigel

Description: modified (diff)
Status: newinfoneeded_new

I don't have a 10.5.6 PPC install handy, but an Intel 10.5.6 just build -r20360 without errors. It looks like there is some problem with your library '/Library/Frameworks/Jackmp?', which is not a standard OS X library. For now, try adding '--disable-audio-jack'

around line 540.

Can you tell me where you got this framework from, or what source you used and how you built/installed it?

comment:2 Changed 11 years ago by alainramos23@…

Well, I deleted everything, uninstalled Jack, downloaded the most recent osx-packager.pl and started all over again and now I am having an error I did not have before.

distutils.errors.DistutilsPlatformError?: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure make[2]: * [python_build] Error 1 make[1]: * [sub-python-make_default] Error 2 make: * [sub-bindings-make_default-ordered] Error 2 [osx-pkg] Failed system call: " /usr/bin/make " with error code 2 Died at /Users/julie/Downloads/osx-packager.pl line 974.

When I look at the makefile that configure makes for the python bindings it has this...

export MACOSX_DEPLOYMENT_TARGET = 10.3

I have tried to run the script several times with the same resu

comment:3 Changed 11 years ago by anonymous

Also I have python 2.5 that came with Leopard.

comment:4 Changed 11 years ago by anonymous

Got passed that hurdle configuring osx-packager.pl with...

--without-bindings=perl,python

but now I get...

playlistcontainer.cpp: In member function ‘QString PlaylistContainer::getPlaylistName(int, bool&)’: playlistcontainer.cpp:413: error: no match for ‘operator!=’ in ‘it != std::list<_Tp, _Alloc>::rend() [with _Tp = Playlist*, _Alloc = std::allocator<Playlist*>]()’ /Users/julie/.osx-packager/build/include/QtCore/qglobal.h:1624: note: candidates are: bool operator!=(QBool, bool) /Users/julie/.osx-packager/build/include/QtCore/qglobal.h:1625: note: bool operator!=(bool, QBool) /Users/julie/.osx-packager/build/include/QtCore/qglobal.h:1626: note: bool operator!=(QBool, QBool) /Users/julie/.osx-packager/build/include/QtCore/qchar.h:378: note: bool operator!=(QChar, QChar) /Users/julie/.osx-packager/build/include/QtCore/qbytearray.h:494: note: bool operator!=(const QByteArray&, const QByteArray&) /Users/julie/.osx-packager/build/include/QtCore/qbytearray.h:496: note: bool operator!=(const QByteArray&, const char*) /Users/julie/.osx-packager/build/include/QtCore/qbytearray.h:498: note: bool operator!=(const char*, const QByteArray&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:854: note: bool operator!=(QString::Null, QString::Null) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:855: note: bool operator!=(QString::Null, const QString&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:856: note: bool operator!=(const QString&, QString::Null) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:881: note: bool operator!=(const char*, const QString&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:894: note: bool operator!=(const char*, const QLatin1String&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:907: note: bool operator!=(const QLatin1String&, const QLatin1String&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1102: note: bool operator!=(const QStringRef&, const QStringRef&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1105: note: bool operator!=(const QString&, const QStringRef&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1109: note: bool operator!=(const QStringRef&, const QString&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1112: note: bool operator!=(const QLatin1String&, const QStringRef&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1116: note: bool operator!=(const QStringRef&, const QLatin1String&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1139: note: bool operator!=(const char*, const QStringRef&) /Users/julie/.osx-packager/build/include/QtCore/qstring.h:1141: note: bool operator!=(const QStringRef&, const char*) /Users/julie/.osx-packager/build/include/QtCore/qsize.h:153: note: bool operator!=(const QSize&, const QSize&) /Users/julie/.osx-packager/build/include/QtCore/qsize.h:309: note: bool operator!=(const QSizeF&, const QSizeF&) /Users/julie/.osx-packager/build/include/QtCore/qpoint.h:145: note: bool operator!=(const QPoint&, const QPoint&) /Users/julie/.osx-packager/build/include/QtCore/qpoint.h:301: note: bool operator!=(const QPointF&, const QPointF&) /Users/julie/.osx-packager/build/include/QtCore/qrect.h:496: note: bool operator!=(const QRect&, const QRect&) /Users/julie/.osx-packager/build/include/QtCore/qrect.h:834: note: bool operator!=(const QRectF&, const QRectF&) /Users/julie/.osx-packager/build/include/QtCore/qvariant.h:521: note: bool operator!=(const QVariant&, const QVariantComparisonHelper&) /Users/julie/.osx-packager/build/include/mythtv/mythdialogs.h:69: note: bool operator!=(const DialogCode?&, const QDialog::DialogCode?&) /Users/julie/.osx-packager/build/include/mythtv/mythdialogs.h:71: note: bool operator!=(const QDialog::DialogCode?&, const DialogCode?&) metadata.h:244: note: bool operator!=(const Metadata&, const Metadata&) make[2]: * [playlistcontainer.o] Error 1 make[1]: * [sub-mythmusic-make_default] Error 2 make: * [sub-mythmusic-make_default] Error 2 [osx-pkg] Failed system call: " /usr/bin/make " with error code 2 Died at /Users/julie/.osx-packager/src/myth-svn/packaging/OSX/build/osx-packager.pl line 974.

This is using qt-mac-opensource-src-4.4.3 will go back to qt-mac-opensource-src-4.3.4 and see if that fixes things.

comment:5 Changed 11 years ago by alainramos23@…

Using qt-mac-opensource-src-4.3.4 did not work. I guess mythmusic is not building on os x with mythtv .22. Will try to skip mythmusic and see if it builds. It looks like it has an != operator issue.

comment:6 Changed 11 years ago by anonymous

OK now I am getting a complaint from mythnews...

g++ -headerpad_max_install_names -Wl,-search_paths_first -flat_namespace -undefined suppress -single_module -dynamiclib -o libmythnews.dylib mythnews.o mythnewsconfig.o mythnewseditor.o newssite.o newsarticle.o newsdbutil.o dbcheck.o main.o moc_mythnews.o moc_mythnewsconfig.o moc_mythnewseditor.o moc_newssite.o -L/usr/lib -L/Users/julie/.osx-packager/build/lib -lfreetype -lmp3lame -lmythdb-0.22 -lmythavutil-0.22 -lmythavcodec-0.22 -lmyth-0.22 -lmythui-0.22 -lmythupnp-0.22 -lQtSql_debug -lQtXml_debug -lQtGui_debug -lQtNetwork_debug -lQtCore_debug ld: library not found for -lQtSql_debug collect2: ld returned 1 exit status make[2]: * [libmythnews.dylib] Error 1 make[1]: * [sub-mythnews-make_default] Error 2 make: * [sub-mythnews-make_default] Error 2 [osx-pkg] Failed system call: " /usr/bin/make " with error code 2

I gam getting frustrated so I think I will give it a few days and try again.

comment:7 Changed 11 years ago by Nigel

Resolution: worksforme
Status: infoneeded_newclosed

Qt 4.4 has some bugs - itneeds the -without-bindings. I have not tested building plugins on 10.5 in quite a while. Changing the verion of Qt, you gave to purge almost everything. I usually do:

rm -fr .osx-packager/build/lib/libQt* .osx-packager/build/include/Qt*
rm -fr .osx-packager/src/qt*[0-9]
find .osx-packager/src/myth-svn -name \*.o -delete

Closing this because you have jumped past the original (Jack) problem, and have not provided the information that I need to chase up that.

comment:8 Changed 11 years ago by alainramos23@…

Just to finish up this ticket on the Jack problem. Mythtv built properly with Jack uninstalled but wont run...

Dyld Error Message:

Library not loaded: @executable_path/../Frameworks/QtSql?.framework/QtSql Referenced from: /Users/julie/MythFrontend.app/Contents/MacOS/../Frameworks/mythui.framework/mythui Reason: Incompatible library version: mythui requires version 4.4.0 or later, but QtSql? provides version 4.3.0

But that is another issue, just wanted to finish reporting on the Jack problem.

Note: See TracTickets for help on using tickets.