Opened 3 years ago

Last modified 22 months ago

#67589 assigned defect

qt5-qtbase: make: c: No such file or directory

Reported by: dyne2meter Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: qt5-qtbase

Description

:info:configure make: c: No such file or directory
:info:configure make: [qlibraryinfo.o] Error 1 (ignored)
:info:configure 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 qendian.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 qcborstreamwriter.o qcborvalue.o qjsoncbor.o qjsonarray.o qjsondocument.o qjsonobject.o qjsonparser.o qjsonvalue.o qmetatype.o qsystemerror.o qvariant.o quuid.o qarraydata.o qbitarray.o qbytearray.o qbytearraylist.o qbytearraymatcher.o qcalendar.o qgregoriancalendar.o qromancalendar.o qcryptographichash.o qdatetime.o qhash.o qlist.o qlocale.o qlocale_tools.o qmap.o qregexp.o qringbuffer.o qstringbuilder.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  
:info:configure /bin/sh: o: command not found
:info:configure make: [../bin/qmake] Error 127 (ignored)
:info:configure ./configure: line 864: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.10/bin/qmake: No such file or directory
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.10" && ./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 -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-libinput -no-xkbcommon -no-system-proxies -no-feature-vulkan -framework -sdk macosx -no-libudev -no-egl -openssl-linked 
:info:configure Exit code: 127
:error:configure Failed to configure qt5-qtbase: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log for details.

Attachments (1)

qt5-qtbase.main.log.gz​ (8.9 KB) - added by dyne2meter 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by dyne2meter

Attachment: qt5-qtbase.main.log.gz​ added

comment:1 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

:info:configure Creating qmake...
:info:configure Failed to resolve SDK path for 'macosx10.13'

This error has been encountered several times before, and maybe it was thought to be finally resolved; I am not aware which ticket discusses the most recent work for it. The issue could be one that does not affect the buildbots, and so not noticed/reported due to the binary archive usually being available. In particular, the 10.13 buildbot has Xcode 9.4.1 and the 10.13 SDK, whereas the reporter’s and probably most 10.13 machines instead have Xcode 10.1 which does not have the 10.13 SDK. Does the reporter have the 10.13 SDK present in /Library/Developer/CommandLineTools/SDKs/ ?

There are some ui_debug commands in the qt5 portfile which might have helped with this issue, but they seem to do nothing since they are no longer within a port phase block.

comment:3 Changed 3 years ago by dyne2meter

Oops, yes. I have encountered this issue previously. I don't have the right SDK, it seems. However, the system is delivering an archive rather than a distfile, now, so my "upgrade outdated" is proceeding normally.

comment:4 Changed 3 years ago by neverpanic (Clemens Lang)

Owner: set to MarcusCalhoun-Lopez
Port: qt5-qtbase added
Status: new → assigned

comment:5 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: configuration failure qt5-qtbase → qt5-qtbase: make: c: No such file or directory

comment:6 Changed 22 months ago by d7gonzo (Ryan E. Johnson)

I encountered this issue on macOS Sequoia for this port and followed the instructions on the SequoiaProblems page to remove an old c++ directory installed by an older CLT. After removing the directory specified with:

sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++

I was then able to compile qt5-qtbase without issue after cleaning the port.

sudo port clean qt5-qtbase
Last edited 22 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.