[MacPorts] #31875: ncarg: can't read "build_arc": no such variable (was: error when installing ncarg 6)

MacPorts noreply at macports.org
Thu Nov 3 19:02:05 PDT 2011


#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


More information about the macports-tickets mailing list