https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/nulloy-0.9.3 installs pre-stripped files. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 789989 [details] build.log build log and emerge --info
This link it dead. I do not understand - what is the problem? What is pre-stripped files mean? What should I fix?
(In reply to Vitaly Zdanevich from comment #2) > I do not understand - what is the problem? What is pre-stripped files mean? > What should I fix? It means, the build process strips the binaries from most of the symbols. This should not be done by the build tools, because portage does it when the install phase is run to be able to support the `splitdebug` and `installsources` FEATURES. Look for `-s` flag passed to the compiler or linker and remove it from the build files.
There is no `-s` in the ebuild, I will ask the author of the Nulloy.
Created issue https://github.com/nulloy/nulloy/issues/200
make[1]: Entering directory '/var/tmp/portage/media-sound/nulloy-0.9.3/work/nulloy-0.9.3/src/plugins/gstreamer' /usr/bin/qmake5 -install qinstall -exe ../../../plugins/libplugin_gstreamer.so /var/tmp/portage/media-sound/nulloy-0.9.3/image/usr/lib64/nulloy/plugins/libplugin_gstreamer.so strip --strip-unneeded /var/tmp/portage/media-sound/nulloy-0.9.3/image/usr/lib64/nulloy/plugins/libplugin_gstreamer.so The qmake install target strips the binaries.
See also https://doc.qt.io/qt-5/qmake-variable-reference.html#installs on how to disable it.
What can you recommend to add to the ebuild?
I would try to patch the nulloy.pro file and change CONFIG += ordered into CONFIG += ordered nostrip. Another way has been shown by the upstream dev in the issue you have opened. Another thing, I've noticed when looking at the build log and the src/src.pri file is: Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point. Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned! and QT += core-private IIRC you need to add the slot operator on qtcore in that case, to ensure a rebuild is triggered on qtcore updates. But better ensure this is true by asking the qt project devs in #gentoo-qt.
What Bernd said, but also grep for examples using qmake in the gentoo repo.
(In reply to Bernd from comment #9) > I would try to patch the nulloy.pro file and change CONFIG += ordered into > CONFIG += ordered nostrip Tried this in this commit https://github.com/gentoo/guru/commit/ceafffcacd1fe1fe14c1e4b1ad52662f97a96eaf but after compilation I still see * QA Notice: Pre-stripped files found: * /usr/bin/nulloy * /usr/lib64/nulloy/plugins/libplugin_gstreamer.so Hm, why?
I'm not much used to qmake, it's "+=" syntax for settings and how it propagates these settings. Maybe you need to add it in other files, like src/src.pr{i,o} and/or src/plugins/plugin.pr{i,o}, src/plugins/pluginGstreamer/pluginGstreamer.pro? The comment should just give you an idea of where to possibly start looking for potential fixes.
Fixed here https://github.com/gentoo/guru/commit/fde97c7e5637424e146fba67974862ca33ad6f87