Re: Problem compiling Chromium

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Mon, 8 Jun 2020 11:31:05 +0000 (UTC)
 Thank you,                  compile error follows:


[829/38881] python ../../chrome/test/chromedriver/embed_extension_in_cpp.py --dromedriver/chrome ../../chrome/test/chromedriver/extension/background.js ../../tension/manifest.json
FAILED: gen/chrome/test/chromedriver/chrome/embedded_automation_extension.cc gechrome/embedded_automation_extension.h 
python ../../chrome/test/chromedriver/embed_extension_in_cpp.py --directory genhrome ../../chrome/test/chromedriver/extension/background.js ../../chrome/test/fest.json
Traceback (most recent call last):
  File "../../chrome/test/chromedriver/embed_extension_in_cpp.py", line 11, in 
    import StringIO
ModuleNotFoundError: No module named 'StringIO'
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium

                  

    On Monday, June 8, 2020, 8:41:15 AM GMT+2, Kevin Oberman <rkoberman_at_gmail.com> wrote:  
 
 On Sun, Jun 7, 2020 at 9:49 AM bob prohaska <fbsd_at_www.zefox.net> wrote:

> Don't know about AMD, but on ARM failures that resemble this are
> common. In some cases the actual error message is tens or a hundred
> lines prior to the last make output.
>
> If you search for the string Error: or maybe error: does anything
> show up? Including the colon : helps to reduce irrelevant hits.
>
> Good luck,
>
> bob prohaska
>

The correct way to do this is to build aagain without doing a make clean
and with MAKE_JOBS_UNSAFE. This will use only a single build stream and the
error(s) will be at the end. The instructions after the failure mention
this, but not why. (Actually there are a couple of reasons.) Doing a make
clean will result in a build from the beginning and will take a very, very
long time in a single stream.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman_at_gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

>
> On Sun, Jun 07, 2020 at 04:27:24PM +0000, Filippo Moretti wrote:
> > Good evening,???????????????????????????????????????????????? FreeBSD
> sting 13.0-CURRENT FreeBSD 13.0-CURRENT #2 r361787: Sun Jun?? 7 15:02:09
> CEST 2020???????? root_at_sting:/usr/obj/usr/src/amd64.amd64/sys/STING??
> amd64
> >
> > the build fails with the following
> message/common/extensions/api/action.json
> ../../chrome/common/extensions/api/browser_action.json
> ../../chrome/common/extensions/api/browsing_data.json
> ../../chrome/common/extensions/api/extension.json
> ../../chrome/common/extensions/api/idltest.idl
> ../../chrome/common/extensions/api/page_action.json
> ../../chrome/common/extensions/api/top_sites.json
> > ninja: build stopped: subcommand failed.
> > ===> Compilation failed unexpectedly.
> > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure
> to
> > the maintainer.
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/ports/www/chromium
> >
> > ===>>> make build failed for www/chromium
> > ===>>> Aborting update
> >
> > I enclose the list of packages installedsincerelyFilippo
>
>
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscribe_at_freebsd.org"
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
_______________________________________________
freebsd-current_at_freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
  
Received on Mon Jun 08 2020 - 09:31:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC