pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building FFox



I set MAKE_JOBS=1 # I have 64GB RAM

I then did make unde emacs. I GOT:

_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT
-D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT
-D_REENTRANT -pthread
-I/usr/pkgsrc/www/firefox91/work/build/dist/include/cairo
-Werror=switch  -MD -MP -MF .deps/Unified_cpp_webrender_bindings1.o.pp
  Unified_cpp_webrender_bindings1.cpp
In file included from Unified_cpp_webrender_bindings1.cpp:11:
/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/gfx/webrender_bindings/WebRenderAPI.cpp:
In member function 'mozilla::wr::WrClipChainId
mozilla::wr::DisplayListBuilder::DefineClipChain(const
nsTArray<mozilla::wr::WrClipId>&, bool)':
/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/gfx/webrender_bindings/WebRenderAPI.cpp:1052:51:
error: 'ROOT_CLIP_CHAIN' is not a member of 'mozilla::wr'
 1052 |       mCurrentSpaceAndClipChain.clip_chain != wr::ROOT_CLIP_CHAIN) {
      |                                                   ^~~~~~~~~~~~~~~
In file included from Unified_cpp_webrender_bindings1.cpp:20:
/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/gfx/webrender_bindings/WebRenderTypes.cpp:
In function 'mozilla::wr::WrSpaceAndClipChain
mozilla::wr::RootScrollNodeWithChain()':
/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/gfx/webrender_bindings/WebRenderTypes.cpp:86:25:
error: 'ROOT_CLIP_CHAIN' is not a member of 'mozilla::wr'
   86 |   sacc.clip_chain = wr::ROOT_CLIP_CHAIN;
      |                         ^~~~~~~~~~~~~~~
gmake[3]: *** [/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/config/rules.mk:676:
Unified_cpp_webrender_bindings1.o] Error 1
gmake[3]: Leaving directory
'/usr/pkgsrc/www/firefox91/work/build/gfx/webrender_bindings'
gmake[2]: *** [/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/config/recurse.mk:72:
gfx/webrender_bindings/target-objects] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox91/work/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/config/recurse.mk:34:
compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox91/work/build'
gmake: *** [/usr/pkgsrc/www/firefox91/work/firefox-91.13.0/config/rules.mk:355:
all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox91
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox91
gandalf#



OKAYYYYYYYYY. Now what?
Do this in ./www/firefox, instead of the dir ./www/firefox91  ?

On Wed, Oct 26, 2022 at 7:04 AM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
>
>
> On 26 October 2022 11:00:16 (+01:00), Benny Siegert wrote:
>
>  > On Wed, Oct 26, 2022 at 3:36 AM Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
>  > >
>  > > I tried to make ./www/firefox91. It croaked.
>  > >
>  > > What is everyone building? Just use ,./www/firefox (no 91) ?
>  >
>  > Yes, that's the newest one.
>  >
>  > I recently built 91, 102 and the latest, they all worked fine.
>  >
>  > Depending on how much RAM you have, you may need to run with fewer
>  > MAKE_JOBS, e.g. MAKE_JOBS=2 for 8G or less. There are occasionally
>  > issues where a random compile process in Firefox crashes for various
>  > reasons, just try continuing (re-run make package-install) when that
>  > happens. It's only a problem if the error is the same on retries :)
> On a tangent, yesterday evening I tried to build the latest firefox and got
> a cargo error stating that I have multiple NJOBS settings on the command
> line, apparently not acceptable by cargo. I had MAKE_JOBS=1 (for some
> reason - that's another question) in my /etc/mk.conf; when I took it away,
> the build carried over.
>
>
> --
> ----
> Chavdar Ivanov


Home | Main Index | Thread Index | Old Index