[MacPorts] #45506: nspr does not build archs consistently

MacPorts noreply at macports.org
Thu Apr 30 10:03:30 PDT 2015


#45506: nspr does not build archs consistently
---------------------+--------------------------------
  Reporter:  snc@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.99
Resolution:          |   Keywords:
      Port:  nspr    |
---------------------+--------------------------------

Old description:

> larryv: installing -universal provides fat binaries.
> snc: I get i386 which cannot be used by spidermonkey185 (cannot find _PR
> symbols).
> ivoc: he apparently got a working x86_64 from the pre-built archives,
> skipping the issue of building from source
>
> External tickets referenced in IRC:
> https://bugzilla.mozilla.org/show_bug.cgi?id=679825
> https://bugzilla.mozilla.org/show_bug.cgi?id=245194

New description:

 {{{
 larryv: installing -universal provides fat binaries.
 snc: I get i386 which cannot be used by spidermonkey185 (cannot find _PR
 symbols).
 ivoc: he apparently got a working x86_64 from the pre-built archives,
 skipping the issue of building from source
 }}}

 External tickets referenced in IRC:
 https://bugzilla.mozilla.org/show_bug.cgi?id=679825
 https://bugzilla.mozilla.org/show_bug.cgi?id=245194

--

Comment (by larryv@…):

 The configure script decides to tack “-arch i386” onto CC for me:
 {{{
 % sudo port install nspr -universal
 }}}
 {{{
 :info:configure checking how to run the C preprocessor... ccache
 /usr/bin/clang -E
 [...]
 :info:configure checking whether ccache /usr/bin/clang -arch i386 needs
 -traditional... no
 [...]
 :info:build ccache /usr/bin/clang -arch i386 [...] -arch x86_64 [...]
 }}}

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


More information about the macports-tickets mailing list