Opened 5 years ago

Closed 5 years ago

#59314 closed defect (fixed)

qt511-qtbase @5.11.3_2 +openssl: no binary and compilation failure on macos 10.11

Reported by: tenzap Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: elcapitan Cc:
Port: qt5-qtbase

Description

qt511-qtbase is a dependency of a new portfile I added (welle.io)

On one hand the binary is not available On the other hand, compilation from source fails

Log here: https://paste.macports.org/ca65cc01c4e8

Initial PR: https://github.com/macports/macports-ports/pull/5505

BTW, there was no problem with @5.11.3_1+openssl for which the binaries are available. So this looks like a regression.

There is also a compilation issue (though different) with macos 10.12. (i'm creating a new ticket for that)

Attachments (2)

ca65cc01c4e8-xcode7.3.xz (242.4 KB) - added by tenzap 5 years ago.
logs
qt511-qtbase.log (228.1 KB) - added by tenzap 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by tenzap

The ticket for sierra is #59315

The error in the log is

Failed to resolve SDK path for 'macosx10.11'
c -o main.o -arch x86_64 -fconstant-cfstrings -MMD     -g  -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/library -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/generators -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/generators/unix -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/generators/win32 -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/generators/mac -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/include -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/include/QtCore -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3 -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3/QtCore -I../src/corelib/global -I/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/mkspecs/macx-clang -DQT_VERSION_STR=\"5.11.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=11 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/qmake/main.cpp
make: c: No such file or directory
make: [main.o] Error 1 (ignored)
.
.
.
make: [qlibraryinfo.o] Error 1 (ignored)
o "../bin/qmake" main.o meta.o option.o project.o property.o ioutils.o proitems.o qmakebuiltins.o qmakeevaluator.o qmakeglobals.o qmakeparser.o qmakevfs.o pbuilder_pbx.o makefile.o makefiledeps.o metamakefile.o projectgenerator.o unixmake2.o unixmake.o mingw_make.o msbuild_objectmodel.o msvc_nmake.o msvc_objectmodel.o msvc_vcproj.o msvc_vcxproj.o winmakefile.o xmloutput.o qutfcodec.o qglobal.o qlogging.o qmalloc.o qnumeric.o qoperatingsystemversion.o qrandom.o qabstractfileengine.o qbuffer.o qdatastream.o qdebug.o qdir.o qdiriterator.o qfile.o qfiledevice.o qfileinfo.o qfilesystemengine.o qfilesystementry.o qfsfileengine.o qfsfileengine_iterator.o qiodevice.o qsettings.o qtemporaryfile.o qtextstream.o qjsonarray.o qjson.o qjsondocument.o qjsonobject.o qjsonparser.o qjsonvalue.o qmetatype.o qsystemerror.o qvariant.o quuid.o qarraydata.o qbitarray.o qbytearray.o qbytearraymatcher.o qcryptographichash.o qdatetime.o qhash.o qlinkedlist.o qlist.o qlocale.o qlocale_tools.o qmap.o qregexp.o qringbuffer.o qstringbuilder.o qstring_compat.o qstring.o qstringlist.o qversionnumber.o qvsnprintf.o qxmlstream.o qxmlutils.o qcore_unix.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o qsettings_mac.o qcore_mac.o qoperatingsystemversion_darwin.o qcore_foundation.o qlibraryinfo.o -arch x86_64 -framework Foundation -framework CoreServices -framework ApplicationServices  
/bin/sh: o: command not found
make: [../bin/qmake] Error 127 (ignored)
./configure: line 860: /opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3/bin/qmake: No such file or directory
Command failed:  cd "/opt/local/var/macports/build/_Users_travis_build_macports_macports-ports_aqua_qt511/qt511-qtbase/work/qtbase-everywhere-src-5.11.3" && ./configure -prefix /opt/local/libexec/qt5 -bindir /opt/local/libexec/qt5/bin -headerdir /opt/local/libexec/qt5/include -libdir /opt/local/libexec/qt5/lib -archdatadir /opt/local/libexec/qt5 -plugindir /opt/local/libexec/qt5/plugins -importdir /opt/local/libexec/qt5/imports -qmldir /opt/local/libexec/qt5/qml -datadir /opt/local/libexec/qt5 -docdir /opt/local/libexec/qt5/doc -translationdir /opt/local/libexec/qt5/translations -sysconfdir /opt/local/libexec/qt5/etc/xdg -examplesdir /opt/local/libexec/qt5/examples -testsdir /opt/local/libexec/qt5/tests -hostdatadir /opt/local/libexec/qt5 -release -opensource -confirm-license -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -platform macx-clang -optimize-size -no-testcocoon -no-gcov -force-pkg-config -system-zlib -no-mtdev -no-journald -no-syslog -system-libpng -system-libjpeg -system-freetype -system-harfbuzz -no-libproxy -system-pcre --disable-xcb -glib -no-gtk -make libs -make tools -nomake examples -nomake tests -gui -widgets -no-rpath -verbose -cups -no-iconv -no-evdev -no-tslib -icu -no-fontconfig -strip -no-pch -no-ltcg -dbus-linked -no-use-gold-linker -no-separate-debug-info -no-xcb -no-eglfs -no-gbm -no-directfb -no-linuxfb -no-kms -no-mirclient -no-libinput -no-system-proxies -framework -sdk macosx -no-libudev -no-egl -openssl-linked 
Exit code: 127
Error: Failed to configure qt511-qtbase: configure failure: command execution failed

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Cc: MarcusCalhoun-Lopez removed
Port: qt5-qtbase added; qt511-qtbase removed

Changed 5 years ago by tenzap

Attachment: ca65cc01c4e8-xcode7.3.xz added

logs

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

This is different error than #59315.
Please

  • run a clean build
  • post the log file just for the failed port
  • please do not send compressed HTML files (they are very difficult to read)

comment:4 Changed 5 years ago by tenzap

Sorry for the log, I though the file would be text I don't have access to a mac right now But I extracted the part of the log (from travis) that is related to qt511-qtbase. I guess travis always works on a clean base. If that's not sufficient please tell me, we'll have to wait until I get access to a mac.

Regards

Changed 5 years ago by tenzap

Attachment: qt511-qtbase.log added

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

Resolution: fixed
Status: assignedclosed

In f2d5d27cd92a0a3af8d72483ef09be88d0300826/macports-ports (master):

qt5*: modify test to determine if SDK is available

This test should work for for either value of use_xcode.

This may cause a slight change (one configuration file)
in the installation of newer Qt versions.
Increate revisions of those Qt Base ports.

Fixes #59314

Note: See TracTickets for help on using tickets.