Bug 248412 - www/chromium fails to build on amd64 13-CURRENT
Summary: www/chromium fails to build on amd64 13-CURRENT
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-01 13:44 UTC by Cy Schubert
Modified: 2020-08-07 19:16 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer 2020-08-01 13:44:56 UTC
[13438/39307] python ../../mojo/public/tools/bindings/validate_typemap_config.py //ui/gfx/range/mojom/mojom:mojom /export/wrkdir/amd64/usr/ports/www/chromium/work/chromium-84.0.4147.105/out/Release/gen/ui/gfx/range/mojom/mojom.typemap_config /export/wrkdir/amd64/usr/ports/www/chromium/work/chromium-84.0.4147.105/out/Release/gen/ui/gfx/range/mojom/mojom.typemap_config.validated
[13439/39307] python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../ -I ../../ --bytecode_path gen/mojo/public/tools/bindings --filelist=__ui_gfx_range_mojom_mojom__generate_message_ids___build_toolchain_linux_clang_x64__rule..rsp --generate_non_variant_code --generate_message_ids -g c++ --scrambled_message_id_salt_path ../../chrome/VERSION
[13440/39307] touch obj/ui/gfx/range/mojom/mojom__generate_message_ids.stamp
[13441/39307] touch obj/ui/gfx/range/mojom/mojom__type_mappings__validator.stamp
[13442/39307] python ../../ui/gfx/x/gen_xproto.py /usr/local/share/xcb/bigreq.xml gen/ui/gfx/x/bigreq_undef.h gen/ui/gfx/x/bigreq.h gen/ui/gfx/x/bigreq.cc
FAILED: gen/ui/gfx/x/bigreq_undef.h gen/ui/gfx/x/bigreq.h gen/ui/gfx/x/bigreq.cc
python ../../ui/gfx/x/gen_xproto.py /usr/local/share/xcb/bigreq.xml gen/ui/gfx/x/bigreq_undef.h gen/ui/gfx/x/bigreq.h gen/ui/gfx/x/bigreq.cc
Traceback (most recent call last):
  File "../../ui/gfx/x/gen_xproto.py", line 1032, in <module>
    sys.exit(main())
  File "../../ui/gfx/x/gen_xproto.py", line 1026, in main
    generator.generate()
  File "../../ui/gfx/x/gen_xproto.py", line 996, in generate
    self.resolve()
  File "../../ui/gfx/x/gen_xproto.py", line 871, in resolve
    self.resolve_type(t, name)
  File "../../ui/gfx/x/gen_xproto.py", line 862, in resolve_type
    self.resolve_type(field.type, field.type.name)
  File "../../ui/gfx/x/gen_xproto.py", line 830, in resolve_type
    renamed = tuple(self.rename_type(t, name))
  File "../../ui/gfx/x/gen_xproto.py", line 367, in rename_type
    name[-1] += self.type_suffix(t)
  File "../../ui/gfx/x/gen_xproto.py", line 359, in type_suffix
    elif t.is_event:
AttributeError: 'SimpleType' object has no attribute 'is_event'
[13443/39307] python ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../ -I ../../ --bytecode_path gen/mojo/public/tools/bindings --filelist=__ui_gfx_range_mojom_mojom_shared__generator___build_toolchain_linux_clang_x64__rule..rsp --generate_non_variant_code -g c++
[13444/39307] c++ -MMD -MF obj/ui/gfx/range/range/range_f.o.d -DGFX_RANGE_IMPLEMENTATION -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"n353803-99ac9ce7-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -I../.. -Igen -I../../third_party/boringssl/src/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c ../../ui/gfx/range/range_f.cc -o obj/ui/gfx/range/range/range_f.o
[13445/39307] c++ -MMD -MF obj/ui/gfx/mojom/native_handle_types_shared_cpp_sources/native_handle_types.mojom-shared.o.d -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"n353803-99ac9ce7-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -I../.. -Igen -I../../third_party/boringssl/src/include -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -m64 -march=x86-64 -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c gen/ui/gfx/mojom/native_handle_types.mojom-shared.cc -o obj/ui/gfx/mojom/native_handle_types_shared_cpp_sources/native_handle_types.mojom-shared.o
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[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
Comment 1 Steve Wills freebsd_committer 2020-08-01 15:29:47 UTC
What version are you trying to build? I just built chromium-84.0.4147.105 on r363044.
Comment 2 Cy Schubert freebsd_committer 2020-08-01 15:39:03 UTC
PORTVERSION=    84.0.4147.105
$FreeBSD: head/www/chromium/Makefile 543833 2020-07-30 20:39:39Z rene $
Comment 3 Cy Schubert freebsd_committer 2020-08-07 19:16:14 UTC
Rebuilt correctly under poudriere. It must be something unique with my configuration, like multiple pythons installed.