Opened 10 years ago

Last modified 23 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), IvoClarysse (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) 10 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 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 10 years ago by nerdling (Jeremy Lavergne)

Cc: cal@… added

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

Cc: larryv@… added

comment:4 Changed 10 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 10 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 10 years ago by IvoClarysse (Ivo Clarysse)

Cc: ivo.clarysse@… added

Cc Me!

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

Attachment: nspr.main.log added

comment:7 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten 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.

comment:8 Changed 2 years ago by potterpg

Also I placed a new ticket, https://trac.macports.org/ticket/65534 not realising its an old issue not been resolved yet...

Version 0, edited 2 years ago by potterpg (next)
Note: See TracTickets for help on using tickets.