[Bug 421322] New: %{_libdir}/libXft.la needs to be deleted
https://bugzilla.novell.com/show_bug.cgi?id=421322 Summary: %{_libdir}/libXft.la needs to be deleted Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: bwalle@novell.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com CC: crrodriguez@novell.com Found By: Development Building of some packages (like OpenMotif and ddd) fails because of ------------------------------------------------------------------- Tue Aug 26 12:14:12 CEST 2008 - crrodriguez@suse.de - kill "la" files and static libraries ------------------------------------------------------------------- in the fontconfig package, but %{_libdir}/libXft.la still being present. If I delete that file, too, in the build environment, then building works. -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c2
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c4
Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c6
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c7
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c8
--- Comment #8 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c9
--- Comment #9 from Cristian Rodriguez
Where can I find this policy? Why isn't forced by letting the build fail, if it's that important?
Im aware that at some point it will be enforced ( it should) Im just trying to make the experience less painful, removing stuff that is useless, **before everything breaks**. but Im getting assigned this kind bugs due to bogus assumptions let try to clear this: a) libfontconfig.la is useless, unless you prove it is not. b) if your package fails to build due to the lack of libfontconfig.la you have to wait until ALL dependant packages build **sucessfully* c) in this case Bernhard got the point. d) If your package contains "la" files, and does not use libltdl , la files MUST be removed. -- 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=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c10
--- Comment #10 from Cristian Rodriguez
If you would revert your fontconfig change, we wouldn't need to change/fix any other packages.
but you dont need to fix anything due to removal of "la" files !! you just have to wait the complete rebuild to finish !! -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c11
--- Comment #11 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User rodrigo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c12
Rodrigo Moya
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c13
--- Comment #13 from Cristian Rodriguez
I'm having problems building some GNOME packages because of this (libXft still linking to libfontconfig.la). Should this be really fixed once everything rebuilds?
Yes, but there are bugs in **other** packages, that may cause still a problem, but again nothing to do with libfontconfig.la a) Mesa --> falis due to missing libexpat-devel requirement, it wrongly expects libexpat-devel be pulled by fontconfig-devel, but that was completely wrong, fontconfig does not expose expat in anyway. b) xorg-x11-libs fails for the same reason that Mesa does, wrong buildrequires -- 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=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c14
--- Comment #14 from Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c15
--- Comment #15 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c16
--- Comment #16 from Cristian Rodriguez
So you broke more stuff
No, that packages ARE BROKEN, they expect WRONG -devel packages to be present in the build root -.. can you please make a bit of analysis before blaming me ?
not mentioning this change in fontconfig.changes.
Yes, I missed that, this is the only point when you are right, sorry. -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c17
--- Comment #17 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c18
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c19
--- Comment #19 from Stefan Dirsch
a) Mesa --> falis due to missing libexpat-devel requirement, it wrongly expects libexpat-devel be pulled by fontconfig-devel, but that was completely wrong, fontconfig does not expose expat in anyway.
b) xorg-x11-libs fails for the same reason that Mesa does, wrong buildrequires
Both issues fixed. (In reply to comment #18 from Michael Matz)
[...] and Stefan makes xorg-x11-libs buildrequire libexpat-devel, can we all go back to work and live happily ever after? :-)
done + libXft.la file removed for openSUSE > 11.0. Unfortunately /work/src/done/STABLE is not available at the moment, so I can't commit the 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=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c20
--- Comment #20 from Cristian Rodriguez
done + libXft.la file removed for openSUSE > 11.0.
Hint: if you remove just libXft.la ensure that other "la" files in the same package are not referencing it, or just remove all "la" files, they serve no purpose whatsoever. ;-) -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c21
--- Comment #21 from Stefan Dirsch
(In reply to comment #19 from Stefan Dirsch)
done + libXft.la file removed for openSUSE > 11.0.
Hint: if you remove just libXft.la ensure that other "la" files in the same package are not referencing it
Luckily they don't. -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c22
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User mrueckert@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c23
--- Comment #23 from Marcus Rückert
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c24
--- Comment #24 from Cristian Rodriguez
just curious: why not remove all .la files?:)
just curious, why not just ban them all together eh ? ;-) -- 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=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c25
--- Comment #25 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c26
--- Comment #26 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c27
--- Comment #27 from Cristian Rodriguez
Because then I would need to remove the static libs as well
No, "la" files are not needed for static linking either ;-) -- 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=421322
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c28
--- Comment #28 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=421322
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c29
--- Comment #29 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=421322
User bwalle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c30
--- Comment #30 from Bernhard Walle
https://bugzilla.novell.com/show_bug.cgi?id=421322
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421322#c31
--- Comment #31 from Cristian Rodriguez
Currently we have about 760 .a files in the system on i386, and I guess at least half of them are useless.
My bet is much less than a half. ;) (In reply to comment #30 from Bernhard Walle)
But instead of removing static libraries on a random basis, in my opinion we should first define which static libraries we distribute and then drop the others.
Right, make a whitelist, then just cause a build failure if not in whitelist,otherwise we have mission impossible. -- 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.
participants (1)
-
bugzilla_noreply@novell.com