Hide Forgot
Created attachment 1122501 [details] build.log Description of problem: Package lximage-qt fails to build from source in rawhide. Version-Release number of selected component (if applicable): 0.4.0-5.fc24 Steps to Reproduce: koji build --scratch f24 lximage-qt-0.4.0-5.fc24.src.rpm Additional info: This package is tracked by Koschei. See: https://apps.fedoraproject.org/koschei/package/lximage-qt Relevant part of build.log (see attachment for full log): + for desktop in '/builddir/build/BUILDROOT/lximage-qt-0.4.0-5.fc24.i386//usr/share/applications/*.desktop' + desktop-file-edit --remove-category=LXQt --remove-only-show-in=LXQt --add-only-show-in=X-LXQt /builddir/build/BUILDROOT/lximage-qt-0.4.0-5.fc24.i386//usr/share/applications/lximage-qt-screenshot.desktop Error on file "/builddir/build/BUILDROOT/lximage-qt-0.4.0-5.fc24.i386//usr/share/applications/lximage-qt-screenshot.desktop": Key file contains line 'Binary file /builddir/build/BUILD/lximage-qt-0.4.0/src/translations/lximage-qt-screenshot_pt.desktop matches' which is not a key-value pair, group, or comment
Reproducible. Moving over to desktop-file-utils as there are or may be more packages affected. Is it somehow related to the gcc6 rebuild?
*** Bug 1306001 has been marked as a duplicate of this bug. ***
+ for desktop in '/builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/*.desktop' /builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/lxqt-compton.desktop + echo /builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/lxqt-compton.desktop + cat /builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/lxqt-compton.desktop [Desktop Entry] Type=Application Name=Compton (X Compositor) GenericName=X compositor Comment=A X compositor TryExec=compton Exec=compton --dbus # turned off by default Hidden=true OnlyShowIn=LXQt; X-LXQt-Module=true Name[de]=Compton (X11 Kompositionsmanager) GenericName[de]=X11 Kompositionsmanager Binary file /builddir/build/BUILD/lxqt-common-0.10.0/autostart/translations/lxqt-compton_de.desktop matches Binary file /builddir/build/BUILD/lxqt-common-0.10.0/autostart/translations/lxqt-compton_el.desktop matches Name[pt]=Compton (Compositor X) GenericName[pt]=Compositor X Comment[pt]=Compositor para o servidor X RPM build errors: + desktop-file-edit --remove-only-show-in=LXQt --add-only-show-in=X-LXQt /builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/lxqt-compton.desktop Error on file "/builddir/build/BUILDROOT/lxqt-common-0.10.0-8.fc24.noarch/etc/xdg/autostart/lxqt-compton.desktop": Key file contains line 'Binary file /builddir/build/BUILD/lxqt-common-0.10.0/autostart/translations/lxqt-compton_de.desktop matches' which is not a key-value pair, group, or comment see http://koji.fedoraproject.org/koji/taskinfo?taskID=12917666
I think it comes down to /usr/share/cmake/lxqt/modules/LXQtTranslateDesktop.cmake from liblxqt-devel For some reason the lxqt_translate_desktop function there is producing bad output on rawhide.
My best guess: the calls to grep are failing now with rawhide's grep-2.23, maybe liblxqt should use 'grep -a' or 'grep --text' to force it to assume text input
Let's see if that helps http://koji.fedoraproject.org/koji/taskinfo?taskID=12918298
https://koji.fedoraproject.org/koji/taskinfo?taskID=12918468 that did the trick.
Thank you!
This bug still exists for lximage-qt, since the new grep version was introduced into rawhide.
*** This bug has been marked as a duplicate of bug 1307006 ***
For the record, they've fixed it upstream: https://github.com/lxde/liblxqt/commit/082321a1a513b5fb694ca60e368eddd57b58f433