[opensuse-packaging] No libstdc++.la on 10.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Seems someone decided to remove /usr/%{_lib}/libstdc++.la on 10.2... ?
At least it's not in any of the following packages:
# rpm -qa | grep libstdc++
libstdc++41-4.1.2_20061018-4
libstdc++41-32bit-4.1.2_20061018-4
compat-libstdc++-5.0.7-33
libstdc++-devel-4.1.3-18
libstdc++41-devel-4.1.2_20061018-4
# rpm -ql libstdc++41-4.1.2_20061018-4 | grep "\.la"
# rpm -ql libstdc++41-32bit-4.1.2_20061018-4 | grep "\.la"
# rpm -ql compat-libstdc++-5.0.7-33 | grep "\.la"
# rpm -ql libstdc++-devel-4.1.3-18 | grep "\.la"
# rpm -ql libstdc++41-devel-4.1.2_20061018-4 | grep "\.la"
# rpm -ql libstdc++41-devel-4.1.2_20061018-4 | grep "\.la"
Any particular reason ? Is it somewhere else ?
I sure hope it wasn't "optimized" away because it breaks other packages
that need that .la :\
If it's not somewhere else, I'll file a (major) bug.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pascal Bleser wrote:
Seems someone decided to remove /usr/%{_lib}/libstdc++.la on 10.2... ? At least it's not in any of the following packages: # rpm -qa | grep libstdc++ libstdc++41-4.1.2_20061018-4 libstdc++41-32bit-4.1.2_20061018-4 compat-libstdc++-5.0.7-33 libstdc++-devel-4.1.3-18 libstdc++41-devel-4.1.2_20061018-4 # rpm -ql libstdc++41-4.1.2_20061018-4 | grep "\.la" # rpm -ql libstdc++41-32bit-4.1.2_20061018-4 | grep "\.la" # rpm -ql compat-libstdc++-5.0.7-33 | grep "\.la" # rpm -ql libstdc++-devel-4.1.3-18 | grep "\.la" # rpm -ql libstdc++41-devel-4.1.2_20061018-4 | grep "\.la" # rpm -ql libstdc++41-devel-4.1.2_20061018-4 | grep "\.la"
Any particular reason ? Is it somewhere else ? I sure hope it wasn't "optimized" away because it breaks other packages that need that .la :\
ewwww... it's on purpose:
- ---8<--------------------------------------------------------
for lib in libobjc libgfortran libgfortranbegin libmudflap \
libmudflapth libstdc++ libsupc++; do
rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la
done
- ---8<--------------------------------------------------------
Wed Jul 12 15:24:59 CEST 2006 - rguenther@suse.de
- - Remove libstdc++, fortran and objc .la files.
- ---8<--------------------------------------------------------
Bad idea ;)
https://bugzilla.novell.com/show_bug.cgi?id=215548
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
On 2006-10-27 00:07:28 +0200, Pascal Bleser wrote:
ewwww... it's on purpose: - ---8<-------------------------------------------------------- for lib in libobjc libgfortran libgfortranbegin libmudflap \ libmudflapth libstdc++ libsupc++; do rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la done - ---8<-------------------------------------------------------- Wed Jul 12 15:24:59 CEST 2006 - rguenther@suse.de - - Remove libstdc++, fortran and objc .la files. - ---8<--------------------------------------------------------
Bad idea ;)
and actually it is wanted that way. afaik debian is going to remove all .la files aswell. plan for the future. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcus Rueckert wrote:
On 2006-10-27 00:07:28 +0200, Pascal Bleser wrote:
ewwww... it's on purpose: - ---8<-------------------------------------------------------- for lib in libobjc libgfortran libgfortranbegin libmudflap \ libmudflapth libstdc++ libsupc++; do rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la done - ---8<-------------------------------------------------------- Wed Jul 12 15:24:59 CEST 2006 - rguenther@suse.de - - Remove libstdc++, fortran and objc .la files. - ---8<--------------------------------------------------------
Bad idea ;)
and actually it is wanted that way. afaik debian is going to remove all .la files aswell.
Hm, ok, so how to build the packages that expect to find a libstdc++.la
and where the build breaks because there isn't any ?
Patch them ? oO
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
Pascal Bleser wrote:
Marcus Rueckert wrote:
On 2006-10-27 00:07:28 +0200, Pascal Bleser wrote:
ewwww... it's on purpose: - ---8<-------------------------------------------------------- for lib in libobjc libgfortran libgfortranbegin libmudflap \ libmudflapth libstdc++ libsupc++; do rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la done - ---8<-------------------------------------------------------- Wed Jul 12 15:24:59 CEST 2006 - rguenther@suse.de - - Remove libstdc++, fortran and objc .la files. - ---8<--------------------------------------------------------
Bad idea ;)
https://bugzilla.novell.com/show_bug.cgi?id=215548 and actually it is wanted that way. afaik debian is going to remove all .la files aswell.
Hm, ok, so how to build the packages that expect to find a libstdc++.la
They "expect" a libstdc++.la only if another .la has libstc++.la in dependecy_libs (*). In that case, rebuild the package owning the other .la file (which might require a rebuild of another package and so on...). If you look at current factory, no .la file references libstdc++.la anymore. Michal (*) OK, the package could hardcode -l/usr/lib/libstc++.la in a Makefile, but that's broken anyway. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Freitag, 27. Oktober 2006 08:20 schrieb Michal Marek:
(*) OK, the package could hardcode -l/usr/lib/libstc++.la in a Makefile, but that's broken anyway.
The syntax would be without -l, but it's broken indeed. Because either it's a C++ program and links against libstdc++ automatically or it's not and then it can hardly make use of libstdc++. Greetings, Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Pascal Bleser (pascal.bleser@skynet.be) [20061027 07:55]:
Hm, ok, so how to build the packages that expect to find a libstdc++.la and where the build breaks because there isn't any ?
The package is broken! Code needing libstdc++ has to use g++ for linking as only that will ensure that the necessary C++ runtime libraries get lionked in. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Marcus Rueckert
-
Michal Marek
-
Pascal Bleser
-
Philipp Thomas
-
Stephan Kulow