#19922 closed defect (invalid)
qt4-mac: fails to build
Reported by: | akimd (Akim Demaille) | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | clubjuggler@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ryandesign (Ryan Carsten Schmidt), mf2k (Frank Schima) | |
Port: | qt4-mac |
Description
I have looked over the Internet, and found nothing specific. XCode 3.1.2, ports 1.710, everything up to date. Attached the log of the build.
Cheers.
Attachments (1)
Change History (8)
Changed 15 years ago by akimd (Akim Demaille)
Attachment: | qt4-mac.log added |
---|
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Cc: | clubjuggler@… added; akim.demaille@… removed |
---|---|
Owner: | changed from macports-tickets@… to erickt@… |
comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:4 follow-up: 5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
The relevant error seems to be
Creating qmake. Please wait... /usr/bin/g++-4.0 -o "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.1/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlistdata.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qscriptasm.o qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecmaboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecmaglobal.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmaregexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o qscriptengine_p.o qscriptextenumeration.o qscriptextvariant.o qscriptcontext.o qscriptfunction.o qscriptgrammar.o qscriptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsyntaxchecker.o qscriptvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o qscriptclass.o qscriptclasspropertyiterator.o qscriptengineagent.o qscriptcontextinfo.o qscriptstring.o qsettings_mac.o qcore_mac.o -headerpad_max_install_names -framework ApplicationServices ld warning: in main.o, file is not of required architecture ld warning: in unixmake2.o, file is not of required architecture ld warning: in mingw_make.o, file is not of required architecture ld warning: in winmakefile.o, file is not of required architecture ld warning: in meta.o, file is not of required architecture ld warning: in metamakefile.o, file is not of required architecture ld warning: in borland_bmake.o, file is not of required architecture ld warning: in qtextstream.o, file is not of required architecture ld warning: in qmalloc.o, file is not of required architecture ld warning: in qbuffer.o, file is not of required architecture ld warning: in qfile.o, file is not of required architecture ld warning: in qfsfileengine_iterator_unix.o, file is not of required architecture ld warning: in qfsfileengine_iterator.o, file is not of required architecture ld warning: in qvector.o, file is not of required architecture ld warning: in qabstractfileengine.o, file is not of required architecture ld warning: in qvsnprintf.o, file is not of required architecture ld warning: in qurl.o, file is not of required architecture ld warning: in qnumeric.o, file is not of required architecture ld warning: in qcryptographichash.o, file is not of required architecture ld warning: in qscriptasm.o, file is not of required architecture ld warning: in qscriptast.o, file is not of required architecture ld warning: in qscriptcompiler.o, file is not of required architecture ld warning: in qscriptecmaarray.o, file is not of required architecture ld warning: in qscriptecmadate.o, file is not of required architecture ld warning: in qscriptecmaregexp.o, file is not of required architecture ld warning: in qscriptecmastring.o, file is not of required architecture ld warning: in qscriptecmaerror.o, file is not of required architecture ld warning: in qscriptcontext_p.o, file is not of required architecture ld warning: in qscriptextenumeration.o, file is not of required architecture ld warning: in qscriptextvariant.o, file is not of required architecture ld warning: in qscriptfunction.o, file is not of required architecture ld warning: in qscriptlexer.o, file is not of required architecture ld warning: in qscriptparser.o, file is not of required architecture ld warning: in qscriptvalueimpl.o, file is not of required architecture ld warning: in qscriptvalueiteratorimpl.o, file is not of required architecture ld warning: in qscriptcontextinfo.o, file is not of required architecture
So I wonder what architecture it thinks is required, and what architecture it found instead.
Before we look into this any further, though, please update to the latest qt4-mac port which is 4.5.2 (using "sudo port sync") and try again. Let us know if you still experience the same issue.
comment:5 Changed 15 years ago by akimd (Akim Demaille)
Before we look into this any further, though, please update to the latest qt4-mac port which is 4.5.2 (using "sudo port sync") and try again. Let us know if you still experience the same issue.
Now it works. But I used a distcc build this time (in the previous run, I had disabled distcc), but there are only Intel machines on this network, there cannot be PPC/Intel mismatches. Yet the following errors are interesting: some script is expecting $CXX to be a path to a compiler rather that a command to run.
Precompiled-headers support enabled. /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource- src-4.5.2/config.tests/mac/dwarf2.test: line 21: distcc /usr/bin/gcc-4.0: No such file or directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource- src-4.5.2/config.tests/mac/dwarf2.test: line 22: ./xcodeversion: No such file or directory rm: xcodeversion: No such file or directory DWARF2 debug symbols disabled. Xarch is not supported Separate debug info check skipped, QMAKE_OBJCOPY is unset. Separate debug info support disabled. /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource- src-4.5.2/config.tests/unix/fvisibility.test: line 18: distcc /usr/bin/gcc-4.0: No such file or directory Symbol visibility control disabled.
comment:7 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
So this is working for you now? Post here if not and I'll re-open the ticket.
Build log