Opened 6 years ago

Last modified 5 years ago

#45506 new defect

nspr does not build archs consistently

Reported by: nerdling (Jeremy L) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc: neverpanic (Clemens Lang), larryv (Lawrence Velázquez), ivo.clarysse@…
Port: nspr

Description (last modified by larryv (Lawrence Velázquez))

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

Attachments (1)

nspr.main.log (144.0 KB) - added by larryv (Lawrence Velázquez) 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by nerdling (Jeremy L)

Description: modified (diff)
Port: spidermonkey185 added; nspr removed
Summary: nspr: update and fix build on yosemitespidermonkey185: missing _PR symbols on yosemite

comment:2 Changed 6 years ago by nerdling (Jeremy L)

Cc: cal@… added

comment:3 Changed 5 years ago by nerdling (Jeremy L)

Cc: larryv@… added

comment:4 Changed 5 years ago by nerdling (Jeremy L)

Description: modified (diff)
Keywords: yosemite removed
Port: nspr added; spidermonkey185 removed
Summary: spidermonkey185: missing _PR symbols on yosemitenspr does not build archs consistently

comment:5 Changed 5 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

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 [...]

comment:6 Changed 5 years ago by ivo.clarysse@…

Cc: ivo.clarysse@… added

Cc Me!

Changed 5 years ago by larryv (Lawrence Velázquez)

Attachment: nspr.main.log added
Note: See TracTickets for help on using tickets.