Opened 10 months ago
Closed 10 months ago
#21429 closed defect (fixed)
libportal need patch to build against qt 6.9+
| Reported by: | Zhang Wen | Owned by: | Douglas R. Reno |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.4 |
| Component: | BOOK | Version: | git |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by )
There's an upstream patch for this issue: https://github.com/flatpak/libportal/commit/796053d2eebe4532aad6bd3fd80cdf3b197806ec
Need someone to upload the patch to our patches repo.
Attachments (1)
Change History (9)
comment:1 by , 10 months ago
| Description: | modified (diff) |
|---|
by , 10 months ago
| Attachment: | 0001-qt6-fix-build-against-Qt-6.9.patch added |
|---|
follow-up: 3 comment:2 by , 10 months ago
| Priority: | normal → elevated |
|---|
follow-up: 4 comment:3 by , 10 months ago
| Priority: | elevated → normal |
|---|
comment:4 by , 10 months ago
comment:5 by , 10 months ago
| Type: | enhancement → defect |
|---|
comment:6 by , 10 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:7 by , 10 months ago
The complete error in question:
[35/53] Compiling C++ object libportal/libportal-qt6.so.1.0.0.p/portal-qt6.cpp.o
FAILED: libportal/libportal-qt6.so.1.0.0.p/portal-qt6.cpp.o
c++ -Ilibportal/libportal-qt6.so.1.0.0.p -Ilibportal -I../libportal -I. -I.. -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/
blkid -I/usr/include/gio-unix-2.0 -I/opt/qt6/include/QtCore -I/opt/qt6/include -I/opt/
qt6/mkspecs/linux-g++ -I/opt/qt6/include/QtCore/6.9.0 -I/opt/qt6/include/QtCore/6.9.0/
QtCore -I/opt/qt6/include/QtGui -I/opt/qt6/include/QtGui/6.9.0 -I/opt/qt6/include/
QtGui/6.9.0/QtGui -I/opt/qt6/include/QtWidgets -I/opt/qt6/include/QtWidgets/6.9.0 -I/
opt/qt6/include/QtWidgets/6.9.0/QtWidgets -fvisibility=hidden -fdiagnostics-color=always
-D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -fPIC -
DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -pthread -std=c++17 -MD -MQ libportal/
libportal-qt6.so.1.0.0.p/portal-qt6.cpp.o -MF libportal/libportal-qt6.so.1.0.0.p/portal-
qt6.cpp.o.d -o libportal/libportal-qt6.so.1.0.0.p/portal-qt6.cpp.o -c ../libportal/
portal-qt6.cpp
../libportal/portal-qt6.cpp:34:10: fatal error: private/qgenericunixservices_p.h: No
such file or directory
34 | #include <private/qgenericunixservices_p.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
comment:8 by , 10 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at 5fe4ab54aa8d98642c13510804ba50a42d97dab4
Thank you for the report!
Note:
See TracTickets
for help on using tickets.

Replying to Zhang Wen:
Please don't do that just because you think the issue is important. Elevating the priority has a very specific meaning here, i.e. a security vulnerability.