#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 Zhang Wen)

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)

0001-qt6-fix-build-against-Qt-6.9.patch (1.4 KB ) - added by Zhang Wen 10 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Zhang Wen, 10 months ago

Description: modified (diff)

comment:2 by Zhang Wen, 10 months ago

Priority: normalelevated

in reply to:  2 ; comment:3 by Xi Ruoyao, 10 months ago

Priority: elevatednormal

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.

in reply to:  3 comment:4 by Zhang Wen, 10 months ago

Replying to Xi Ruoyao:

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.

I see, thanks.

comment:5 by Xi Ruoyao, 10 months ago

Type: enhancementdefect

comment:6 by Douglas R. Reno, 10 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:7 by Douglas R. Reno, 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 Douglas R. Reno, 10 months ago

Resolution: fixed
Status: assignedclosed

Fixed at 5fe4ab54aa8d98642c13510804ba50a42d97dab4

Thank you for the report!

Note: See TracTickets for help on using tickets.