jobcore/nss/note
2022-08-25 21:41:37 +03:00

27 lines
2.1 KiB
Text

This is the degree of infestation in these modern linux systems
NSS doesn't provide a configuration to built without zstd, zstd is a dependency for some core libraries
in ARCH-linux, and one is gcc.
NSS Will not build without zstd, will gcc build without zstd? It used to a couple of years ago, and
so did everything else.
NSS, this is network security we are talking about!
Here is the result of removing zstd temporarily just for the build:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/cc1: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
[311/1029] CC obj/lib/libpkix/pkix_pl_nss/pki/pkixpki.pkix_pl_infoaccess.o
FAILED: obj/lib/libpkix/pkix_pl_nss/pki/pkixpki.pkix_pl_infoaccess.o
cc -MMD -MF obj/lib/libpkix/pkix_pl_nss/pki/pkixpki.pkix_pl_infoaccess.o.d -DNSS_FIPS_DISABLED -DNSS_NO_INIT_SUPPORT -DNSS_X86_OR_X64 -DNSS_X64 -DNSS_USE_64 -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DLINUX2_1 -DLINUX -Dlinux -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DSDB_MEASURE_USE_TEMP_DIR -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DNSS_DISABLE_DBM -DNDEBUG -I/usr/include/nspr -I/src/pkg/jobcore/nss/src/dist/private/nss -I/src/pkg/jobcore/nss/src/dist/public/nss -fPIC -pipe -ffunction-sections -fdata-sections -m64 -DNSS_NO_GCC48 -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c99 -c ../../lib/libpkix/pkix_pl_nss/pki/pkix_pl_infoaccess.c -o obj/lib/libpkix/pkix_pl_nss/pki/pkixpki.pkix_pl_infoaccess.o
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/cc1: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
I arrest my case your honor, if we were to rebuild all core tools and libraries without it, what we
will probably end up may be a system but it will no longer be compatible with Arch and more things will
fail to build or break will using.
Just what I think and find, I report for us to share in the near future.