unable to build 2.53.16 (error while signing)

Discussion about Seamonkey builds
Post Reply
multix
Posts: 4
Joined: January 29th, 2008, 7:47 am
Contact:

unable to build 2.53.16 (error while signing)

Post by multix »

HI all!

I build SeaMonkey on FreeBSD since a couple of releases now, because no
prebuilt ports are available.

I was able do build (and currently running) 2.53.16b1. So I carry over
the same .mozconfig

However upgrade to 2.53.16 fails "mac build" compiles and "mach run"
starts a browser, so it is not so broken...

"mach package" or "mach install" fail with issue:

Code: Select all

 0:00.90 /usr/local/bin/gmake -C . -s -j2 -s -w package
 0:00.95 gmake: Entering directory '/usr/home/multix/code/seamonkey-2.53.16/obj-x86_64-unknown-freebsd12.3'
 0:01.00 gmake[1]: Entering directory '/usr/home/multix/code/seamonkey-2.53.16/obj-x86_64-unknown-freebsd12.3/comm/suite/installer'
 0:01.07 gmake[2]: Entering directory '/usr/home/multix/code/seamonkey-2.53.16/obj-x86_64-unknown-freebsd12.3/comm/suite/installer'
 0:01.09 gmake[3]: Entering directory '/usr/home/multix/code/seamonkey-2.53.16/obj-x86_64-unknown-freebsd12.3/comm/suite/installer'
 0:36.27 Executing /usr/home/multix/code/seamonkey-2.53.16/obj-x86_64-unknown-freebsd12.3/dist/bin/shlibsign -v -o ../../../dist/seamonkey/libsoftokn3.chk -i ../../../dist/seamonkey/libsoftokn3.so
 0:36.39 loading softokn3 failedTraceback (most recent call last):
 0:36.39   File "/usr/home/multix/code/seamonkey-2.53.16/toolkit/mozapps/installer/packager.py", line 338, in <module>
 0:36.39     main()
 0:36.39   File "/usr/home/multix/code/seamonkey-2.53.16/toolkit/mozapps/installer/packager.py", line 332, in main
 0:36.39     copier.copy(args.destination)
 0:36.40   File "/usr/home/multix/code/seamonkey-2.53.16/python/mozbuild/mozpack/copier.py", line 424, in copy
 0:36.40     copy_results.append((destfile, f.copy(destfile, skip_if_older)))
 0:36.41   File "/usr/home/multix/code/seamonkey-2.53.16/toolkit/mozapps/installer/packager.py", line 126, in copy
 0:36.41     errors.fatal('Error while signing %s' % self.path)
 0:36.41   File "/usr/home/multix/code/seamonkey-2.53.16/python/mozbuild/mozpack/errors.py", line 103, in fatal
 0:36.41     self._handle(self.FATAL, msg)
 0:36.41   File "/usr/home/multix/code/seamonkey-2.53.16/python/mozbuild/mozpack/errors.py", line 98, in _handle
 0:36.41     raise ErrorMessage(msg)
 0:36.41 mozpack.errors.ErrorMessage: Error: Error while signing ../../../dist/seamonkey/libsoftokn3.so


Any ideas?

Thanks - Riccardo
frg
Posts: 1361
Joined: December 15th, 2015, 1:20 pm

Re: unable to build 2.53.16 (error while signing)

Post by frg »

Hmm wasn't aware that we even use shlibsign. Anyway mozilla removed it in https://bugzilla.mozilla.org/show_bug.cgi?id=1620158
Will be in 2.53.17b1. Patcvh will not apply clean to 2.53.16.
I think you can just remove the

> # shlibsign libraries
> - if launcher.can_launch():

block in /toolkit/mozapps/installer/packager.py

Not sure if something else is not broken. Not aware of any code changes there in the final version. Did you remove your old object directory before building?

FRG
multix
Posts: 4
Joined: January 29th, 2008, 7:47 am
Contact:

Re: unable to build 2.53.16 (error while signing)

Post by multix »

Hi FRG,
frg wrote:Hmm wasn't aware that we even use shlibsign. Anyway mozilla removed it in https://bugzilla.mozilla.org/show_bug.cgi?id=1620158
Will be in 2.53.17b1. Patcvh will not apply clean to 2.53.16.
I think you can just remove the

> # shlibsign libraries
> - if launcher.can_launch():

block in /toolkit/mozapps/installer/packager.py
This fixed the packaging and installing and I am now typing this true message using the new 2.53.16 build on FreeBSD
frg wrote: Not sure if something else is not broken. Not aware of any code changes there in the final version. Did you remove your old object directory before building?
It is a clean build, because I download the source tarball which I extract and it creates a new directory, then I copy over .mozconfig

Riccardo
trevoz
Posts: 71
Joined: December 12th, 2005, 9:40 pm

Re: unable to build 2.53.16 (error while signing)

Post by trevoz »

Thanks - same problem FreeBSD 12.4 - removing all the library signing blocks from packager.py fixed the installation.
multix
Posts: 4
Joined: January 29th, 2008, 7:47 am
Contact:

Re: unable to build 2.53.16 (error while signing)

Post by multix »

Just for info, 2.53.17 beta 1 compiles and installs without hiccups.
Post Reply