[MacPorts] #21477: xulrunner-1.9.0.13_0 build failure
#21477: xulrunner-1.9.0.13_0 build failure --------------------------------------------+------------------------------- Reporter: steve_macdougall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.1 Component: ports | Version: 1.8.0 Keywords: xulrunner Snow Leopard NSS | Port: xulrunner-1.9.0.13_0 --------------------------------------------+------------------------------- Following the resolution to Ticket# 21449, I wiped out my Macports installation and [[BR]] tried again from scratch with the command 'sudo port install firefox-x11 +universal'. [[BR]] All of the Firefox dependencies build correctly up to xulrunner, which crashes with[[BR]] a different error than previously reported. I tried to clean and reinstall xulrunner [[BR]] independently with the command 'sudo port install -d xulrunner +universal' with no [[BR]] success. The same is true if I omit the +universal. Here is the debug output: {{{ lis58731:~ stevem$ sudo port install -d xulrunner +universal ---> Computing dependencies for xulrunner ---> Fetching xulrunner ---> Verifying checksum(s) for xulrunner ---> Extracting xulrunner ---> Applying patches to xulrunner ---> Configuring xulrunner ---> Building xulrunner Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla" && /usr/bin/make -j4 all includedir="/opt/local/include/xulrunner" idldir="/opt/local/share/idl/xulrunner" installdir="/opt/local/lib/xulrunner" sdkdir="/opt/local/lib/xulrunner" " returned error 2 Command output: nsCMSMessage::CreateEncrypted(nsIArray*) in nsCMS.o AppendBMPtoUTF16(PLArenaPool*, unsigned char*, unsigned int, nsAString_internal&)in nsNSSCertHelper.o nsNSSCertificateDB::getCertsFromPackage(PLArenaPool*, unsigned char*, unsigned int)in nsNSSCertificateDB.o collect_certs(void*, SECItemStr**, int)in nsNSSCertificateDB.o "_CERT_GetCertTimes", referenced from: nsX509CertValidity::nsX509CertValidity(CERTCertificateStr*)in nsNSSCertValidity.o "_PK11_DeleteTokenCertAndKey", referenced from: nsNSSCertificate::destructorSafeDestroyNSSReference() in nsNSSCertificate.o "_SECMOD_ReferenceModule", referenced from: nsNSSComponent::InstallLoadableRoots() in nsNSSComponent.o nsPKCS11Module::nsPKCS11Module(SECMODModuleStr*)in nsPKCS11Slot.o SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModuleStr*)in nsSmartCardMonitor.o "_CERT_GetCertTrust", referenced from: nsNSSCertificateDB::IsCertTrusted(nsIX509Cert*, unsigned int, unsigned int, int*)in nsNSSCertificateDB.o "_PK11_PQG_DestroyParams", referenced from: nsKeygenFormProcessor::GetPublicKey(nsAString_internal&, nsAString_internal&, nsString&, nsAString_internal&, nsAString_internal&)in nsKeygenHandler.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o "_PK11_HashBuf", referenced from: GetCertFingerprintByOidTag(CERTCertificateStr*, SECOidTag, nsCString&) in nsCertOverrideService.o nsNSSCertificate::GetMd5Fingerprint(nsAString_internal&) in nsNSSCertificate.o nsNSSCertificate::GetSha1Fingerprint(nsAString_internal&) in nsNSSCertificate.o "_SEC_NewCrl", referenced from: nsCRLManager::ImportCrl(unsigned char*, unsigned int, nsIURI*, unsigned int, int, unsigned short const*)in nsCRLManager.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libxul.dylib] Error 1 make[2]: *** [libs_tier_toolkit] Error 2 make[1]: *** [tier_toolkit] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21477> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure --------------------------------------------+------------------------------- Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard NSS | Port: xulrunner --------------------------------------------+------------------------------- Changes (by macsforever2000@…): * keywords: xulrunner Snow Leopard NSS => snowleopard NSS * owner: macports-tickets@… => jeremyhu@… * port: xulrunner-1.9.0.13_0 => xulrunner * milestone: MacPorts 1.8.1 => Old description:
Following the resolution to Ticket# 21449, I wiped out my Macports installation and [[BR]] tried again from scratch with the command 'sudo port install firefox-x11 +universal'. [[BR]] All of the Firefox dependencies build correctly up to xulrunner, which crashes with[[BR]] a different error than previously reported. I tried to clean and reinstall xulrunner [[BR]] independently with the command 'sudo port install -d xulrunner +universal' with no [[BR]] success. The same is true if I omit the +universal. Here is the debug output:
{{{ lis58731:~ stevem$ sudo port install -d xulrunner +universal ---> Computing dependencies for xulrunner ---> Fetching xulrunner ---> Verifying checksum(s) for xulrunner ---> Extracting xulrunner ---> Applying patches to xulrunner ---> Configuring xulrunner ---> Building xulrunner Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla" && /usr/bin/make -j4 all includedir="/opt/local/include/xulrunner" idldir="/opt/local/share/idl/xulrunner" installdir="/opt/local/lib/xulrunner" sdkdir="/opt/local/lib/xulrunner" " returned error 2 Command output: nsCMSMessage::CreateEncrypted(nsIArray*) in nsCMS.o AppendBMPtoUTF16(PLArenaPool*, unsigned char*, unsigned int, nsAString_internal&)in nsNSSCertHelper.o nsNSSCertificateDB::getCertsFromPackage(PLArenaPool*, unsigned char*, unsigned int)in nsNSSCertificateDB.o collect_certs(void*, SECItemStr**, int)in nsNSSCertificateDB.o "_CERT_GetCertTimes", referenced from: nsX509CertValidity::nsX509CertValidity(CERTCertificateStr*)in nsNSSCertValidity.o "_PK11_DeleteTokenCertAndKey", referenced from: nsNSSCertificate::destructorSafeDestroyNSSReference() in nsNSSCertificate.o "_SECMOD_ReferenceModule", referenced from: nsNSSComponent::InstallLoadableRoots() in nsNSSComponent.o nsPKCS11Module::nsPKCS11Module(SECMODModuleStr*)in nsPKCS11Slot.o SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModuleStr*)in nsSmartCardMonitor.o "_CERT_GetCertTrust", referenced from: nsNSSCertificateDB::IsCertTrusted(nsIX509Cert*, unsigned int, unsigned int, int*)in nsNSSCertificateDB.o "_PK11_PQG_DestroyParams", referenced from: nsKeygenFormProcessor::GetPublicKey(nsAString_internal&, nsAString_internal&, nsString&, nsAString_internal&, nsAString_internal&)in nsKeygenHandler.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o "_PK11_HashBuf", referenced from: GetCertFingerprintByOidTag(CERTCertificateStr*, SECOidTag, nsCString&) in nsCertOverrideService.o nsNSSCertificate::GetMd5Fingerprint(nsAString_internal&) in nsNSSCertificate.o nsNSSCertificate::GetSha1Fingerprint(nsAString_internal&) in nsNSSCertificate.o "_SEC_NewCrl", referenced from: nsCRLManager::ImportCrl(unsigned char*, unsigned int, nsIURI*, unsigned int, int, unsigned short const*)in nsCRLManager.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libxul.dylib] Error 1 make[2]: *** [libs_tier_toolkit] Error 2 make[1]: *** [tier_toolkit] Error 2 make: *** [all] Error 2
Error: Status 1 encountered during processing. }}}
New description: Following the resolution to Ticket #21449, I wiped out my Macports installation and [[BR]] tried again from scratch with the command 'sudo port install firefox-x11 +universal'. [[BR]] All of the Firefox dependencies build correctly up to xulrunner, which crashes with[[BR]] a different error than previously reported. I tried to clean and reinstall xulrunner [[BR]] independently with the command 'sudo port install -d xulrunner +universal' with no [[BR]] success. The same is true if I omit the +universal. Here is the debug output: {{{ lis58731:~ stevem$ sudo port install -d xulrunner +universal ---> Computing dependencies for xulrunner ---> Fetching xulrunner ---> Verifying checksum(s) for xulrunner ---> Extracting xulrunner ---> Applying patches to xulrunner ---> Configuring xulrunner ---> Building xulrunner Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla" && /usr/bin/make -j4 all includedir="/opt/local/include/xulrunner" idldir="/opt/local/share/idl/xulrunner" installdir="/opt/local/lib/xulrunner" sdkdir="/opt/local/lib/xulrunner" " returned error 2 Command output: nsCMSMessage::CreateEncrypted(nsIArray*) in nsCMS.o AppendBMPtoUTF16(PLArenaPool*, unsigned char*, unsigned int, nsAString_internal&)in nsNSSCertHelper.o nsNSSCertificateDB::getCertsFromPackage(PLArenaPool*, unsigned char*, unsigned int)in nsNSSCertificateDB.o collect_certs(void*, SECItemStr**, int)in nsNSSCertificateDB.o "_CERT_GetCertTimes", referenced from: nsX509CertValidity::nsX509CertValidity(CERTCertificateStr*)in nsNSSCertValidity.o "_PK11_DeleteTokenCertAndKey", referenced from: nsNSSCertificate::destructorSafeDestroyNSSReference() in nsNSSCertificate.o "_SECMOD_ReferenceModule", referenced from: nsNSSComponent::InstallLoadableRoots() in nsNSSComponent.o nsPKCS11Module::nsPKCS11Module(SECMODModuleStr*)in nsPKCS11Slot.o SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModuleStr*)in nsSmartCardMonitor.o "_CERT_GetCertTrust", referenced from: nsNSSCertificateDB::IsCertTrusted(nsIX509Cert*, unsigned int, unsigned int, int*)in nsNSSCertificateDB.o "_PK11_PQG_DestroyParams", referenced from: nsKeygenFormProcessor::GetPublicKey(nsAString_internal&, nsAString_internal&, nsString&, nsAString_internal&, nsAString_internal&)in nsKeygenHandler.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o "_PK11_HashBuf", referenced from: GetCertFingerprintByOidTag(CERTCertificateStr*, SECOidTag, nsCString&) in nsCertOverrideService.o nsNSSCertificate::GetMd5Fingerprint(nsAString_internal&) in nsNSSCertificate.o nsNSSCertificate::GetSha1Fingerprint(nsAString_internal&) in nsNSSCertificate.o "_SEC_NewCrl", referenced from: nsCRLManager::ImportCrl(unsigned char*, unsigned int, nsIURI*, unsigned int, int, unsigned short const*)in nsCRLManager.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libxul.dylib] Error 1 make[2]: *** [libs_tier_toolkit] Error 2 make[1]: *** [tier_toolkit] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: #21449 -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by steve_macdougall@…): I disagree that this is a duplicate since this is a completely different error encountered when attempting to build firefox-x11 and all of it's dependants with the +universal variant as I was instructed to do in ticket #21449. -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by blb@…): Did nss get built properly for +universal? {{{ $ port installed nss $ lipo -info /opt/local/lib/nss/libnss3.dylib }}} -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by steve_macdougall@…): {{{ lis58731:~ stevem$ port installed nss The following ports are currently installed: nss @3.12.3_0 (active) lis58731:~ stevem$ lipo -info /opt/local/lib/nss/libnss3.dylib Non-fat file: /opt/local/lib/nss/libnss3.dylib is architecture: x86_64 }}} I tried uninstalling, cleaning and reinstalling nss with the +universal variant, the output to these commands was the same. Xulrunner still failed to build {{{ lis58731:~ stevem$ sudo port install xulrunner +universal ---> Computing dependencies for xulrunner ---> Fetching xulrunner ---> Verifying checksum(s) for xulrunner ---> Extracting xulrunner ---> Applying patches to xulrunner ---> Configuring xulrunner ---> Building xulrunner Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla" && /usr/bin/make -j4 all includedir="/opt/local/include/xulrunner" idldir="/opt/local/share/idl/xulrunner" installdir="/opt/local/lib/xulrunner" sdkdir="/opt/local/lib/xulrunner" " returned error 2 Command output: nsCMSMessage::CreateEncrypted(nsIArray*) in nsCMS.o AppendBMPtoUTF16(PLArenaPool*, unsigned char*, unsigned int, nsAString_internal&)in nsNSSCertHelper.o nsNSSCertificateDB::getCertsFromPackage(PLArenaPool*, unsigned char*, unsigned int)in nsNSSCertificateDB.o collect_certs(void*, SECItemStr**, int)in nsNSSCertificateDB.o "_CERT_GetCertTimes", referenced from: nsX509CertValidity::nsX509CertValidity(CERTCertificateStr*)in nsNSSCertValidity.o "_PK11_DeleteTokenCertAndKey", referenced from: nsNSSCertificate::destructorSafeDestroyNSSReference() in nsNSSCertificate.o "_SECMOD_ReferenceModule", referenced from: nsNSSComponent::InstallLoadableRoots() in nsNSSComponent.o nsPKCS11Module::nsPKCS11Module(SECMODModuleStr*)in nsPKCS11Slot.o SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModuleStr*)in nsSmartCardMonitor.o "_CERT_GetCertTrust", referenced from: nsNSSCertificateDB::IsCertTrusted(nsIX509Cert*, unsigned int, unsigned int, int*)in nsNSSCertificateDB.o "_PK11_PQG_DestroyParams", referenced from: nsKeygenFormProcessor::GetPublicKey(nsAString_internal&, nsAString_internal&, nsString&, nsAString_internal&, nsAString_internal&)in nsKeygenHandler.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o nsCrypto::GenerateCRMFRequest(nsIDOMCRMFObject**) in nsCrypto.o "_PK11_HashBuf", referenced from: GetCertFingerprintByOidTag(CERTCertificateStr*, SECOidTag, nsCString&) in nsCertOverrideService.o nsNSSCertificate::GetMd5Fingerprint(nsAString_internal&) in nsNSSCertificate.o nsNSSCertificate::GetSha1Fingerprint(nsAString_internal&) in nsNSSCertificate.o "_SEC_NewCrl", referenced from: nsCRLManager::ImportCrl(unsigned char*, unsigned int, nsIURI*, unsigned int, int, unsigned short const*)in nsCRLManager.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libxul.dylib] Error 1 make[2]: *** [libs_tier_toolkit] Error 2 make[1]: *** [tier_toolkit] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by jeremyhu@…): One of nss, nspr are not universal. They are a PITA to build. I don't have firefox built on my system right now. It's non-trivial. Even the "native" Firefox version is not being built on SnowLeopard or for 64bit. You will need to have some patience and let the upstream devs work on the problem. -- Ticket URL: <http://trac.macports.org/ticket/21477#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by macports@…): Replying to [comment:6 jeremyhu@…]:
One of nss, nspr are not universal. They are a PITA to build. I don't have firefox built on my system right now. It's non-trivial. Even the "native" Firefox version is not being built on SnowLeopard or for 64bit. You will need to have some patience and let the upstream devs work on the problem.
Just hit the same error with firefox-x11 quitting at xulrunner. Asking to install nss +universal got {{{ ---> Installing nspr @4.8.6_0+universal ---> Activating nspr @4.8.6_0+universal }}} and it then proceeded to build and install a non-universal nss {{{ ---> Installing nss @3.12.8_0 ---> Activating nss @3.12.8_0 }}} So is there some linkage where MacPorts tells Mozilla that we hope for a Mac Universal nss? -- Ticket URL: <https://trac.macports.org/ticket/21477#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21477: xulrunner-1.9.0.13_0 build failure ---------------------------------------------+------------------------------ Reporter: steve_macdougall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: snowleopard NSS Port: xulrunner | ---------------------------------------------+------------------------------ Comment(by jeremyhu@…): If you want a 64bit firefox, use firefox-x11-devel. If you want universal, patches are accepted ;) -- Ticket URL: <https://trac.macports.org/ticket/21477#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts