| Summary: | www/chromium: build fail | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ivan Rozhuk <rozhuk.im> | ||||||||||||||
| Component: | Individual Port(s) | Assignee: | freebsd-chromium (Nobody) <chromium> | ||||||||||||||
| Status: | Closed Overcome By Events | ||||||||||||||||
| Severity: | Affects Some People | CC: | dave, iron.udjin, jrm, oleg.nauman, ps.ports, rozhuk.im | ||||||||||||||
| Priority: | --- | Keywords: | needs-qa | ||||||||||||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(chromium) |
||||||||||||||
| Hardware: | Any | ||||||||||||||||
| OS: | Any | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Ivan Rozhuk
2020-04-13 23:04:22 UTC
Thank you for the report. Could you please include: - A full build log, compressed if necessary, as an attachment please - Exact system information (uname -a) - Contents of /etc/make.conf (as an attachment) Created attachment 213387 [details]
build log
Created attachment 213388 [details]
make.conf
Created attachment 213389 [details]
make.conf
Created attachment 213390 [details]
make.conf
FreeBSD rimwks 12.1-STABLE FreeBSD 12.1-STABLE #0 r359913M: Tue Apr 14 08:14:03 MSK 2020 root@rimwks:/tmp/obj.kernel/usr/src/amd64.amd64/sys/RIM_WKS amd64
I'm observing the same issue on amd64 FreeBSD 13.0-CURRENT r359913: [2/34361] cc -MMD -MF obj/third_party/angle/src/third_party/volk/volk/volk.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=\"n340759-eaabaf7e-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVK_USE_PLATFORM_XCB_KHR -I../.. -Igen -I../../third_party/angle/src/third_party/volk -I../../third_party/angle/third_party/vulkan-headers/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 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -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 -Xclang -mllvm -Xclang --enable-global-merge=false -std=c11 -c ../../third_party/angle/src/third_party/volk/volk.c -o obj/third_party/angle/src/third_party/volk/volk/volk.o FAILED: obj/third_party/angle/src/third_party/volk/volk/volk.o cc -MMD -MF obj/third_party/angle/src/third_party/volk/volk/volk.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=\"n340759-eaabaf7e-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVK_USE_PLATFORM_XCB_KHR -I../.. -Igen -I../../third_party/angle/src/third_party/volk -I../../third_party/angle/third_party/vulkan-headers/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 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -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 -Xclang -mllvm -Xclang --enable-global-merge=false -std=c11 -c ../../third_party/angle/src/third_party/volk/volk.c -o obj/third_party/angle/src/third_party/volk/volk/volk.o clang (LLVM option parsing): Unknown command line argument '--enable-global-merge=false'. Try: 'clang (LLVM option parsing) --help' clang (LLVM option parsing): Did you mean '--enable-tail-merge=false'? Have the same issue on 12.1-STABLE r359804M Created attachment 213494 [details]
build patch
Build and run ok.
PS: what happen with chromium few releases ago: 24k files to build -> 38k files to build?
(In reply to rozhuk.im from comment #8) It fixed www/chromium build, thank you I found this bug searching for the same issue with www/iridium port. My ports tree is at revision 544178. Chromium built fine without the patch, but iridium failed as detailed in this bug, and after adding patch it built fine. Created attachment 217236 [details]
Patch to update Chromium to version 84.0.4147.125
Upstream has made changes similar to what's included rozhuk.im's build_patch. Could you try the patch I just attached against the latest ports tree? I have tested it on the latest version on 12.1-amd64 and 11.3-i386 with success, but don't have a 12-STABLE or CURRENT system to test with. There might be a separate build issue on CURRENT. I committed, so if you would like to test, you can just update your ports tree and try to rebuild (ideally in poudriere). I will close this as 'Overcome By Events', but please just re-open if it's still a problem. |