Packaging DSO symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

You might have seen that we are trying to eliminate /sbin/ldconfig from
scriptlets which would speedup installation / upgrade of packages
**significantly**.

One of cases Florian brought that in case of libcrypt/libcrypt-nss, libraries
didn't have symlinks, so if it would not call ldconfig in its scriptlet, then
any packages which depend on libcrypt.so would fail to execute.

In 99% (this number came just out of my head, not a real investigation) of
packages, we always package those symlinks.

So I'm going to push change to glibc which during build process executes
ldconfig in buildroot which is forcing to create those symlinks and your
package would fail to build with something like:
error: Installed (but unpackaged) file(s) found:
   /usr/lib64/libhello.so.1

To disable this you would need to use `%undefine __brp_ldconfig` and you really
need to make sure that you have %post/%postun scriptlets with /sbin/ldconfig.

The plan is to get this in, then get transfiletrigger in glibc which would
execute ldconfig just **once per transaction** and then start removing
scriptlets from packages.
- -- 
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlpvOYgACgkQaVcUvRu8
X0y2dg//XN5KrnjG05+imdYHemsbGj0lX4CbEIjJiZMQ4Y35M/qtgSE4GhhQjqrv
+atrlzE8iV7oszMxbn3m59BHCmC0XGDn1Z68nc0WECTd3wfURt5/WLJiYCtxaDtL
Jai27G1I2orFO6s+jPr6Vi4FFFvaMKlSNlcXEFRCp2UOC+OLnIqPr5UueOAy6hk0
GUeiMto7VE0Nq/ScKfXQG70tJcdUB9MFkrBI3duhwCCNWqKdeSKDV37ZrDpCO98O
8OzoZhx22FcSvIodYNIz4FPYzRVUDegP4AwbRaeEq6JVhGMY6GrhQ/lFPvMQNynp
C2+t4U7hKXRut0GlOwPbyD0NxWy0rOMdz2lAyzOQIZZUcKmo0gvMxnYWDrPY8X1W
5uCdgMqvez3cXTj7crUBu2/jkJIeTG5INdgePZeDf6mX8Y1yp0IwP3WqeiQSLggN
HV/6bjNX4yLSPAtWoxZyQtwADl6LEW9oVqJB1nLdk2URx0hnN7Sl3e7xl6RLbHR6
PNXXku3Y2HtuFhe7HWb3TyBK1gpOz/GK7+Hqycd2BCozNnXc3Ho4wTe+YXip/xGL
KW1vJty0BXvgYXuDUFB/sO4ETWvDMVQMMLYxnjcHIo74VxCYlKAbLP40efQkh3wq
Zcol+j6TbqdA6aKBfO03nt5Q17P0+8BewfXNvcP3meeSMcxl470=
=k+H3
-----END PGP SIGNATURE-----
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux