Closed Bug 1082537 Opened 10 years ago Closed 9 years ago

Instantbird Windows build busted due to missing nss symbols

Categories

(Instantbird Graveyard :: Other, defect)

All
Windows 8.1
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clokep, Assigned: clokep)

References

Details

(Whiteboard: [1.6-blocking])

Attachments

(1 file)

(In reply to Patrick Cloke [:clokep] from bug 1080904, comment #0)
> After enabling MOZ_FOLD_LIBS for Instantbird, we're no longer able to build
> purplexpcom, which requires some functions not linked into nss3:
> > sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_PubEncryptRaw referenced in function _sipe_crypt_rsa_encrypt
> > sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_PubDecryptRaw referenced in function _sipe_crypt_rsa_decrypt
> > sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_Verifyreferenced in function _sipe_crypt_verify_rsa
> > sipe-digest-nss.obj : error LNK2019: unresolved external symbol _PK11_RestoreContext referenced in function _sipe_digest_md5_end
> > sipe-digest-nss.obj : error LNK2019: unresolved external symbol _PK11_SaveContextAlloc referenced in function _sipe_digest_md5_end
> > purplexpcom.dll : fatal error LNK1120: 5 unresolved externals

Bug 1080904 was filed to allow the addition of these symbols via an extra .def file. This is currently in m-i and we'll need IB changes to take this into account.

Florian suggested modifying confvars.sh, which seems like the right place to do it. Does anyone know whether we have access to whether purple is enabled or not in here? (Or should we not care and just always add these symbols?)
(In reply to Patrick Cloke [:clokep] from comment #0)

> Does anyone know whether we have access to whether purple is enabled
> or not in here? (Or should we not care and just always add these symbols?)

We don't care, let's always have them, otherwise installing the purplexpcom add-on on an Ib that wasn't initially built with purple would be impossible. And that makes me think that we may need to add these symbols on TB too :(.
Attached patch Patch v1Splinter Review
This should fix it for Instantbird, we'll likely need a similar ptach for TB if we want to use SIPE with it.
Attachment #8505581 - Flags: review?(florian)
Comment on attachment 8505581 [details] [diff] [review]
Patch v1

Review of attachment 8505581 [details] [diff] [review]:
-----------------------------------------------------------------

Ah yeah, it only matter for TB only if we want SIPE there. That makes it less urgent for TB I guess.
Attachment #8505581 - Flags: review?(florian) → review+
http://hg.mozilla.org/comm-central/rev/05bb70d5b231

I'm going to leave this open to think about TB for the moment.
Target Milestone: --- → 1.6
I'm going to call this resolved and not build SIPE for Thunderbird in the Additional Chat Protocols extension.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: