[opensuse-packaging] No libstdc++.la on 10.2
![](https://seccdn.libravatar.org/avatar/7f15e26f6f6f56d85aa0ec0fc4e37c44.jpg?s=120&d=mm&r=g)
-----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/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFQS8tr3NMWliFcXcRAtcrAJwKVyZQcRJaLysU4/0XF1Ym4rJesgCfQpYs P2jv7/TDFQDKCuJc9H7AiBk= =JrYQ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/7f15e26f6f6f56d85aa0ec0fc4e37c44.jpg?s=120&d=mm&r=g)
-----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/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFQTGgr3NMWliFcXcRApq8AJ9NSjo1VmqMm2W4C46O42287hOetgCfa6iS o4wOYZ/haCKb1nWTL0Sryzk= =aKHS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/a215165071358931415c67e33deb11e1.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/7f15e26f6f6f56d85aa0ec0fc4e37c44.jpg?s=120&d=mm&r=g)
-----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@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFQZFGr3NMWliFcXcRAnfJAKCXcTyA4f9gvtBYyH5/aVh/IwL7cACgh/33 5FsIUl6DLNaGCfMGWy55DIw= =0xiG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/541f0424df99fb299635f2b0c46454b0.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/cb2aaf49f775c94d4056311eef22be7b.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/b1966ffac861531a1d6494248e650a12.jpg?s=120&d=mm&r=g)
* 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