#32077: enforce-variants gtk2 +universal - @MacPorts version 2.03 - error -------------------------------------+-------------------------------------- Reporter: adam.clay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: p5.12-xml-parser -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: Scala, sudo port upgrade --enforce-variants gtk2 +universal , sudo port install fontconfig, sudo port install gtk2 => * priority: High => Normal * cc: adam.clay@… (removed) * port: fontconfig, gtk2, (enforce-variants gtk2 +universal) => p5.12 -xml-parser Old description:
I am trying to install a free program called Scala that requires installation of MacPorts, and the ports "fontconfig" and "gtk2". These two seemed to install correctly from the terminal with the following commands:
sudo port install fontconfig sudo port install gtk2
which tells me (if I understand the way MacPorts works) I installed both Macports, and these specific ports correctly.
The instructions then ask me to modify my ".profile" file adding this line:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
which I did, and then install the libpng 1.4.5 or Combo Installer, which I did.
Then, because I have a 64 bit Imac, I was asked to use the following terminal command:
sudo port upgrade --enforce-variants gtk2 +universal,
and when doing this I got the following error messsage:
Error: Target org.macports.build returned: shell command failed (see log for details) Log for p5.12-xml-parser is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5 -xml-parser/p5.12-xml-parser/main.log Error: Unable to upgrade port: 1
Could anyone help me figure out why I cannot do this?
New description: I am trying to install a free program called Scala that requires installation of MacPorts, and the ports "fontconfig" and "gtk2". These two seemed to install correctly from the terminal with the following commands: {{{ sudo port install fontconfig sudo port install gtk2 }}} which tells me (if I understand the way MacPorts works) I installed both Macports, and these specific ports correctly. The instructions then ask me to modify my ".profile" file adding this line: {{{ export PATH=/opt/local/bin:/opt/local/sbin:$PATH }}} which I did, and then install the libpng 1.4.5 or Combo Installer, which I did. Then, because I have a 64 bit Imac, I was asked to use the following terminal command: {{{ sudo port upgrade --enforce-variants gtk2 +universal, }}} and when doing this I got the following error messsage: {{{ Error: Target org.macports.build returned: shell command failed (see log for details) Log for p5.12-xml-parser is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5 -xml-parser/p5.12-xml-parser/main.log Error: Unable to upgrade port: 1 }}} Could anyone help me figure out why I cannot do this? -- Comment: Please attach the indicated main.log file so we can see why it failed. -- Ticket URL: <https://trac.macports.org/ticket/32077#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS