[MacPorts] #57897: augeas @ 1.11.0 installation fails Snow Leopard

MacPorts noreply at macports.org
Wed Jan 16 01:09:24 UTC 2019


#57897: augeas @ 1.11.0 installation fails Snow Leopard
-----------------------+-------------------------
  Reporter:  jkorchok  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:  snowleopard
      Port:  augeas    |
-----------------------+-------------------------

Comment (by kencu):

 It looks like it's an `i386` specific thing
 <https://lists.apple.com/archives/xcode-users/2007/Oct/msg00512.html>.

 One option that appears to work is to not build the examples ( :> )

 in `Makefile.am`, change
 {{{
 SUBDIRS += tests man doc examples
 }}}
 to
 {{{
 SUBDIRS += tests man doc
 }}}
 and have the port `use_autoreconf yes`

 That builds it `+universal` for me.

 Whether that's an acceptable option for the Portfile remains to be seen.

 For the original poster, if you want to do this:

 you would
 {{{
 bbedit `port file augeas`
 }}}
 and add the following line right above the post-destroot block:
 {{{
 use_autoreconf          yes
 }}}

 then
 {{{
 sudo port -v extract augeas
 cd `port work augeas`
 cd a*
 bbedit Makefile.am
 }}}

 delete the "examples" word in the `SUBDIRS` line as above, save the file.

 and then
 {{{
 cd /
 sudo port -v install augeas
 }}}
 and if it works like mine did, it's going to install.

 We can ask Ryan if he accepts this into the `Portfile`, and if so, it's a
 one-second patch and one line to the `Portfile` (but then everyone has to
 `autoreconf` and nobody builds examples, not that I suspect anyone would
 care).

-- 
Ticket URL: <https://trac.macports.org/ticket/57897#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list