Date: Mon, 10 Oct 2016 08:05:55 -0700 From: David Wolfskill <david@catwhisker.org> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Staging failure for freshly-built www/firefox-49.0_8,1 Message-ID: <20161010150555.GN1147@albert.catwhisker.org> In-Reply-To: <CAN6yY1udN8Pydej0o6eGoBRw1Z1Lvd99tp%2BhSVzbO_s-1Us1_A@mail.gmail.com> References: <20161010131813.GL1147@albert.catwhisker.org> <20161010140308.GM1147@albert.catwhisker.org> <CAN6yY1udN8Pydej0o6eGoBRw1Z1Lvd99tp%2BhSVzbO_s-1Us1_A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--U6leaJ20qZQc29iB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 10, 2016 at 07:53:13AM -0700, Kevin Oberman wrote: > ... > % locate libplds4.so.1 > /usr/local/lib/libplds4.so.1 > % pkg which /usr/local/lib/libplds4.so.1 > /usr/local/lib/libplds4.so.1 was installed by package nspr-4.13 > .... Thanks. I tried (re-)installing devel/nspr, but it has been updated to nspr-4.13_1: ------------------------------------------------------------------------ r423591 | jbeich | 2016-10-09 05:10:02 -0700 (Sun, 09 Oct 2016) | 18 lines devel/nspr, security/nss: drop version from SONAME No other downstream appends synthetic library version, and doing so causes underlinking due to fragile build system (see below). Not to mention being unable to swap out bundled libs from upstream builds. $ cc -lplds4 -L/usr/local/lib /usr/lib/crt1.o: In function `_start1': crt1_c.c:(.text+0xa6): undefined reference to `main' /usr/local/lib/libplds4.so: undefined reference to `pthread_set_name_np' /usr/local/lib/libplds4.so: undefined reference to `pthread_create' /usr/local/lib/libplds4.so: undefined reference to `pthread_condattr_init' /usr/local/lib/libplds4.so: undefined reference to `pthread_setschedparam' /usr/local/lib/libplds4.so: undefined reference to `pthread_getschedparam' PR: 213144 Exp-run by: antoine ------------------------------------------------------------------------ and thus, no longer installs /usr/local/lib/libplds4.so.1. I was able to find a copy of /usr/local/lib/libplds4.so.1 on a system that I only update weekly (on Sundays). I copied it over... only to that each of the following was also needed: /usr/local/lib/libplc4.so.1 /usr/local/lib/libnspr4.so.1 /usr/local/lib/nss/libssl3.so.1 /usr/local/lib/nss/libsmime3.so.1 /usr/local/lib/nss/libnss3.so.1 /usr/local/lib/nss/libnssutil3.so.1 After copying eacho those, firefox starts, then errors out: g1-252(10.3-S)[10] firefox -no-remote 1476111314479 addons.manager ERROR Exception loading default provider = "resource://gre/modules/addons/XPIProvider.jsm": [Exception... "Component r= eturned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSC= ID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" = location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: <T= OP_LEVEL> :: line 1701" data: no] Stack trace: resource://gre/modules/addo= ns/XPIProvider.jsm:1701 < AddonManagerInternal.startup()@resource://gre/mod= ules/AddonManager.jsm:924 < this.AddonManagerPrivate.startup()@resource://g= re/modules/AddonManager.jsm:2965 < amManager.prototype.observe()@resource:/= /gre/components/addonManager.js:71 1476111314836 addons.manager ERROR Exception calling provider PluginPr= ovider.getAddonsByTypes: [Exception... "Component returned failure code: 0x= 80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]" nsr= esult: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)" location: "JS frame= :: resource://gre/modules/addons/PluginProvider.jsm :: getIDHashForString = :: line 33" data: no] Stack trace: getIDHashForString()@resource://gre/mod= ules/addons/PluginProvider.jsm:33 < PluginProvider.getPluginList()@resource= ://gre/modules/addons/PluginProvider.jsm:198 < PluginProvider.buildPluginLi= st()@resource://gre/modules/addons/PluginProvider.jsm:219 < PluginProvider.= getAddonsByTypes()@resource://gre/modules/addons/PluginProvider.jsm:147 < c= allProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManag= erInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonMana= ger.jsm:2494 < AsyncObjectCaller.prototype.callNext()@resource://gre/module= s/AddonManager.jsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject= /<()@resource://gre/modules/AddonManager.jsm:2499 < GMPProvider.getAddonsBy= Types()@resource://gre/modules/addons/GMPProvider.jsm:685 < callProviderAsy= nc()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.get= AddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2494 <= AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager= =2Ejsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject/<()@resourc= e://gre/modules/AddonManager.jsm:2499 < this.LightweightThemeManager.getAdd= onsByTypes()@resource://gre/modules/LightweightThemeManager.jsm:450 < callP= roviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerIn= ternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.= jsm:2494 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/Ad= donManager.jsm:382 < AsyncObjectCaller()@resource://gre/modules/AddonManage= r.jsm:362 < AddonManagerInternal.getAddonsByTypes()@resource://gre/modules/= AddonManager.jsm:2492 < this.AddonManager.getAddonsByTypes()@resource://gre= /modules/AddonManager.jsm:3408 < promiseGetAddonsByTypes/<()@resource://gre= /modules/TelemetryEnvironment.jsm:250 < promiseGetAddonsByTypes()@resource:= //gre/modules/TelemetryEnvironment.jsm:249 < EnvironmentAddonBuilder.protot= ype._getActiveGMPlugins<()@resource://gre/modules/TelemetryEnvironment.jsm:= 673 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < TaskImpl()@resou= rce://gre/modules/Task.jsm:280 < createAsyncFunction/asyncFunction()@resour= ce://gre/modules/Task.jsm:254 < EnvironmentAddonBuilder.prototype._updateAd= dons<()@resource://gre/modules/TelemetryEnvironment.jsm:521 < TaskImpl_run(= )@resource://gre/modules/Task.jsm:319 < Handler.prototype.process()@resourc= e://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:93= 7 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> r= esource://gre/modules/Promise-backend.js:816 < this.PromiseWalker.scheduleW= alkerLoop/<()@resource://gre/modules/Promise.jsm -> resource://gre/modules/= Promise-backend.js:750 1476111315127 addons.manager ERROR Exception calling provider PluginPr= ovider.getAddonByID: [Exception... "Component returned failure code: 0x8057= 0015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]" nsresul= t: "0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE)" location: "JS frame :: = resource://gre/modules/addons/PluginProvider.jsm :: getIDHashForString :: l= ine 33" data: no] Stack trace: getIDHashForString()@resource://gre/modules= /addons/PluginProvider.jsm:33 < PluginProvider.getPluginList()@resource://g= re/modules/addons/PluginProvider.jsm:198 < PluginProvider.buildPluginList()= @resource://gre/modules/addons/PluginProvider.jsm:219 < PluginProvider.getA= ddonByID()@resource://gre/modules/addons/PluginProvider.jsm:124 < callProvi= derAsync()@resource://gre/modules/AddonManager.jsm:263 < promiseCallProvide= r/<()@resource://gre/modules/AddonManager.jsm:288 < Promise()@resource://gr= e/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:388 < pr= omiseCallProvider()@resource://gre/modules/AddonManager.jsm:287 < AddonMana= gerInternal.getAddonByID/promises<()@resource://gre/modules/AddonManager.js= m:2399 < AddonManagerInternal.getAddonByID()@resource://gre/modules/AddonMa= nager.jsm:2398 < this.AddonManager.getAddonByID()@resource://gre/modules/Ad= donManager.jsm:3384 < AntLib.getExtensionVersion()@lib.js:678 < AntPrefs.in= it()@newprefs.js:48 < AntBar.init()@toolbar.js:36 1476111315147 addons.manager WARN Exception calling callback: TypeErr= or: addon is null (chrome://antbar/content/antlib/lib.js:678:70) JS Stack t= race: AntLib.getExtensionVersion/<@lib.js:678:70 < safeCall@AddonManager.js= m:188:5 < makeSafe/<@AddonManager.jsm:204:25 < Handler.prototype.process@Pr= omise-backend.js:937:23 < this.PromiseWalker.walkerLoop@Promise-backend.js:= 816:7 < this.PromiseWalker.scheduleWalkerLoop/<@Promise-backend.js:750:11 Assertion failure: NS_IsMainThread(), at /common/ports/www/firefox/work/fir= efox-49.0/security/manager/ssl/nsNSSComponent.cpp:261 #01: NS_NewLocalFile[/local/amd64/local/lib/firefox/libxul.so +0xaad952] #02: NS_NewLocalFile[/local/amd64/local/lib/firefox/libxul.so +0xaaac95] #03: _ZNSt3__16vectorImNS_9allocatorImEEE21__push_back_slow_pathImEEvOT_[/l= ocal/amd64/local/lib/firefox/libxul.so +0xad9019] #04: NS_UTF16ToCString[/local/amd64/local/lib/firefox/libxul.so +0xad5cd1] #05: _ZNSt3__16__treeIiNS_4lessIiEENS_9allocatorIiEEE7destroyEPNS_11__tree_= nodeIiPvEE[/local/amd64/local/lib/firefox/libxul.so +0x2d06a19] #06: NS_NewLocalFile[/local/amd64/local/lib/firefox/libxul.so +0xaad952] #07: NS_NewLocalFile[/local/amd64/local/lib/firefox/libxul.so +0xaaac95] #08: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xb9e32b] #09: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xb5afe0] #10: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xb62499] #11: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xcc9421] #12: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xcc832a] #13: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xcc6913] #14: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xcc27c3] #15: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xcce8a6] #16: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0= xaba88e] #17: _ZNSt3__16vectorImNS_9allocatorImEEE21__push_back_slow_pathImEEvOT_[/l= ocal/amd64/local/lib/firefox/libxul.so +0xade5a3] #18: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xb62b91] #19: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/l= ib/firefox/libxul.so +0xb637fa] #20: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0= xaba88e] #21: _ZNSt3__16vectorImNS_9allocatorImEEE21__push_back_slow_pathImEEvOT_[/l= ocal/amd64/local/lib/firefox/libxul.so +0xade5a3] #22: _ZNSt3__16vectorINS_4pairIiiEENS_9allocatorIS2_EEE21__push_back_slow_p= athIS2_EEvOT_[/local/amd64/local/lib/firefox/libxul.so +0xda54b3] #23: _ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorI= cEEEENS4_IS6_EEE6insertINS_11__wrap_iterIPS6_EEEENS_9enable_ifIXaasr21__is_= forward_iteratorIT_EE5valuesr16is_constructibleIS6_NS_15iterator_traitsISE_= E9referenceEEE5valueESC_E4typeENSA_[/local/amd64/local/lib/firefox/libxul.s= o +0xd83fec] #24: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0= xab94e0] #25: PR_GetThreadName[/usr/local/lib/libplds4.so.1 +0x1a6b9] #26: pthread_create[/lib/libthr.so.3 +0x8755] #27: ??? (???:???) Segmentation fault (core dumped) g1-252(10.3-S)[11]=20 PS: I placed the full typescript from the portmaster run up at <http://www.catwhisker.org/~david/FreeBSD/ports/portmaster_2016-10-10.log>. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who would murder in the name of God or prophet are blasphemous coward= s. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --U6leaJ20qZQc29iB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJX+65TXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XNCYIAI3lASWzV8pIS+X/+NDnrJCm jHI+mp3ocBQUMlPYGgyiHB+HlRKplx9tnd5vDMHdO5rjgYnVob0wBvFxgE8nHuqF fyjOFFBf+AM9HEtuWl6JV+pJqj05Ik/ChPnRLmQvC1KIp9Jg5clENFbeuvxt5a3E Tr9MhMdYwhLe2fxQY4b3C4C3RdTJqpVW1C/p7Ddy8gKITR3wm486t6vNUbIdjffx dq0M2Vil32Zc2BpmOT17KD0Lo8vUpKJScVPHv5Tht7Xu3kD7d24KbHCmjd9CQh9i 0nMNYN0SPhz/kyX5rasfSTUqMZ8ffnfToOnbSTSaWoKlWEGIqVbBTsUqHv9lGSA= =LB6b -----END PGP SIGNATURE----- --U6leaJ20qZQc29iB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161010150555.GN1147>