Bug 242252 - www/qt5-webengine: fails to build on armv7
Summary: www/qt5-webengine: fails to build on armv7
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2019-11-26 17:14 UTC by Jan Beich
Modified: 2021-10-24 22:41 UTC (History)
1 user (show)

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


Attachments
error log (814.98 KB, text/plain)
2019-11-26 17:14 UTC, Jan Beich
no flags Details
qt5-webengine-5.15.2_4 armv7 build log (98.04 KB, text/plain)
2021-10-24 22:41 UTC, Robert Clausecker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-11-26 17:14:28 UTC
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"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Robert Clausecker 2021-10-24 22:41:09 UTC
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.