[MacPorts] #62469: mesa @19.0.8_1+osmesa+python27: Makefile:1393: *** missing separator. Stop.

MacPorts noreply at macports.org
Sun May 2 02:32:53 UTC 2021


#62469: mesa @19.0.8_1+osmesa+python27: Makefile:1393: *** missing separator.
Stop.
-------------------------+-----------------------
  Reporter:  cave-canem  |      Owner:  jeremyhu
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:  mavericks
      Port:  mesa        |
-------------------------+-----------------------

Comment (by cave-canem):

 Hello Ken!

 I'm sorry to be late with the reply.

 I have deactivated the ports that I used, but you did not use.

 As a result, the "mesa" port was successfully built.

 I began to consistently activate disabled ports, trying to find the
 "culprit" of the error (and it took a lot of time).

 The "villain" is gmake, which I have injected into the portfile
 (configure.args) because the first time I tried building "mesa" I got the
 following errors:

 {{{
 mp-clang-config.status: error: in `/opt/MacPorts/var/macports/build
 /_opt_macports-ports_x11_mesa/mesa/work/mesa-19.0.8':
 config.status: error: Something went wrong bootstrapping makefile
 fragments
     for automatic dependency tracking.  If GNU make was not used, consider
     re-running the configure script with MAKE="gmake" (or whatever is
     necessary).  You can also try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency
 tracking).
 See `config.log' for more details
 Command failed:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_x11_mesa/mesa/work/mesa-19.0.8" && ./configure
 --prefix=/opt/MacPorts --enable-autotools --disable-silent-rules --with-
 platforms=x11 --disable-egl --disable-gbm --disable-llvm-shared-libs
 --with-gallium-drivers= --enable-osmesa
 Exit code: 1
 Error: Failed to configure mesa, consult /opt/MacPorts/var/macports/build
 /_opt_macports-ports_x11_mesa/mesa/work/mesa-19.0.8/config.log
 Error: Failed to configure mesa: configure failure: command execution
 failed
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_x11_mesa/mesa/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 and followed the recommendation.
 (By the way, without the '--disable-dependency-tracking' "mesa" is not
 build in 10.13 either).

 But here's what is completely incomprehensible to me:

 Why do need '''THREE''' Make to build this port?
 (/usr/bin/make, /Library/Developer/CommandLineTools/usr/bin/make and
 /opt/MacPorts/bin/gmake).

 (Strings  ## 616 641 733 762 769 813 2005 —
 /Library/Developer/CommandLineTools/usr/bin/make

 String # 2600 — /usr/bin/make

 Strings ## 616 641 733 762 769 813 2005 —
 /Library/Developer/CommandLineTools/usr/bin/make

 in "new_main.log.tar.xz")

 {{{
 /usr/bin/make --version
 GNU Make 3.81
 }}}

 {{{
 /Library/Developer/CommandLineTools/usr/bin/make --version
 GNU Make 3.81
 }}}

 {{{
 /opt/MacPorts/bin/gmake --version
 GNU Make 4.3
 }}}

 Why do need "jumping" from one to another?

 '''???'''

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


More information about the macports-tickets mailing list