Bug 277287 - x11-toolkits/qt5-widgets fails to stage
Summary: x11-toolkits/qt5-widgets fails to stage
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-24 23:28 UTC by void
Modified: 2024-02-25 22:11 UTC (History)
2 users (show)

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


Attachments
x11-toolkits/qt5-widgets: Restore build phase, stage (944 bytes, patch)
2024-02-25 13:24 UTC, Alastair Hogge
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description void 2024-02-24 23:28:05 UTC
[00:00:00] =>> Building x11-toolkits/qt5-widgets
[00:00:00] build started at Sat Feb 24 23:02:54 GMT 2024
[00:00:00] port directory: /usr/ports/x11-toolkits/qt5-widgets
[00:00:00] package name: qt5-widgets-5.15.12p148

[00:00:00] maintained by: kde@FreeBSD.org
[00:00:00] Makefile datestamp: -rw-r--r--  1 root wheel 1809 Dec 11 17:52 /usr/ports/x11-toolkits/qt5-widgets/Makefile
[00:00:00] Ports top last git commit: 7fab46a7b130
[00:00:00] Ports top unclean checkout: no
[00:00:00] Port dir last git commit: dc0598983465
[00:00:00] Port dir unclean checkout: no
[00:00:00] Poudriere version: poudriere-git-3.4.99.20240122
[00:00:00] Host OSVERSION: 1400509
[00:00:00] Jail OSVERSION: 1400509
[00:00:00] Job Id: 01

build fails in phase: stage

[00:02:27] echo "# define QT_ACCESSIBILITY"  >> /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/include/qt5/QtCore/modules/qconfig-widgets.h
[00:02:27] echo "# define QT_WIDGETS"  >> /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/include/qt5/QtCore/modules/qconfig-widgets.h
[00:02:27] echo "# define QT_XSYNC"  >> /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/include/qt5/QtCore/modules/qconfig-widgets.h
[00:02:27] echo "QT_CONFIG += accessibility accessibility-atspi-bridge xlib"  > /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/lib/qt5/mkspecs/modules/qt_config_widgets.pri
[00:02:27] /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.12p148/bin/qmake -install qinstall -exe ../../../bin/uic /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/lib/qt5/bin/uic
[00:02:27] strip /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/lib/qt5/bin/uic
[00:02:27] /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.12p148/bin/qmake -install qinstall -exe ../../../bin/uic /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/lib/qt5/bin/uic
[00:02:27] strip /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/lib/qt5/bin/uic
[00:02:27] install  -m 0644 /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/kde-qtbase-5.15.12p148/src/widgets/dialogs/images/qtlogo-64.png  /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/share/pixmaps/qt5logo.png
[00:02:27] install: /wrkdirs/usr/ports/x11-toolkits/qt5-widgets/work/stage/usr/local/share/pixmaps/qt5logo.png: No such file or directory
[00:02:27] *** Error code 71
[00:02:27] 
[00:02:27] Stop.
[00:02:27] make: stopped in /usr/ports/x11-toolkits/qt5-widgets
[00:02:46] =>> Cleaning up wrkdir
[00:02:46] ===>  Cleaning for qt5-widgets-5.15.12p148
[00:02:46] build of x11-toolkits/qt5-widgets | qt5-widgets-5.15.12p148 ended at Sat Feb 24 23:05:41 GMT 2024
Comment 1 Alastair Hogge 2024-02-25 13:24:27 UTC
Created attachment 248730 [details]
x11-toolkits/qt5-widgets: Restore build phase, stage

I added

> ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/

to the Makefile, before installing the .png to restore the build.
Comment 2 Charlie Li freebsd_committer freebsd_triage 2024-02-25 16:21:56 UTC
The real problem, a missing closing delimiter that prevented ${PREFIX}/share/pixmaps from being created, was fixed in ports 5cd70cb3b790012a0ba43c12fb0ceafe5bec2ab4.
Comment 3 Alastair Hogge 2024-02-25 22:11:44 UTC
(In reply to Charlie Li from comment #2)

Thanks, updating past that commit restores the build for me.