Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18902 closed defect (invalid)

qt4-mac - 4.4.3 (aqua) [Fails on ./configure stage]

Reported by: matthias.woehrle@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: clubjuggler@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qt4-mac

Description (last modified by raimue (Rainer Müller))

Just updated to a clean macports 1.7.0 and I'm running 10.5.6 on a Intel MacBook2,1. Below is some terminal output from the configure step.

> sudo port install qt4-mac 
...
--->  Configuring qt4-mac
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3" && ./configure -v -debug-and-release -framework -confirm-license -prefix /opt/local/libexec/qt4-mac -docdir /opt/local/share/doc/qt4-mac -examplesdir /opt/local/share/qt4-mac/examples -demosdir /opt/local/share/qt4-mac/demos -system-sqlite -openssl-linked -dbus-linked -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 " returned error 2
Command output: /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:3242: error: 'CGWindowLevel' has not been declared
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:3289: error: 'CGWindowLevel' has not been declared
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7664: error: 'CGDirectDisplayID' has not been declared
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7977: error: 'CGDirectDisplayID' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7978: error: expected primary-expression before 'inSpace'
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7979: error: expected primary-expression before '*' token
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7979: error: 'outAvailableRect' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:7979: error: initializer expression list treated as compound expression
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8027: error: 'CGDirectDisplayID' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8028: error: expected primary-expression before 'inSpace'
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8029: error: expected primary-expression before '*' token
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8029: error: 'outShape' was not declared in this scope
/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8029: error: initializer expression list treated as compound expression
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: 'CGDirectDisplayID' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: 'displayArray' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: expected primary-expression before 'count'
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: expected primary-expression before '*' token
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: 'displayLinkOut' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:51: error: initializer expression list treated as compound expression
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:61: error: 'CGOpenGLDisplayMask' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:61: error: expected primary-expression before '*' token
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:61: error: 'displayLinkOut' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:61: error: initializer expression list treated as compound expression
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:71: error: 'CGDirectDisplayID' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:71: error: expected primary-expression before '*' token
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:71: error: 'displayLinkOut' was not declared in this scope
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:71: error: initializer expression list treated as compound expression
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:90: error: 'CGDirectDisplayID' has not been declared
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:110: error: 'CGDirectDisplayID' does not name a type
make: *** [pbuilder_pbx.o] Error 1

Error: Status 1 encountered during processing.

When running the ./configure alone, the following error is output:

...

Creating qmake. Please wait...
/usr/bin/g++-4.0 -c -o pbuilder_pbx.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -fconstant-cfstrings -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/include/QtCore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/include/QtCore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/src/corelib/global -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  generators/mac/pbuilder_pbx.cpp

Attachments (1)

qt4-install-debug.txt (24.4 KB) - added by matthias.woehrle@… 15 years ago.
debug output of install: sudo port -d install qt4-mac

Download all attachments as: .zip

Change History (16)

comment:1 Changed 15 years ago by matthias.woehrle@…

Cc: matthias.woehrle@… added

Cc Me!

comment:2 Changed 15 years ago by raimue (Rainer Müller)

Cc: clubjuggler@… added; matthias.woehrle@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to erickt@…
Port: qt4-mac added

Please remember WikiFormatting. You don't have to CC yourself.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

What version of Xcode are you running? Please update to version 3.1.2 if not.

comment:4 in reply to:  3 ; Changed 15 years ago by matthias.woehrle@…

Replying to macsforever2000@…:

What version of Xcode are you running? Please update to version 3.1.2 if not.

I run Xcode Version 3.1.3 (Pre-release). Sorry for the formatting.

comment:5 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:6 Changed 15 years ago by mf2k (Frank Schima)

FYI, it configures and builds fine for me on 10.5.6 Intel with Xcode 3.1.2. Also, to cover all the bases, have you run the following?

sudo port selfupdate
sudo port upgrade outdated
sudo port clean qt4-mac
sudo port install qt4-mac

comment:7 in reply to:  6 ; Changed 15 years ago by matthias.woehrle@…

Replying to macsforever2000@…:

FYI, it configures and builds fine for me on 10.5.6 Intel with Xcode 3.1.2. Also, to cover all the bases, have you run the following?

sudo port selfupdate

The MacPorts installation is not outdated so it was not updated

sudo port upgrade outdated

Error: No ports found

sudo port clean qt4-mac sudo port install qt4-mac }}}

I re-installed macports "clean" so the first two had no effect. Hence, the problem remains the same.

comment:8 in reply to:  7 ; Changed 15 years ago by mf2k (Frank Schima)

Replying to matthias.woehrle@…:

Replying to macsforever2000@…:

FYI, it configures and builds fine for me on 10.5.6 Intel with Xcode 3.1.2. Also, to cover all the bases, have you run the following?

sudo port selfupdate

The MacPorts installation is not outdated so it was not updated

sudo port upgrade outdated

Error: No ports found

sudo port clean qt4-mac sudo port install qt4-mac }}}

I re-installed macports "clean" so the first two had no effect. Hence, the problem remains the same.

Actually the "The MacPorts installation is not outdated so it was not updated" message is not very good. True the base port command was not updated, but it also updates your portindex - without mentioning that - to get the latest portfile versions. You need to do this even when you re-install MacPorts from scratch.

comment:9 in reply to:  8 Changed 15 years ago by matthias.woehrle@…

Replying to macsforever2000@…:

Replying to matthias.woehrle@…:

Replying to macsforever2000@…:

FYI, it configures and builds fine for me on 10.5.6 Intel with Xcode 3.1.2. Also, to cover all the bases, have you run the following?

sudo port selfupdate

The MacPorts installation is not outdated so it was not updated

sudo port upgrade outdated

Error: No ports found

sudo port clean qt4-mac sudo port install qt4-mac }}}

I re-installed macports "clean" so the first two had no effect. Hence, the problem remains the same.

Actually the "The MacPorts installation is not outdated so it was not updated" message is not very good. True the base port command was not updated, but it also updates your portindex - without mentioning that - to get the latest portfile versions. You need to do this even when you re-install MacPorts from scratch.

I am not sure that I can follow. Running with debug flag (sudo port -d selfupdate) the output looks fine with respect to the manual:

DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
 [trimming the port lists]
sent 342 bytes  received 7188 bytes  3012.00 bytes/sec
total size is 4045815  speedup is 537.29

MacPorts base version 1.700 installed
DEBUG: Rebuilding and reinstalling MacPorts if needed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated
DEBUG: Setting MacPorts sources ownership to root

comment:10 Changed 15 years ago by mf2k (Frank Schima)

Since is completely off-topic to this ticket, please see #18512 and follow-up there if you want to.

comment:11 in reply to:  4 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Replying to matthias.woehrle@…:

I run Xcode Version 3.1.3 (Pre-release).

This is just a guess, but since the error seem to be concentrated in /System/Library/Frameworks, is is possible that the problem
is the pre-release XCode?

comment:12 Changed 15 years ago by jmroot (Joshua Root)

The relevant error may not even be in the provided output. Run the install again with the -d flag and attach the full output.

Changed 15 years ago by matthias.woehrle@…

Attachment: qt4-install-debug.txt added

debug output of install: sudo port -d install qt4-mac

comment:13 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

qt4-mac was recently upgraded to version 4.5.0 (r48396).
By chance does that solve the problem?

If not, this still looks like Qt is interacting strangely with the system.
It seems to me that the pre-release XCode would be the place to start.

comment:14 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: newclosed

No response in two weeks, so assume the problem was either the pre-release XCode or that qt4-mac 4.5.0 fixed the problem.

comment:15 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.