Created attachment 209454 [details] error log 5.13.0 built fine but 5.13.2 doesn't. I haven't tried 5.13.1. aarch64 is not affected. On the package cluster the error is hidden by bug 242251. ../../../../qtwebengine-everywhere-src-5.13.2/src/3rdparty/chromium/chrome/common/custom_handlers/protocol_handler.cc:10:10: fatal error: 'chrome/grit/generated_resources.h' file not found #include "chrome/grit/generated_resources.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 229007 [details] qt5-webengine-5.15.2_4 armv7 build log The port still doesn't build, but now the error message is a different, even more confusing one: [ 0% 6/21219] CXX obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o FAILED: obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o /usr/bin/c++ -B/usr/local/bin -MMD -MF obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o.d -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-attributes -Wno-unknown-pragmas -Wno-unknown-warning-option -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -no-canonical-prefixes -mfpu=vfpv3-d16 -marm -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -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-unused-const-variable -Wno-unused-function -Wno-parentheses-equality -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/third_party/double_conversion/double-conversion/bignum-dtoa.cc -o obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o ../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/third_party/double_conversion/double-conversion/bignum-dtoa.cc:28:10: fatal error: 'cmath' file not found #include <cmath> ^~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[4]: stopped in /wrkdirs/usr/ports/www/qt5-webengine/work/.build/src/core Would be nice if this could be fixed. The port is kinda important if you want KDE on armv7.
Are these issues still reproducible? If so: with which version(s) of FreeBSD, exactly?
(In reply to Graham Perrin from comment #2) The error still occurs on armv7 FreeBSD 13.1. I'll go ahead and try other systems.
(In reply to Robert Clausecker from comment #3) Thanks. If it saves you effort: there's very recent armv7-specific fallout (URL adapted from the uppermost fallout icon at <https://www.freshports.org/www/qt5-webengine/>) – I should have thought of this before my question in comment 2 …
Also fails on armv7 FreeBSD 12.3.
@fuz this is one I think you have to figure out on your own :(
I think a similar issue applied to qt6-webengine, until the use of pre-compiled headers was eliminated. Could it be that precompiled headers are also used for this port and their use is what causes these problems? Unfortunately I do not know enough about the build system or pre-compiled headers to know what would need to be changed to test the hypothesis.
(In reply to Robert Clausecker from comment #7) PCH usage is disabled by default [1] and we don't do anything locally to enable it. The build error in qt6-webengine (on aarch64) related to PCH being accidentally enabled (or rather ineffectively disabled) was: [ 48% 14110/29270] CXX obj/base/base/logging.o FAILED: obj/base/base/logging.o /usr/bin/c++ -MMD -MF obj/base/base/logging.o.d -DBASE_IMPLEMENTATION -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOPENSSL_NO_ASM -DUSE_SYSTEM_LIBEVENT=1 -DGLOG_EXPORT= -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I. -Igen -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../qtwebengine-everywhere-s rc-6.5.3/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/icu/source/common -I../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/third_party/icu/source/i18n -Wall -Wextra -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wimplicit-fallthrough -Wextra-semi -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-predefined-identifier-outside-function -Wno-unknown-pragmas -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-di agnostics -fmerge-all-constants -no-canonical-prefixes -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion -Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare -Wexit-time-destructors -Wglobal-constructors -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-parentheses-equality -Wno-tautological-compare -Wno-thread-safety-attributes -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -include obj/base/base/precompile.h-cc -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc -o obj/base/base/logging.o In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc:24: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/task/common/task_annotator.h:14: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/base_tracing.h:19: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/interned_args_helper.h:13: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event.h:28: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_log.h:30: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event_impl.h:17: ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_util.h:51:3: error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a value of unrelated type 'va_list' (aka 'std::__va_list') va_start(arguments, format); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start' #define va_start(ap, last) __builtin_va_start((ap), (last)) ^~~~ In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/logging.cc:24: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/task/common/task_annotator.h:14: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/base_tracing.h:19: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/interned_args_helper.h:13: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event.h:28: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_log.h:30: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/trace_event/trace_event_impl.h:17: ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_util.h:53:10: error: non-const lvalue reference to type '__builtin_va_list' cannot bind to a value of unrelated type 'va_list' (aka 'std::__va_list') va_end(arguments); ^~~~~~~~~ /usr/include/sys/_stdarg.h:51:40: note: expanded from macro 'va_end' #define va_end(ap) __builtin_va_end(ap) ^~ I don't think these problems are related. Since the attached build log is over 2 years old now, is the build still failing in the same way with <cmath> not being found with the latest qt5-webengine? Sorry, but I don't have the CPU time to test myself. [1] https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/buildtools/config/common.pri?h=5.15#n58
Created attachment 246649 [details] qt5-webengine-5.15.15.p11.log (armv7 FreeBSD 13.2) (In reply to Jason E. Hale from comment #8) Yes, the error is still of the same kind, see attached log. I was suggesting that because I dimly recalls that qt6-webengine was broken with the same cause a while ago.