[MacPorts] #59673: python and cmake portgroups interfere with one another: can't read "configure.pre_args": can't read "build.cmd": can't read "python.bin": can't read "python.prefix": can't read "python.branch": can't read "python.version": no such variable

MacPorts noreply at macports.org
Tue Nov 12 01:06:26 UTC 2019


#59673: python and cmake portgroups interfere with one another: can't read
"configure.pre_args": can't read "build.cmd": can't read "python.bin":
can't read "python.prefix": can't read "python.branch": can't read
"python.version": no such variable
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 The features of the python 1.0 and cmake 1.1 portgroup combine to make
 python stub ports like py-shiboken unbuildable:

 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/8337/steps
 /install-port/logs/stdio

 (Stub ports shouldn't try to build anything anyway.)

 {{{
 --->  Configuring py-shiboken
 DEBUG: Preferred compilers: clang llvm-gcc-4.2 macports-clang-9.0
 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-
 clang-5.0 macports-clang-3.7 macports-clang-3.4 macports-gcc-9 macports-
 gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5
 DEBUG: Using compiler 'Xcode Clang'
 DEBUG: Executing proc-pre-org.macports.configure-configure-0
 DEBUG: CPPFLAGS="-I/opt/local/include" inserted into CFLAGS="-Os -DNDEBUG
 -I/opt/local/include" CXXFLAGS="-Os -DNDEBUG -I/opt/local/include"
 Error: Failed to configure py-shiboken: can't read "configure.pre_args":
 can't read "build.cmd": can't read "python.bin": can't read
 "python.prefix": can't read "python.branch": can't read "python.version":
 no such variable
 DEBUG: Error code: NONE
 DEBUG: Backtrace: can't read "configure.pre_args": can't read "build.cmd":
 can't read "python.bin": can't read "python.prefix": can't read
 "python.branch": can't read "python.version": no such variable
     while executing
 "$pre $targetname"
 Error: See /opt/local/var/macports/logs
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-shiboken/py-
 shiboken/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port py-shiboken failed
 Build of 'py-shiboken' failed.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59673>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list