Bug 242742 - [PowerPC] www/qt5-webengine fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: lib/qt5/bin/qwebengine_convert_dict:No such file or directory
Summary: [PowerPC] www/qt5-webengine fails to build on FreeBSD 12.1-RELEASE-p1 32 bit:...
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 13:42 UTC by canardo
Modified: 2022-01-24 13:38 UTC (History)
3 users (show)

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


Attachments
build www/qt5-webengine error log (51.29 KB, text/plain)
2019-12-20 13:45 UTC, canardo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2019-12-20 13:42:54 UTC
Problem found when building www/qt5-webengine on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit, running on Apple Powerbook 17". 


# cd/usr/ports/www/qt5-webengine/
# make clean
===>  Cleaning for qt5-webengine-5.13.2
# make install clean
===>  License LGPL21 accepted by the user
===>   qt5-webengine-5.13.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-webengine-5.13.2 for building
===>  Extracting for qt5-webengine-5.13.2
=> SHA256 Checksum OK for KDE/Qt/5.13.2/qtwebengine-everywhere-src-5.13.2.tar.xz.
cp -f /usr/ports/www/qt5-webengine/files/freebsd.pri /usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.13.2/src/core/config/freebsd.pri
===>  Patching for qt5-webengine-5.13.2
===>  Applying FreeBSD patches for qt5-webengine-5.13.2
===>   qt5-webengine-5.13.2 depends on executable: bison - found
....
....
===>  Checking if qt5-webengine is already installed
===>   Registering installation for qt5-webengine-5.13.2
pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stage/usr/local/lib/qt5/bin/qwebengine_convert_dict:No such file or directory
pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stage/usr/local/include/qt5/QtWebEngine/5.13.2/QtWebEngine/private/qquickwebengineaction_p.h:No such file or directory
pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stage/usr/local/include/qt5/QtWebEngine/5.13.2/QtWebEngine/private/qquickwebengineaction_p_p.h:No such file or directory
.....
.....
pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stage/usr/local/share/qt5/translations/qtwebengine_locales/zh-CN.pak:No such file or directory
pkg-static: Unable to access file /usr/ports/www/qt5-webengine/work/stage/usr/local/share/qt5/translations/qtwebengine_locales/zh-TW.pak:No such file or directory
*** Error code 74

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

Stop.
make: stopped in /usr/ports/www/qt5-webengine


(full log attached)
Comment 1 canardo 2019-12-20 13:45:17 UTC
Created attachment 210083 [details]
build www/qt5-webengine error log
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2019-12-28 03:04:26 UTC
(In reply to canardo from comment #1)
www/qt5-webengine is powerpc64-only and only on head (won't run on 11 or 12).
Comment 3 canardo 2019-12-29 14:09:29 UTC
(In reply to Piotr Kubaj from comment #2)

O, I understand.
I guess it would be a nice improvement to display a message like "not available for powerpc but only for ..."
(I've already seen such message, but I don't remember the exact sentence).

Should/could this ticket be turned into an improvement request ?
Comment 4 Adriaan de Groot freebsd_committer freebsd_triage 2020-07-19 12:12:08 UTC
Qt 5.15 is supposed to build normally on PPC (thanks to Piotr), if there's 32-bit issues those should go into a suitable BROKEN_* . Piotr, is that something you can test? Or Canardo?
Comment 5 Piotr Kubaj freebsd_committer freebsd_triage 2020-07-19 12:26:30 UTC
Qt overall builds, but webengine doesn't due to Chromium itself not building. This is something that would actually require someone to work on full-time (it also doesn't work on Linux, so actual architecture port would be necessary). There is downstream ppc64le fork, but FreeBSD is currently big-endian (and this PR tracks anyway only ppc, which is big-endian only everywhere and webengine won't ever work on it, no matter the OS).

I guess you can close this issue now. In the future, if webengine dependency is only optional, it should be added only on amd64, i386 and maybe aarch64.
Comment 6 Adriaan de Groot freebsd_committer freebsd_triage 2022-01-24 13:38:24 UTC
Closing per Piotr's last comments: this isn't going to work (and meanwhile, 12.1 is no longer supported).