[MacPorts] #58653: Some portfiles fail to parse under linux

MacPorts noreply at macports.org
Thu Jun 27 07:18:38 UTC 2019


#58653: Some portfiles fail to parse under linux
-------------------------+-------------------------------------------------
 Reporter:  mojca        |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  botan chicken fpc gnuradio macos-
                         |  vpn-server mlt octave psi py-eric-ide qt4-mac
                         |  texworks wireshark22
-------------------------+-------------------------------------------------
 Some ports fail to parse on linux:

 {{{
 Failed to parse file foo/bar/Portfile: MacPorts does not support qt4 on
 platforms other than darwin
 }}}

 {{{
 Failed to parse file editors/texworks/Portfile: Error evaluating variants
 Failed to parse file lang/chicken/Portfile: can't read "archs()": no such
 element in array
 Failed to parse file lang/fpc/Portfile: can't read "b": no such variable
 Failed to parse file math/octave/Portfile: Error evaluating variants
 Failed to parse file multimedia/mlt/Portfile: Error evaluating variants
 Failed to parse file net/macos-vpn-server/Portfile: couldn't execute
 "/usr/bin/sed": no such file or directory
 Failed to parse file net/psi/Portfile: Error evaluating variants
 Failed to parse file net/wireshark22/Portfile: Error evaluating variants
 Failed to parse file python/py-eric-ide/Portfile with subport 'py27-eric-
 ide': Error evaluating variants
 Failed to parse file python/py-eric-ide/Portfile with subport 'py37-eric-
 ide': Error evaluating variants
 Failed to parse file science/gnuradio/Portfile: Error evaluating variants
 Failed to parse file security/botan/Portfile: can't read
 "merger_configure_args()": no such element in array
 }}}

 And a large number of ports produce (probably harmless) warnings:
 {{{
 Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option

 Warning: No value for java JAVA_HOME was automatically discovered

 Warning: failed to determine the number of available CPUs (probably not
 supported on this platform)
 Warning: defaulting to 2 jobs, consider setting buildmakejobs to a nonzero
 value in macports.conf
 }}}

 We don't need the software to actually build on Linux, but it should at
 least parse and produce a valid port information.

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


More information about the macports-tickets mailing list