Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903187 - dev-qt/qtgui-5.15.8-r4: fatal error: QtCore/qsystemdetection.h: No such file or directory
Summary: dev-qt/qtgui-5.15.8-r4: fatal error: QtCore/qsystemdetection.h: No such file ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard: INSTALL_MASK
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 11:01 UTC by stefan11111
Modified: 2023-03-28 10:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stefan11111 2023-03-27 11:01:08 UTC
dev-qt/qtgui-5.15.8-r4 fails to build
Here is the build.log:
https://github.com/stefan11111/pastebin/blob/main/build.log
Here are the USE flags:

[ebuild     U ] dev-qt/qtgui-5.15.8-r4 [5.15.8-r3] USE="X -accessibility -dbus -debug -egl -eglfs -evdev -gles2-only -ibus -jpeg -libinput -linuxfb -png -test -tslib -tuio -udev -vnc -vulkan -wayland"

Here is the emerge --info:
https://github.com/stefan11111/pastebin/blob/main/info
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 11:05:28 UTC
Please attach the full build.log and emerge --info here rather than giving external links.
Comment 2 Ionen Wolkens gentoo-dev 2023-03-27 11:14:51 UTC
>INSTALL_MASK="*systemd* *udev* *tmpfiles*"

qsystemdetection.h has "systemd" in it
Comment 3 Andreas Sturmlechner gentoo-dev 2023-03-27 11:17:30 UTC
pro move.
Comment 4 stefan11111 2023-03-27 11:54:20 UTC
Downloading the header and moving to a looser INSTALL_MASK fixed the issue.
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* *tmpfiles*"
What package does that header belong to though?
And is it possible to still use the old behavior, but exclude only that header?
Comment 5 Andreas Sturmlechner gentoo-dev 2023-03-27 12:44:24 UTC
You don't expect more issues like that?

# equery b qsystemdetection.h
 * Searching for qsystemdetection.h ... 
dev-qt/qtcore-5.15.8-r4 (/usr/include/qt5/QtCore/qsystemdetection.h)
Comment 6 stefan11111 2023-03-28 08:01:06 UTC
(In reply to Andreas Sturmlechner from comment #5)
> You don't expect more issues like that?
> 
> # equery b qsystemdetection.h
>  * Searching for qsystemdetection.h ... 
> dev-qt/qtcore-5.15.8-r4 (/usr/include/qt5/QtCore/qsystemdetection.h)

I ran this command to test it:
emergeall -e @world --exclude librewolf --exclude gcc --exclude dev-qt/qtgui --exclude clang --exclude llvm
Where emergeall is an alias:
alias startx="xinit -- vt$(tty | sed -e 's|/dev/tty||')"
I didn't recompile those programs as qtgui is the only one I found not to work, and I don't have any *systemd* files from those pther apps, whose compile times would exceed the compile time of the rest of my system.
The only package that failed to build was scrot, which failed with a linker error to imlib2.
So I don't expect any more issues from that mask.
The scrot issue seems related to this:
https://bugs.gentoo.org/902077
Everything happens just like that issue.
Scrot builds with media-libs/imlib2-1.9.1-r1, but not with media-libs/imlib2-1.11.0.
Should I open another bu for this one or just continue here?
Comment 7 stefan11111 2023-03-28 10:53:50 UTC
(In reply to stefan11111 from comment #6)
> Where emergeall is an alias:
> alias startx="xinit -- vt$(tty | sed -e 's|/dev/tty||')"
Wrong alias:
alias emergeall="rdo emerge --deep --update --newuse --verbose --ask --keep-going --autounmask-write --with-bdeps=y"