Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31875 closed defect (fixed)

ncarg: can't read "build_arc": no such variable

Reported by: serra@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ncarg

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

I am trying to install ncarg 6 +gcc45 on a PowerPC Mac running 10.5. I used the port selfupdate command before installing. I also downloaded the ncarg tar file from the earth system grid and placed it in the appropriate directory in /opt/local. I am able to install all dependencies, but when I get to the patch (g2clib-1.2.1-patches/makefile) I get the error

:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_ncarg/ncarg/work/g2clib-1.2.1-patches/makefile
:debug:patch euid/egid changed to: 62638/501
:error:patch Target org.macports.patch returned: can't read "build_arc": no such variable
:debug:patch Backtrace: can't read "build_arc": no such variable
    while executing
"$post $targetname"
:info:patch Warning: the following items did not execute (for ncarg): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:patch Log for ncarg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_ncarg/ncarg/main.log

I've attached the log to this ticket. I searched the tickets but did not see this problem elsewhere. Not sure if I have an environment variable missing? I tried editing the macports.conf build_arch variable to ppc (it was commented out by default) but this did not seem to help.

Thanks, Yolande Serra

Attachments (1)

main.log (90.6 KB) - added by serra@… 13 years ago.
log file from install

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by serra@…

Attachment: main.log added

log file from install

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

Description: modified (diff)
Owner: changed from macports-tickets@… to takeshi@…
Summary: error when installing ncarg 6ncarg: can't read "build_arc": no such variable

Please remember to use WikiFormatting and to Cc the maintainer of the port.

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

Resolution: fixed
Status: newclosed

It looks like a simple typo in the portfile; I fixed it in r86781. Please wait 30 minutes, then "sudo port selfupdate" and "sudo port clean ncarg" and try again.

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

Cc: ryandesign@… added

comment:4 in reply to:  3 ; Changed 13 years ago by serra@…

Replying to ryandesign@…:

Great! This is good news. I'll try it when I get in tomorrow.

Also, what do you mean by "use WikiFormatting"? I noticed you made a comment that I should use it but I'm not sure what it is or when I should use it. I also don't know how to Cc the maintainer of the port through this ticket system. I just write text in these windows when I make a new ticket. Do I need to open the Portfile to get the owner's name and copy it into the cc window?

Thanks again.

comment:5 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to serra@…:

Also, what do you mean by "use WikiFormatting"? I noticed you made a comment that I should use it but I'm not sure what it is or when I should use it. I also don't know how to Cc the maintainer of the port through this ticket system. I just write text in these windows when I make a new ticket. Do I need to open the Portfile to get the owner's name and copy it into the cc window?

As explained in the Guide, WikiFormatting rules should be followed when writing in Trac. This includes using {{{ and }}} around output that you've pasted from the terminal. And you should place the email address of the maintainer of the port into the Cc field, so that they are made aware of the ticket. You can find out who maintains a port by typing e.g. "port info ncarg" in the terminal.

Note: See TracTickets for help on using tickets.