pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x11/qt6-qtbase fails w/o cups option



On Sun, 3 Sep 2023 23:26:32 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:

> I have PKG_DEFAULT_OPTIONS -cups set and this makes
> x11/qt6-qtbase fail to build:
> 
> => Checking file-check results for qt6-qtbase-6.5.2nb1
> ERROR: ************************************************************
> ERROR: The following files are in the PLIST but not in
> /usr/pkgobj/x11/qt6-qtbase/work/.destdir/usr/pkg: ERROR:
> /usr/pkgobj/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/lib/cmake/Qt6PrintSupport/Qt6PrintSupportPlugins.cmake
> ERROR: ************************************************************
> ERROR: The following files are in
> /usr/pkgobj/x11/qt6-qtbase/work/.destdir/usr/pkg but not in the
> PLIST: ERROR:
> /usr/pkgobj/x11/qt6-qtbase/work/.destdir/usr/pkg/qt6/include/QtPrintSupport/6.5.2/QtPrintSupport/private/qpagesetupdialog_unix_p.h
> 
> 
> PLIST vars accidently lost during update?

Not really, but Qt6PrintSupportPlugins.cmake has PLIST.x11(aka not
macos) before it and qpagesetupdialog_unix_p.h has PLIST.cups(cups
plugin built). According to the Qt6 sources qpagesetupdialog_unix_p.h
is installed when "UNIX AND NOT APPLE" so it should have PLIST.x11.
Qt6PrintSupportPlugins.cmake is only installed if any print plugin is
installed. Since cups is the only one built it should have PLIST.cups.
I committed a fix for this, so update and enjoy.

/Niclas



Home | Main Index | Thread Index | Old Index