pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox build issue
Okay, I've the solution - https://bugzilla.mozilla.org/show_bug.cgi?id=1978715
I need to update devel/nss first :)
On Fri, Aug 8, 2025 at 12:17 PM Vitaly Shevtsov <shev.vt1984%gmail.com@localhost> wrote:
>
> Thanks. Indeed my bad.
>
> This is the root cause:
> <OUTPUT>
> gmake[3]: Leaving directory
> '/home/vit/pkgsrc/www/firefox/work/build/toolkit/library'
> gmake[3]: Leaving directory
> '/home/vit/pkgsrc/www/firefox/work/build/browser/app'
> In file included from Unified_cpp_security_manager_ssl1.cpp:47:
> /home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/security/manager/ssl/SecretDecoderRing.cpp:
> In member function 'nsresult
> SecretDecoderRing::Encrypt(CK_MECHANISM_TYPE, const nsACString&,
> nsACString&)':
> /home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/security/manager/ssl/SecretDecoderRing.cpp:140:7:
> error: 'PK11SDR_EncryptWithMechanism' was not declared in this scope;
> did you mean 'PK11_VerifyWithMechanism'?
> 140 | if (PK11SDR_EncryptWithMechanism(slot.get(), &keyid, type,
> &request, &reply,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | PK11_VerifyWithMechanism
> gmake[3]: *** [/home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/config/rules.mk:676:
> Unified_cpp_security_manager_ssl1.o] Error 1
> gmake[3]: Leaving directory
> '/home/vit/pkgsrc/www/firefox/work/build/security/manager/ssl'
> gmake[2]: *** [/home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/config/recurse.mk:72:
> security/manager/ssl/target-objects] Error 2
> gmake[2]: Leaving directory '/home/vit/pkgsrc/www/firefox/work/build'
> gmake[1]: *** [/home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/config/recurse.mk:34:
> compile] Error 2
> gmake[1]: Leaving directory '/home/vit/pkgsrc/www/firefox/work/build'
> gmake: *** [/home/vit/pkgsrc/www/firefox/work/firefox-141.0.2/config/rules.mk:359:
> all] Error 2
> *** Error code 2
>
> Stop.
> bmake[1]: stopped making "all" in /home/vit/pkgsrc/www/firefox
> *** Error code 1
>
> Stop.
> bmake: stopped making "all" in /home/vit/pkgsrc/www/firefox
> </OUTPUT>
>
> PK11SDR_EncryptWithMechanism is not declared. Maybe an openssl issue?
>
> On Fri, Aug 8, 2025 at 5:47 AM Ryo ONODERA <ryo%tetera.org@localhost> wrote:
> >
> > Hi,
> >
> > Vitaly Shevtsov <shev.vt1984%gmail.com@localhost> writes:
> >
> > > Hello!
> > >
> > > I can no longer build firefox from pkgsrc. It fails with this error:
> > > gmake[3]: Leaving directory
> > > '/home/user/pkgsrc/www/firefox/work/build/gfx/thebes'
> > > gmake[2]: Leaving directory '/home/user/pkgsrc/www/firefox/work/build'
> > > gmake[1]: *** [/home/user/pkgsrc/www/firefox/work/firefox-141.0.2/config/recurse.mk:34:
> > > compile] Error 2
> > > gmake[1]: Leaving directory '/home/user/pkgsrc/www/firefox/work/build'
> > > gmake: *** [/home/user/pkgsrc/www/firefox/work/firefox-141.0.2/config/rules.mk:359:
> > > all] Error 2
> > > *** Error code 2
> >
> > This part is not a real erroneous part.
> > You can find real error(s) in a upper part of your build log.
> >
> > Could you send me the real errors or full build log?
> >
> > > It started failing from firefox-140.0 or maybe when I updated NetBSD
> > > with a newer gcc 12.5.0.
> > > What can be the problem?
> >
> > On my NetBSD/amd64 11.99.1, I can build www/firefox-141.0.3 (this is
> > not committed yet) without any problem.
> > My NetBSD/amd64 11.99.1 has gcc-12.5.0 in base and I use it
> > to build www/firefox-141.0.3.
> >
> > Anyway, the real erroneous part in your log shows the root cause with me.
> >
> > Thank you.
> >
> > > Thanks,
> >
> > --
> > Ryo ONODERA // ryo%tetera.org@localhost
> > PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index