Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Macport installation failed



  • Hi,

    I had qt5-mac installed using macports on my machine and everything was running fine. I tried installing qwt (http://qwt.sourceforge.net/qwtinstall.html), and it asked me to run this command to add qwt as a feature:
    @
    qmake -set QMAKEFEATURES ${QWT_ROOT}/features
    @

    However, right after running the command, qmake would fail and throw an error. I could not figure the reason out so I tried uninstalling QT altogether. Now when I am installing qt5-mac again using macports, it fails, and gives me the same error, which is:

    @
    ASSERT: "fileName.isEmpty() || isAbsolutePath(fileName)" in file
    @

    The logfile generated by macports is as below.

    @:info:configure Running configuration tests...
    :info:configure Failed to process makespec for platform 'macx-clang'
    :info:configure ASSERT: "fileName.isEmpty() || isAbsolutePath(fileName)" in file /Users/bhatia4/macports/var/macports/build/_Users_bhatia4_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.2/qtbase/qmake/library/ioutils.cpp, line 61
    :info:configure Command failed: cd "/Users/bhatia4/macports/var/macports/build/_Users_bhatia4_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.3.2" && ./configure -prefix /Users/bhatia4/macports -docdir /Users/bhatia4/macports/share/doc/qt5 -headerdir /Users/bhatia4/macports/include -plugindir /Users/bhatia4/macports/share/qt5/plugins -importdir /Users/bhatia4/macports/share/qt5/imports -qmldir /Users/bhatia4/macports/share/qt5/qml -datadir /Users/bhatia4/macports/share/qt5 -libdir /Users/bhatia4/macports/Library/Frameworks -bindir /Users/bhatia4/macports/bin -translationdir /Users/bhatia4/macports/share/qt5/translations -sysconfdir /Users/bhatia4/macports/etc/qt5 -examplesdir /Users/bhatia4/macports/share/qt5/examples -testsdir /Users/bhatia4/macports/share/qt5/tests -hostdatadir /Users/bhatia4/macports/share/qt5 -release -opensource -confirm-license -shared -process -no-mtdev -no-harfbuzz -openssl-linked -no-xinput2 -no-xcb-xlib -no-libudev -no-egl -make libs -make tools -nomake examples -nomake tests -verbose -no-optimized-qmake -nis -cups -iconv -no-evdev -icu -fontconfig -strip -no-pch -dbus-linked -no-xcb -glib -directfb -no-linuxfb -no-kms -no-system-proxies -framework -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 -no-openvg
    :info:configure Exit code: 101
    :error:configure org.macports.configure for port qt5-mac returned: configure failure: command execution failed
    :debug:configure Error code: NONE
    :debug:configure Backtrace: configure failure: command execution failed
    while executing
    "portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
    "eval $procedure $targetname"
    :info:configure Warning: targets not executed for qt5-mac: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
    @

    I would presume that for a clean installation of qt, the previous settings (QMAKEFEATURES) in qmake should not persist. Anyone has ideas about why this is happening?


Log in to reply