[Bug 894331] New: multimedia:libs/glew: baselibs.conf is wrong
https://bugzilla.novell.com/show_bug.cgi?id=894331 https://bugzilla.novell.com/show_bug.cgi?id=894331#c0 Summary: multimedia:libs/glew: baselibs.conf is wrong Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: sbrabec@suse.com ReportedBy: johannesobermayr@gmx.de QAContact: opensuse-communityscreening@forge.provo.novell.com CC: christian.morales.vega@gmail.com Found By: --- Blocker: --- -glew -glew-devel -libGLEW1_9 +libGLEW* glew and glew-devel don't have to be -32bit ... $ sudo zypper in pcsx2 root's password: Repository-Daten werden geladen... Installierte Pakete werden gelesen... Paketabhängigkeiten werden aufgelöst... Problem: pcsx2-1.2.1+git20140830.2018-1.1.i586 benötigt libGLEW.so.1.10, kann jedoch nicht zur Verfügung gestellt werden Deinstallierbare Anbieter: libGLEW1_10-1.10.0-1.2.i586[openSUSE-Factory] Lösung 1: Folgende Aktionen werden ausgeführt: libGLEW1_10-1.10.0-1.2.i586 trotz der nachrangigen Architektur installieren Architekturwechsel von libGLEW1_10-1.10.0-1.2.x86_64 zu libGLEW1_10-1.10.0-1.2.i586 1. leads to changing libreoffice to i586 on my x86_64 ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c1
--- Comment #1 from Johannes Obermayr
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c2
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c4
Johannes Obermayr
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c5
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c6
Johannes Obermayr
Who needs glew and glew-devel for what? Buildroots don't and others shouldn't need them ... (In reply to comment #5) glew-devel is required for example for building of hugin, enblend-enfuse, blender, calligra...
The topic is about -32bit packages created by baselibs.conf, not glew at all. I cannot find any package on OBS/Packman which needs glew's -32bit packages for building. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c7
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c8
Adam Mizerski
Who needs glew and glew-devel for what? Buildroots don't and others shouldn't need them ...
glew in baselibs.conf is not needed. glew-devel-32bit is needed by anyone who wants to compile a 32bit application on 64bit system (using 32bit glew ofc). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c9
Johannes Obermayr
(In reply to comment #4) glew-devel-32bit is needed by anyone who wants to compile a 32bit application on 64bit system (using 32bit glew ofc). Who is doing that? I assume most will use i586 chroot (osc) for that. It only creates symlinks: /usr/lib/*.so -> /usr/lib/*.so.*
$ rpm -ql glew-devel-32bit /usr/lib/libGLEW.so /usr/lib/libGLEWmx.so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c10
--- Comment #10 from Adam Mizerski
Who is doing that?
Why do you care? Someone is. Allow him to do so.
I assume most will use i586 chroot (osc) for that. It only creates symlinks: /usr/lib/*.so -> /usr/lib/*.so.*
"Most" don't even have osc installed or any idea how to use it. Does it really bothers you that we're enabling devel-32bit package? In case of glew it's only a symlink, but in other packages it's also pkg-config files and maybe something else. And if you look at output of "zypper se devel-32bit" you'll find that many other packages like this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c11
--- Comment #11 from Johannes Obermayr
Who is doing that?
Why do you care? Someone is. Allow him to do so.
Wow. Even you don't know for whom you added this "feature".
I assume most will use i586 chroot (osc) for that. It only creates symlinks: /usr/lib/*.so -> /usr/lib/*.so.*
"Most" don't even have osc installed or any idea how to use it.
Does it really bothers you that we're enabling devel-32bit package? In case of glew it's only a symlink, but in other packages it's also pkg-config files and
Next wow: foo-devel-32bit.x86_64.rpm (installed) /usr/lib/pkgconfig/foo.pc: libdir=/usr/lib/foo foo-devel.x86_64.rpm (also installed) /usr/lib64/pkgconfig/foo.pc: libdir=/usr/lib64/foo $ pkg-config --libs-only-L foo -> /usr/lib64/foo
maybe something else. And if you look at output of "zypper se devel-32bit" you'll find that many other packages like this.
As you see above you may introduce other issues by providing devel-32bit packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c12
--- Comment #12 from Adam Mizerski
As you see above you may introduce other issues by providing devel-32bit packages.
The issue is about that someone updated the package and forgot to update the baselibs.conf file. Therefore there was 64 bit libGLEW1_10, but there was no libGLEW1_10-32bit. This made the package manager to propose the change of the architecture of packages. The devel-32bit package has nothing to do with the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c13
--- Comment #13 from Johannes Obermayr
(In reply to comment #11)
As you see above you may introduce other issues by providing devel-32bit packages.
The issue is about that someone updated the package and forgot to update the baselibs.conf file. [...] The devel-32bit package has nothing to do with the issue.
Nope. The issue is about: "multimedia:libs/glew: baselibs.conf is wrong -glew -glew-devel -libGLEW1_9 +libGLEW* glew and glew-devel don't have to be -32bit ..." Where we (namely I) pointed out: "Just found out /usr/lib/build/mkbaselibs cannot handle "*". So it must be "libGLEW1_10" and adapted each time ..." You committed: " glew glew-devel -libGLEW1_9 +libGLEW1_10" So we are still discussing glew(-32bit) and glew-devel(-32bit). Where the first one was agreed: "glew in baselibs.conf is not needed." We are now at the point whether it makes sense to have -devel-32bit packages (at all). There we (again I) pointed out -devel-32bit packages can lead to other issues (e. g. libdir determination via pkg-config [not for glew-devel]) and nobody is raising a hand to require glew-devel-32bit package under all circumstances. So I am voting to begin with removing useless glew-32bit and glew-devel-32bit package. "Sometimes less (not required packages) is more." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c14
--- Comment #14 from Adam Mizerski
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c15
--- Comment #15 from Johannes Obermayr
So we're back to devel-32bit case.
http://en.opensuse.org/openSUSE:Build_Service_baselibs.conf
While it's not clearly stated, it looks like the devel package should be listed in baselibs.conf.
From there: "However, it has been common practice to not create any baselibs.conf until someone explicitly requests it (usually because they attempted to build some software – without the use of OBS – in 32-bit mode from a 64-bit environment)."
There is a request to create a libGLEW*-32bit package because of some depending software. None for other parts of glew. If baselibs.conf should be created only if someone request it then more then ever only for the required parts and not unconditionally. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894331
https://bugzilla.novell.com/show_bug.cgi?id=894331#c17
--- Comment #17 from Todd R
According to the changes, glew-devel-32bit was added by Adam Mizerski.
And baselibs.conf itself was added by Todd R.
They could provide the answer, but it was apparently a deliberate decision.
I added baselibs.conf because libGLEW is required by gstreamer-0_10-plugins-gl-32bit and libgstgl-0_10-1-32bit. libsfml2-32bit also requires libGLEW 32bit. I don't know why glew-devel-32bit and glew-32bit were added, they don't appear to be dependencies of anything on my system but there very well may be other packages somewhere that do require it. gstreamer-0_10-plugins-gl-devel requires glew-devel, but there is no gstreamer-0_10-plugins-gl-devel-32bit that would require glew-devel-32bit. There was probably a reason glew-32bit and glew-devel-32bit were added, but I don't know what it was. -- Configure bugmail: https://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=894331
Johannes Obermayr
participants (1)
-
bugzilla_noreply@novell.com