Note that building with a polluted path or library path can cause this package to fail to build. For example,
/usr/bin/ld.gold: error: cannot open /home/samueldy/miniconda3/envs/python-email/bin/../x86_64-conda_cos6-linux-gnu/sysroot/usr/lib64/libGL.so: No such file or directory
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:102: ../../../../plugins/styles/libqgtk2style.so] Error 1
make[4]: Leaving directory '/home/samueldy/.cache/yay/qt5-styleplugins/src/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles/gtk2'
make[3]: *** [Makefile:151: sub-gtk2-make_first] Error 2
make[3]: Leaving directory '/home/samueldy/.cache/yay/qt5-styleplugins/src/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins/styles'
make[2]: *** [Makefile:73: sub-styles-make_first] Error 2
make[2]: Leaving directory '/home/samueldy/.cache/yay/qt5-styleplugins/src/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src/plugins'
make[1]: *** [Makefile:47: sub-plugins-make_first] Error 2
make[1]: Leaving directory '/home/samueldy/.cache/yay/qt5-styleplugins/src/qtstyleplugins-335dbece103e2cbf6c7cf819ab6672c2956b17b3/src'
make: *** [Makefile:47: sub-src-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: qt5-styleplugins
This happens because I tried to build in a shell with a Conda environment activated.
Pinned Comments
yrlf commented on 2020-09-12 18:03 (UTC) (edited on 2022-06-22 15:28 (UTC) by yrlf)
Quick reminder: Qt 5.15.5 has been released; Users of this package will need to rebuild qt5-styleplugins (
yay -S --rebuild qt5-styleplugins
), otherwise Qt applications will crash.The pkgrel of this package has been bumped so this should be done automatically by your AUR helper.