[MacPorts] #31875: error when installing ncarg 6
#31875: error when installing ncarg 6 ------------------------------------+--------------------------------------- Reporter: serra@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ncarg ------------------------------------+--------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/31875> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31875: ncarg: can't read "build_arc": no such variable ------------------------------------+--------------------------------------- Reporter: serra@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ncarg ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… Old description:
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
New description: 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 -- Comment: Please remember to use WikiFormatting and to Cc the maintainer of the port. -- Ticket URL: <https://trac.macports.org/ticket/31875#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31875: ncarg: can't read "build_arc": no such variable -------------------------------------+-------------------------------------- Reporter: serra@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ncarg | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/31875#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31875: ncarg: can't read "build_arc": no such variable -------------------------------------+-------------------------------------- Reporter: serra@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ncarg | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) -- Ticket URL: <https://trac.macports.org/ticket/31875#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31875: ncarg: can't read "build_arc": no such variable -------------------------------------+-------------------------------------- Reporter: serra@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ncarg | -------------------------------------+-------------------------------------- Comment(by serra@…): Replying to [comment:3 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. -- Ticket URL: <https://trac.macports.org/ticket/31875#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31875: ncarg: can't read "build_arc": no such variable -------------------------------------+-------------------------------------- Reporter: serra@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ncarg | -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 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 [http://guide.macports.org/chunked/project.html#project.tickets.creating 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. -- Ticket URL: <https://trac.macports.org/ticket/31875#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts