Opened 6 years ago

Last modified 5 months ago

#45506 new defect

nspr does not build archs consistently

Reported by: nerdling (Jeremy Lavergne) 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) 6 years ago.

Download all attachments as: .zip

Change History (8)

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

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 Lavergne)

Cc: cal@… added

comment:3 Changed 6 years ago by nerdling (Jeremy Lavergne)

Cc: larryv@… added

comment:4 Changed 6 years ago by nerdling (Jeremy Lavergne)

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 6 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 6 years ago by ivo.clarysse@…

Cc: ivo.clarysse@… added

Cc Me!

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

Attachment: nspr.main.log added

comment:7 in reply to:  description Changed 5 months ago by ryandesign (Ryan Schmidt)

Replying to nerdling:

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

Those tickets were fixed in 2012 and 2004, respectively. Hard to imagine that the fixes for those tickets would not already have been in place in 2014 when this ticket was filed.

Note: See TracTickets for help on using tickets.