Build atob and btoa for Thunderbird
Categories
(NSS :: Test, enhancement)
Tracking
(Not tracked)
People
(Reporter: KaiE, Assigned: KaiE)
Details
Attachments
(2 files, 1 obsolete file)
810 bytes,
patch
|
jcj
:
review+
|
Details | Diff | Splinter Review |
544 bytes,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
Build atob and btoa when building NSS for Thunderbird.
Assignee | ||
Comment 1•5 years ago
|
||
Do simply patches still work, or are we required to go through phabricator?
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Thanks J.C.! Setting checkin reminder for myself, for after the current freeze.
Assignee | ||
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
This merged in bug 1577822 and now Mac builds are busted :-(
make[4]: *** [../../../../../dist/bin/btoa] Error 1
make[3]: *** [security/nss/cmd/btoa/btoa_btoa/target] Error 2
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Correction: Mac and Windows builds, so it took out two of our three platforms and technically I'd have to close the tree now.
Comment 8•5 years ago
|
||
Can you point us to a log?
Comment 9•5 years ago
|
||
Yes, Mac and Windows builds:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=51f6d35de7f4fca23ad24c9c300318935d846897
Assignee | ||
Comment 10•5 years ago
|
||
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - Undefined symbols for architecture x86_64:
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - "_NSSBase64Encoder_Create_Util", referenced from:
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - _main in btoa.o
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - "_NSSBase64Encoder_Update_Util", referenced from:
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - _main in btoa.o
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - "_NSSBase64Encoder_Destroy_Util", referenced from:
[task 2019-09-19T07:42:40.963Z] 07:42:40 INFO - _main in btoa.o
Sorry, I didn't except this to happen. I should have made a try build of Thunderbird on all platforms.
I think it will be sufficient to add entries to comm/mailnews/nss-extra.symbols
Assignee | ||
Comment 11•5 years ago
|
||
This is a patch for comm-central, I haven't yet tested it, and I don't have a curent local build, so I cannot test it quickly. Should we attempt to check it in, or do you want to wait for me to have a verified fix?
Comment 12•5 years ago
|
||
Surprisingly the original patch with the encoder symbols doesn't work, but this one does.
Comment 13•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/d4028b82f6b6
Follow-up: Add NSSBase64Decoder_* symbols to nss-extra.symbols. r=jorgk
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
Well, the push with the decoder symbols added didn't work, but it did work locally, unless I messed up.
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=d4028b82f6b6fd19d41fe0cc45ab6482f5c53d52
I've taken them out again.
Comment 18•5 years ago
|
||
I tried to retrace the steps that led to the faulty results. All I can say is that changing mailnews/nss-extra.symbols doesn't trigger a re-make of the dependent targets. Right now I've remove all NSSBase64XXcoder_* symbols again locally and it still compiles. Since Kai's original patch works for Mac in automation (Windows not done yet), we're done here. Sorry about the noise.
Comment 19•5 years ago
|
||
Assignee | ||
Comment 20•5 years ago
|
||
Jörg, one tool does encoding, the other does decoding. The build might have stopped building after the first failure. It's possible that all those symbols are required. With some symbols backed out, one of the tools might again fail to build.
I'll submit a try build for win and mac with the current state of comm-central. Let's see if it fails. If it does, we might have to reland those symbols.
Comment 21•5 years ago
|
||
Yes, thanks. The successful Daily was built with both sets (decode/encode). Let's see what happens after the decode backout.
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
Comment 24•5 years ago
|
||
That try failed, so the decode symbols are needed after all. Finally done here.
Description
•