Bug 266378 - x11-toolkits/qt5-widgets build failure - qxcbwindowfunctions.h file not found
Summary: x11-toolkits/qt5-widgets build failure - qxcbwindowfunctions.h file not found
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-12 11:30 UTC by f451
Modified: 2022-09-12 12:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description f451 2022-09-12 11:30:02 UTC
Hello, x11-toolkits/qt5-widgets fails to build in poudriere

OS is main-n257818

environment is

[00:00:01] Makefile datestamp: -rw-r--r--  1 root  wheel  1810 Sep 11 17:44 /usr/ports/x11-toolkits/qt5-widgets/Makefile
[00:00:01] Ports top last git commit: 679b9e2f4
[00:00:01] Ports top unclean checkout: no
[00:00:02] Port dir last git commit: 569e7ff7b
[00:00:02] Port dir unclean checkout: no
[00:00:02] Poudriere version: poudriere-git-3.3.99.20220831
[00:00:02] Host OSVERSION: 1400066
[00:00:02] Jail OSVERSION: 1400066
[00:00:02] Job Id: 01

build fails here

[00:01:38] --- ../../lib/metatypes/qt5widgets_metatypes.json ---
[00:01:38] /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.5p165/bin/qmake -install qinstall /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.5p165/src/widgets/qt5widgets_metatypes.json ../../lib/metatypes/qt5widgets_metatypes.json
[00:01:39] --- .obj/qwidget.o ---
[00:01:39] kernel/qwidget.cpp:112:10: fatal error: 'QtPlatformHeaders/qxcbwindowfunctions.h' file not found
[00:01:39] #include <QtPlatformHeaders/qxcbwindowfunctions.h>
[00:01:39]          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:01:39] 1 error generated.
[00:01:39] *** [.obj/qwidget.o] Error code 1
[00:01:39] 
[00:01:39] make[1]: stopped in /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.5p165/src/widgets
[00:01:39] 1 error
[00:01:39] 
[00:01:39] make[1]: stopped in /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.5p165/src/widgets
[00:01:39] ===> Compilation failed unexpectedly.

I can provide the whole buildlog if required. Not been able to run testport just yet as poudriere
hasn't finished.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-09-12 11:33:47 UTC
(In reply to f451 from comment #0)

You likely built qt5-gui without X11 support.
Comment 2 f451 2022-09-12 12:34:29 UTC
(In reply to Tobias C. Berner from comment #1)

you're right!

sorry for the noise