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 returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: <TOP_LEVEL> :: line 1701" data: no] Stack trace: resource://gre/modules/addons/XPIProvider.jsm:1701 < AddonManagerInternal.startup()@resource://gre/modules/AddonManager.jsm:924 < this.AddonManagerPrivate.startup()@resource://gre/modules/AddonManager.jsm:2965 < amManager.prototype.observe()@resource://gre/components/addonManager.js:71 1476111314836 addons.manager ERROR Exception calling provider PluginProvider.getAddonsByTypes: [Exception... "Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]" nsresult: "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/modules/addons/PluginProvider.jsm:33 < PluginProvider.getPluginList()@resource://gre/modules/addons/PluginProvider.jsm:198 < PluginProvider.buildPluginList()@resource://gre/modules/addons/PluginProvider.jsm:219 < PluginProvider.getAddonsByTypes()@resource://gre/modules/addons/PluginProvider.jsm:147 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2494 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject/<()@resource://gre/modules/AddonManager.jsm:2499 < GMPProvider.getAddonsByTypes()@resource://gre/modules/addons/GMPProvider.jsm:685 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2494 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AddonManagerInternal.getAddonsByTypes/<.nextObject/<()@resource://gre/modules/AddonManager.jsm:2499 < this.LightweightThemeManager.getAddonsByTypes()@resource://gre/modules/LightweightThemeManager.jsm:450 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < AddonManagerInternal.getAddonsByTypes/<.nextObject()@resource://gre/modules/AddonManager.jsm:2494 < AsyncObjectCaller.prototype.callNext()@resource://gre/modules/AddonManager.jsm:382 < AsyncObjectCaller()@resource://gre/modules/AddonManager.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.prototype._getActiveGMPlugins<()@resource://gre/modules/TelemetryEnvironment.jsm:673 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < TaskImpl()@resource://gre/modules/Task.jsm:280 < createAsyncFunction/asyncFunction()@resource://gre/modules/Task.jsm:254 < EnvironmentAddonBuilder.prototype._updateAddons<()@resource://gre/modules/TelemetryEnvironment.jsm:521 < TaskImpl_run()@resource://gre/modules/Task.jsm:319 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816 < this.PromiseWalker.scheduleWalkerLoop/<()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:750 1476111315127 addons.manager ERROR Exception calling provider PluginProvider.getAddonByID: [Exception... "Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]" nsresult: "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/modules/addons/PluginProvider.jsm:33 < PluginProvider.getPluginList()@resource://gre/modules/addons/PluginProvider.jsm:198 < PluginProvider.buildPluginList()@resource://gre/modules/addons/PluginProvider.jsm:219 < PluginProvider.getAddonByID()@resource://gre/modules/addons/PluginProvider.jsm:124 < callProviderAsync()@resource://gre/modules/AddonManager.jsm:263 < promiseCallProvider/<()@resource://gre/modules/AddonManager.jsm:288 < Promise()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:388 < promiseCallProvider()@resource://gre/modules/AddonManager.jsm:287 < AddonManagerInternal.getAddonByID/promises<()@resource://gre/modules/AddonManager.jsm:2399 < AddonManagerInternal.getAddonByID()@resource://gre/modules/AddonManager.jsm:2398 < this.AddonManager.getAddonByID()@resource://gre/modules/AddonManager.jsm:3384 < AntLib.getExtensionVersion()@lib.js:678 < AntPrefs.init()@newprefs.js:48 < AntBar.init()@toolbar.js:36 1476111315147 addons.manager WARN Exception calling callback: TypeError: addon is null (chrome://antbar/content/antlib/lib.js:678:70) JS Stack trace: AntLib.getExtensionVersion/<@lib.js:678:70 < safec...@addonmanager.jsm:188:5 < makeSafe/<@AddonManager.jsm:204:25 < handler.prototype.proc...@promise-backend.js:937:23 < this.promisewalker.walkerl...@promise-backend.js:816:7 < this.PromiseWalker.scheduleWalkerLoop/<@Promise-backend.js:750:11 Assertion failure: NS_IsMainThread(), at /common/ports/www/firefox/work/firefox-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_[/local/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/lib/firefox/libxul.so +0xb9e32b] #09: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xb5afe0] #10: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xb62499] #11: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xcc9421] #12: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xcc832a] #13: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xcc6913] #14: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xcc27c3] #15: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xcce8a6] #16: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0xaba88e] #17: _ZNSt3__16vectorImNS_9allocatorImEEE21__push_back_slow_pathImEEvOT_[/local/amd64/local/lib/firefox/libxul.so +0xade5a3] #18: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xb62b91] #19: _ZN7mozilla3net8LoadInfo21MaybeIncreaseTaintingEj[/local/amd64/local/lib/firefox/libxul.so +0xb637fa] #20: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0xaba88e] #21: _ZNSt3__16vectorImNS_9allocatorImEEE21__push_back_slow_pathImEEvOT_[/local/amd64/local/lib/firefox/libxul.so +0xade5a3] #22: _ZNSt3__16vectorINS_4pairIiiEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_[/local/amd64/local/lib/firefox/libxul.so +0xda54b3] #23: _ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE6insertINS_11__wrap_iterIPS6_EEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS6_NS_15iterator_traitsISE_E9referenceEEE5valueESC_E4typeENSA_[/local/amd64/local/lib/firefox/libxul.so +0xd83fec] #24: XRE_AddJarManifestLocation[/local/amd64/local/lib/firefox/libxul.so +0xab94e0] #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] 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 -- David H. Wolfskill da...@catwhisker.org Those who would murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
signature.asc
Description: PGP signature