[Bug 1045885] New: [gnomeapps] geany-plugins-1.30-42.3.src.rpm FTBFS
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885 Bug ID: 1045885 Summary: [gnomeapps] geany-plugins-1.30-42.3.src.rpm FTBFS Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: drankinatty@suddenlinkmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- geany-plugins-1.30-42.3.src.rpm Fails To Build From Source on x86_64 with the following rpm packaging error: Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/david/rpmbuild/BUILDROOT/geany-plugins-1.30-42.3.x86_64 error: Installed (but unpackaged) file(s) found: /usr/lib64/geany/console.py /usr/lib64/geany/demo.py /usr/lib64/geany/geanypy.so /usr/lib64/geany/geanypy/geany/__init__.py /usr/lib64/geany/geanypy/geany/__init__.pyc /usr/lib64/geany/geanypy/geany/console.py /usr/lib64/geany/geanypy/geany/console.pyc /usr/lib64/geany/geanypy/geany/logger.py /usr/lib64/geany/geanypy/geany/logger.pyc /usr/lib64/geany/geanypy/geany/plugin.py /usr/lib64/geany/geanypy/geany/plugin.pyc /usr/lib64/geany/geanypy/geany/signalmanager.py /usr/lib64/geany/geanypy/geany/signalmanager.pyc /usr/lib64/geany/hello.py Adding the following to the files section will resolve the issue %files ... %{_libdir}/geany/console.py %{_libdir}/geany/demo.py %{_libdir}/geany/geanypy.so %{_libdir}/geany/geanypy/geany/__init__.py %{_libdir}/geany/geanypy/geany/__init__.pyc %{_libdir}/geany/geanypy/geany/console.py %{_libdir}/geany/geanypy/geany/console.pyc %{_libdir}/geany/geanypy/geany/logger.py %{_libdir}/geany/geanypy/geany/logger.pyc %{_libdir}/geany/geanypy/geany/plugin.py %{_libdir}/geany/geanypy/geany/plugin.pyc %{_libdir}/geany/geanypy/geany/signalmanager.py %{_libdir}/geany/geanypy/geany/signalmanager.pyc %{_libdir}/geany/hello.py I have sent an e-mail direct to the last maintainer listed in the changelog of the .spec file, but I'll post the bug here on the off chance there has been a change in packagers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c1
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c2
David Rankin
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c3
Atri Bhattacharya
Created attachment 731685 [details] Geany spec used
I built with Gtk+2. The additional files just need packaging when building that way. I have attached the .spec file used (with updates)
(I didn't try with Gtk+3, Geany looks horrible with it -- that's why I'm building my own package -- to build with Gtk+2)
I don't understand how this is a bug: you are using some other specfile from somewhere else, so you are pretty much on your own here. Even so, if you just used the specfile from GNOME:Apps and replaced %define gtk3_enable 0 by %define gtk3_enable 1 and the gtk3 buildrequires with gtk2 ones, your package would build just fine. But this (i.e. building against gtk2) is not a scenario we want to support going forward. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c4
--- Comment #4 from David Rankin
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c5
David Rankin
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885
http://bugzilla.opensuse.org/show_bug.cgi?id=1045885#c6
Atri Bhattacharya
Created attachment 731869 [details] Geany PLUGINS spec used.
Before we close as invalid, let's make sure we understand the problem. I am NOT using a custom .spec from anywhere. This .spec came straight from:
geany-plugins-1.30-42.3.src.rpm
I did no more than you and changed the flag to build with gtk+2 and got the failure reported here.
Which flag is that? For geany-plugins the specfile from GNOME:Apps does not have a simple flag that you can toggle to switch from gtk3 to gtk2. The "%gtk3_enable" variable at the top is only intended to weed out plugins from the file-list that are still incompatible with gtk3. That's all. There is no intention going forward to support gtk2 builds for geany or geany-plugins at all. So this is still INVALID from the point of view of support. Just to note here that you can, by yourself, modify the spec file for both geany and geany-plugins to build against gtk2 (by modifying the BuildRequires etc). In that case, simply removing the condition checking in the file list "%if %{gtk3_enable}" should be enough to get the package building. But you are pretty much on your own if you go down that route. Sorry!
I think the confusion came from my attaching the WRONG spec. If you would look at the original you would see I attached the Geany .spec by mistake instead of the geany-plugins.spec (yes they are different) sorry.
Let's find out what the problem is before closing as Won't Fix at the earliest opportunity. Thanks.
Hope that clears up why this bug is invalid. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com