[MacPorts] #32581: reduce-algebra: don't break when runtime OS version != build-time OS version

MacPorts noreply at macports.org
Sun Dec 18 00:29:33 PST 2011


#32581: reduce-algebra: don't break when runtime OS version != build-time OS
version
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  mark.brethen@…        
     Type:  defect                   |      Status:  new                   
 Priority:  Normal                   |   Milestone:                        
Component:  ports                    |     Version:  2.0.3                 
 Keywords:  haspatch                 |        Port:  reduce-algebra        
-------------------------------------+--------------------------------------
 If the version of OS X changes (even a minor version, for example updating
 from 10.7.2 to 10.7.3), redpsl no longer runs:

 {{{
 $ /opt/local/libexec/reduce-algebra/bin/redpsl
 Failed to find a version of bpsl that you have built
 try ./configure --with-psl; make to build one.
 }}}

 This is because at build time, it runs its copy of config.guess to
 determine the OS name and full version, and uses that in a directory name
 that gets installed. Then at runtime, it again runs that config.guess to
 find the directory. config.guess returns the running OS's name and
 version, so this fails if the OS version at build time is different from
 the OS version at runtime. This is also significant if the user receives a
 pre-compiled binary built by our buildbot, because the buildbot's version
 of OS X might not be identical to the user's.

 The attached patch is one way we could fix this.

-- 
Ticket URL: <https://trac.macports.org/ticket/32581>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list