[MacPorts] #34864: qt4-mac: Broken links
MacPorts
noreply at macports.org
Wed Jun 20 22:39:03 PDT 2012
#34864: qt4-mac: Broken links
--------------------------------------------+-------------------------------
Reporter: mojca.miklavec.lists@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: qt4-mac
--------------------------------------------+-------------------------------
Comment(by mojca.miklavec.lists@…):
Replying to [comment:5 michaelld@…]:
> Here's the patch that works for me.
I'm sorry that it took me so long to test this. This particular issue
works now, but it still fails in a different way: it tries to use -lQtGui
flag for example. Here is some debugging info. I'm not 100% sure, but
there seems to be a problem with
/opt/local/share/qt4/mkspecs/features/qt_functions.prf which mistakenly
adds the flag.
{{{
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:197
: Entering block 4 (0). [else {]
DEBUG 1: Running project expand: upper(QT_gui_LIB) [19]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:198
:DEFINES: :*=: (QT_GUI_LIB)
DEBUG 1: Running project expand: upper(QT_gui_LIB) [19]
DEBUG 1: Running project test: isEqual(QTLIB::opengl) [4]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:199
: Test (isEqual(QTLIB, opengl)) failed.
DEBUG 1: Running project test: isEqual(QTLIB::openvg) [4]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:200
: Test (isEqual(QTLIB, openvg)) failed.
DEBUG 1: Running project test: isEqual(QTLIB::qt3support) [4]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:201
: Test (isEqual(QTLIB, qt3support)) failed.
DEBUG 1: Running project test: isEqual(QTLIB::testlib) [4]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:202
: Test (isEqual(QTLIB, testlib)) failed.
DEBUG 1: Running project test: isEqual(QTLIB::dbus) [4]
DEBUG 1: Project Parser: /opt/local/share/qt4/mkspecs/features/qt.prf:203
: Test (isEqual(QTLIB, dbus)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:24 :INCLUDEPATH:
:-=: (/opt/local/include)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:25 :INCLUDEPATH:
:-=: (/opt/local/include/QtGui)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:26 :INCLUDEPATH:
:+=: (/opt/local/include/QtGui /opt/local/include)
DEBUG 1: Running project test: contains(QT_CONFIG::qt_framework) [16]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:31 : Entering block
5 (0). [mac:!static:contains(QT_CONFIG, qt_framework) {]
DEBUG 1: Running project test: isEmpty(QMAKE_FRAMEWORKDIR_QT) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:32 : Entering block
6 (0). [isEmpty(QMAKE_FRAMEWORKDIR_QT) {]
DEBUG 1: Running project test:
contains(LIBS::-F/opt/local/Library/Frameworks) [16]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:33 : Entering block
7 (0). [!contains(LIBS,-F$$[QT_INSTALL_PREFIX]/Library/Frameworks) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:34 :LIBS: :=: (-g
-L/path/to/project/lib/sis3150_calls -L/path/to/project/lib/sis3100_calls
-l_sis3100 -lgsl -lgslcblas -lboost_filesystem -lboost_system
-F/opt/local/Library/Frameworks)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:35 : Leaving block
7
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:36 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:36 : Else excluded.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:36 : Test (else)
failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:36 : Entering block
6 (1). [} else {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:37 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:38 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:39 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:40 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:40 : Ignored due to
block being false.
DEBUG 1: Running project test: isEmpty(QMAKE_LIBDIR_QT) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:41 : Test
(isEmpty(QMAKE_LIBDIR_QT)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:41 : Entering block
6 (1). [isEmpty(QMAKE_LIBDIR_QT) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:42 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:43 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:44 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:45 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:45 : Else
considered.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:45 : Entering block
6 (0). [else {]
DEBUG 1: Running project test: contains(LIBS::-F/opt/local/lib) [16]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:46 : Entering block
7 (0). [!contains(LIBS,-F$$QMAKE_LIBDIR_QT) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:47 :LIBS: :=: (-g
-L/path/to/project/lib/sis3150_calls -L/path/to/project/lib/sis3100_calls
-l_sis3100 -lgsl -lgslcblas -lboost_filesystem -lboost_system
-F/opt/local/Library/Frameworks -F/opt/local/lib)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:48 : Leaving block
7
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:49 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:50 : Leaving block
5
DEBUG 1: Running project test: isEmpty(QMAKE_LIBDIR_QT) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:51 : Test
(isEmpty(QMAKE_LIBDIR_QT)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:51 : Entering block
5 (1). [isEmpty(QMAKE_LIBDIR_QT) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:52 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:53 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:54 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:55 : Leaving block
5
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:55 : Else
considered.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:55 : Entering block
5 (0). [else {]
DEBUG 1: Running project test: contains(LIBS::-L/opt/local/lib) [16]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:56 : Entering block
6 (0). [!contains(LIBS,-L$$QMAKE_LIBDIR_QT) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:57 :LIBS: :=: (-g
-L/path/to/project/lib/sis3150_calls -L/path/to/project/lib/sis3100_calls
-l_sis3100 -lgsl -lgslcblas -lboost_filesystem -lboost_system
-F/opt/local/Library/Frameworks -F/opt/local/lib -L/opt/local/lib)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:58 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:59 : Leaving block
5
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:61 :LIB_NAME: :=:
(QtGui)
DEBUG 1: Running project test: unset(LINKAGE) [8]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:63 : Entering block
5 (0). [mac:!qt_no_framework {]
DEBUG 1: Running project expand: list(/opt/local/lib /opt/local/lib) [7]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:64 : Entering block
6 (0). [for(frmwrk_dir, $$list($$QMAKE_FRAMEWORKDIR_QT $$QMAKE_LIBDIR_QT
$$QMAKE_LIBDIR $$(DYLD_FRAMEWORK_PATH))) {]
DEBUG 1: Running project test: exists(/opt/local/lib/QtGui.framework) [5]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:65 : Test
(exists($${frmwrk_dir}/$${LIB_NAME}.framework)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:65 : Entering block
7 (1). [exists($${frmwrk_dir}/$${LIB_NAME}.framework) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:66 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:67 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:68 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:69 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:70 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:71 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:72 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:73 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:74 : Leaving block
7
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:74 : Ignored due to
block being false.
DEBUG 1: Running project test: exists(/opt/local/lib/QtGui.framework) [5]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:65 : Test
(exists($${frmwrk_dir}/$${LIB_NAME}.framework)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:65 : Entering block
7 (1). [exists($${frmwrk_dir}/$${LIB_NAME}.framework) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:66 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:67 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:68 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:69 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:70 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:71 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:72 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:73 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:74 : Leaving block
7
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:74 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:75 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:76 : Leaving block
5
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:77 : Test (symbian)
failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:77 : Entering block
5 (1). [symbian {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:78 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:80 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:81 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:83 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:84 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:86 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:87 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:88 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:89 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:90 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:92 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:93 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:94 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:95 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:96 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:97 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:98 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:99 : Ignored due to
block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:100 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:101 : Leaving block
5
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:101 : Ignored due
to block being false.
DEBUG 1: Running project test: isEmpty(LINKAGE) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:102 : Entering
block 5 (0). [isEmpty(LINKAGE) {]
DEBUG 1: Running project test: if(!debug_and_release|build_pass) [26]
DEBUG 1: Running project test: CONFIG(debug::debug|release) [10]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:103 : Test
(CONFIG(debug, debug|release)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:103 : Entering
block 6 (1). [if(!debug_and_release|build_pass):CONFIG(debug,
debug|release) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:104 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:108 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:109 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:110 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:111 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:112 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:113 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:114 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:115 : Leaving block
6
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:115 : Ignored due
to block being false.
DEBUG 1: Running project test: isEmpty(LINKAGE) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:116 :LINKAGE: :=:
(-lQtGui)
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:117 : Leaving block
5
DEBUG 1: Running project test: isEmpty(QMAKE_LSB) [19]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:118 : Test
(!isEmpty(QMAKE_LSB)) failed.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:118 : Entering
block 5 (1). [!isEmpty(QMAKE_LSB) {]
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:119 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:120 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:121 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:122 : Leaving block
5
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:122 : Ignored due
to block being false.
DEBUG 1: Project Parser:
/opt/local/share/qt4/mkspecs/features/qt_functions.prf:123 :LIBS: :+=:
(-lQtGui)
DEBUG 1: Running project test: export(LIBS) [6]
DEBUG 1: Running project test: export(INCLUDEPATH) [6]
DEBUG 1: Running project test: export(QMAKE_FRAMEWORKPATH) [6]
DEBUG 1: Running project test: export(QMAKE_LFLAGS) [6]
DEBUG 1: Running project test: return(true) [12]
}}}
Or do you want a separate ticket for this?
--
Ticket URL: <https://trac.macports.org/ticket/34864#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list