[MacPorts] #63154: qt5-qtbase @5.15.2_2+openssl: make: c: No such file or directory

MacPorts noreply at macports.org
Thu Sep 23 21:36:33 UTC 2021


#63154: qt5-qtbase @5.15.2_2+openssl: make: c: No such file or directory
---------------------------+---------------------------------
  Reporter:  jtdx-project  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.99
Resolution:                |   Keywords:  arm64
      Port:  qt5-qtbase    |
---------------------------+---------------------------------

Comment (by davidpfriedlander):

 Running into the same problem here on an M1 Mac Mini with Big Sur 11.6
 (20G165).  These "c" and "o" references looked to me like a truncated
 build, that is the "o" might really mean "-o" as in "here's the name of
 the output executable."

 Thus, I see in the log:

 {{{
 :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
 [...]
 :info:configure /bin/sh: o: command not found
 }}}

 If I compare this to building the same qt5-qtbase package on a Catalina
 macOS 10.15.7 system, I see:

 {{{
 :info:configure /Library/Developer/CommandLineTools/usr/bin/clang++ -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
 [...]
 }}}

 So pretty clearly the compiler and the initial hyphen ("-o" vs "o") are
 not being defined properly on the Big Sur system. Most definitely related
 is that I get eight of the errors:
 {{{
 :info:configure Failed to resolve SDK path for 'macosx11'
 }}}

 I tried the fix listed in #61736 (shown above) but this did not work for
 me.

 (By the way, I see the same issue for those "c" errors:

 Big Sur:
 {{{
 :info:configure Creating qmake...
 :info:configure Failed to resolve SDK path for 'macosx11'
 [ ...repeated 7 more times...]
 :info:configure c -o main.o -arch arm64 -fconstant-cfstrings -MMD     -g
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-
 src-5.15.2/qmake
 [...]
 :info:configure make: c: No such file or directory
 }}}

 Catalina (no errors):
 {{{
 :info:configure Creating qmake...
 :info:configure /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o
 main.o -arch x86_64 -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-
 min=10.15 -std=c++11
 }}}
 )

-- 
Ticket URL: <https://trac.macports.org/ticket/63154#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list