[Bug 592143] New: libsane.la references libgphoto2.la but sane-backends doesn't require libgphoto2-devel
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c0 Summary: libsane.la references libgphoto2.la but sane-backends doesn't require libgphoto2-devel Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: vuntz@novell.com QAContact: jsmeix@novell.com Found By: --- Blocker: --- /usr/lib/libsane.la contains this line: dependency_libs=' -L/lib -lieee1284 -ljpeg /usr/lib/libgphoto2.la /usr/lib/libgphoto2_port.la /usr/lib/libltdl.la -ldl -lexif -lm -lusb -lpthread' This means that our toolchain will look for libgphoto2.la when trying to build something depending on libsane. However, sane-backends (which contains libsane.la) doesn't depend on libgphoto2-devel, so the build will fail. I don't know if libgphoto2-devel is needed for anything else, but it's possible that it's not. In this case, just removing the .la file would be a simple fix. Btw, is there any reason to not have a libsane-devel subpackage? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |kde-maintainers@suse.de, | |lnussel@novell.com Component|Printing |Other InfoProvider| |meissner@novell.com QAContact|jsmeix@novell.com |qa@suse.de --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2010-04-28 09:43:32 UTC --- For openSUSE 11.3 I like to remove /usr/lib[64]/libsane.so and /usr/lib[64]/libsane.la from the sane-backends package regardless that it is unknown how whatever third-party scanning frontend may like to link with SANE (i.e. with the dll meta-backend which is currently /usr/lib[64]/libsane.so.1.0.20). At least the frontends which are provided by openSUSE /usr/bin/scanimage, /usr/bin/xsane, and /usr/bin/skanlite link with /usr/lib[64]/libsane.so.1 which is a symbolic link which ponts to the actual dll meta-backend library so that the openSUSE scanning frontends neither need /usr/lib[64]/libsane.so nor /usr/lib[643]/libsane.la. I don't know about libgphoto2. Marcus, do you need /usr/lib[64]/libsane.so and/or /usr/lib[64]/libsane.la? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c2 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|meissner@novell.com | --- Comment #2 from Marcus Meissner <meissner@novell.com> 2010-04-28 09:44:58 UTC --- actually libsane links against libgphoto , not the other way round. i removed the libgphoto2.la too now, and I think you can also remove the libsane.la to reduce such issues further. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED Severity|Normal |Minor -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Platform|Other |All Found By|--- |Development Resolution| |FIXED Target Milestone|--- |Milestone 7 OS/Version|Other |openSUSE 11.3 --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2010-04-28 11:20:38 UTC --- Submitted sane-backends to openSUSE:Factory via submitrequest 38993: "Removed HAL stuff (bnc#593946) and removed libsane.so and libsane.la (bnc#592143)" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c4 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Marcus Meissner <meissner@novell.com> 2010-04-28 11:25:59 UTC --- err, do not remove the .so file(s), but only the .la files! no programs will ever be able to link against libsane anymore in this case. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c5 --- Comment #5 from Ludwig Nussel <lnussel@novell.com> 2010-04-28 13:36:41 CEST --- the .so belongs into a devel package though -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2010-04-28 11:37:43 UTC --- There is or was a nice rpmlint check that complains that plain *.so files (without a trailing version number) are devel files (i.e. not needed for normal runtime operation). See comment #1: All our scanning frontends link with /usr/lib[64]/libsane.so.1 (note the trailing SANE major version '.1') which is a symbolic link which ponts to the actual dll meta-backend library like /usr/lib[64]/libsane.so.1.0.20 which has the full SANE version number. You could test it on any installed running system using # mv /usr/lib/libsane.so /usr/lib/libsane.so.away # mv /usr/lib/libsane.la /usr/lib/libsane.la.away and then check if your scanning applications still work. I still think it is correctly fixed. Of course please reopen if there is a program which links with /usr/lib[64]/libsane.so -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c7 --- Comment #7 from Marcus Meissner <meissner@novell.com> 2010-04-28 11:40:41 UTC --- of course they still work, the .so is used during building (not during runtime). it points to the .so.1 file -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c8 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #8 from Johannes Meixner <jsmeix@novell.com> 2010-04-28 11:47:17 UTC --- Oops! I missed to think about what is needed during building by other packages which need sane-backends to build. I will re-add /usr/lib[64]/libsane.so -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c9 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #9 from Johannes Meixner <jsmeix@novell.com> 2010-04-28 14:53:49 UTC --- I revoked submitrequest 38993 (see comment #3) and re-submitted sane-backends to openSUSE:Factory via submitrequest 39009 "Removed HAL stuff (bnc#593946) and removed libsane.la (bnc#592143)" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=592143 http://bugzilla.novell.com/show_bug.cgi?id=592143#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (592143) was mentioned in https://build.opensuse.org/request/show/39009 Factory / sane-backends -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com