Opened 12 years ago

Closed 10 years ago

#32077 closed defect (worksforme)

p5.12-xml-parser @2.40 build failure

Reported by: adam.clay@… Owned by: mjg@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: p5.12-xml-parser

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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?

Attachments (1)

main.log (6.3 KB) - added by luis.kop@… 12 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: adam.clay@… removed
Description: modified (diff)
Keywords: Scala sudo port upgrade --enforce-variants gtk2 +universal sudo port install fontconfig sudo port install gtk2 removed
Port: p5.12-xml-parser added; fontconfig gtk2 (enforce-variants gtk2 +universal) removed
Priority: HighNormal

Please attach the indicated main.log file so we can see why it failed.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

And you know, we have scala in MacPorts. So all you should have needed to do was e.g. "sudo port install scala29" and it would take care of all the dependencies for you.

You said you installed "libpng 1.4.5 or Combo Installer". If that means you manually installed libpng, without using MacPorts, please uninstall it; it might interfere with MacPorts.

comment:3 Changed 12 years ago by adam.clay@…

Oh, thank you for this information. How can I uninstall libpng? And you are saying then, to install scala All I need to do is type what you said in?

comment:4 Changed 12 years ago by blair (Blair Zajac)

The Scala I'm familiar with is a language that runs on the JVM, so it's odd that there are instructions telling you to install fontconfig and gtk2, which are not needed at all.

Can you provide a link to the instructions you mentioned? Perhaps its a different scala?

Also, there's no , at the end of the command:

sudo port upgrade --enforce-variants gtk2 +universal,

if that wasn't intentional?

comment:5 Changed 12 years ago by adam.clay@…

This 'scala' is a free program for microtonal music - retuning instruments to scales beyond of the modern used, 12-tone equal temperament scale.

Here is the website with the complicated install instructions: http://www.huygens-fokker.org/scala/downloads.html I only put a comma at the end of the command because I copied it from the website. It said I needed that command because my iMac is 64 bits.

comment:6 Changed 12 years ago by luis.kop@…

I've the same problem. I'm not able to install p5.12-xml-parser

I'm just doing sudo port upgrade outdated. Anyone can help me? I'm going to attach the log.

Changed 12 years ago by luis.kop@…

Attachment: main.log added

comment:7 in reply to:  2 Changed 12 years ago by adam.clay@…

Replying to ryandesign@…:

And you know, we have scala in MacPorts. So all you should have needed to do was e.g. "sudo port install scala29" and it would take care of all the dependencies for you.

You said you installed "libpng 1.4.5 or Combo Installer". If that means you manually installed libpng, without using MacPorts, please uninstall it; it might interfere with MacPorts.

I tried installing Scala with the command "sudo port install scala29", but it seemed that when I tried to open scala after that, the icon in the dock just sat there for awhile and never loaded, eventually just quitting on its own. Can anyone tell me how to unsinstall the "libpng 1.4.5" thing? As ryandesign@… had told me to do?

comment:8 Changed 12 years ago by carcode@…

I am doing an upgrade also and found several items missing in the index:

  • p5.12-xml-parser
  • p5.12-getopt-long
  • p5.12-pathtools
  • p5.12-scalar-list-utils
  • p5.12-locale-gettext

All missing port name starts with p5.12!!! What is wrong here with MacPorts?

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mjg@…
Summary: enforce-variants gtk2 +universal - @MacPorts version 2.03 - errorp5.12-xml-parser @2.40 build failure

The attached log is incomplete. Please clean and generate a complete one.

comment:10 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing because this bug is stale and the requested information was never provided.

Note: See TracTickets for help on using tickets.