Failed: phase compiling: libnss3-shlibs-3.62-9 failed

Patrick Wambacq <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Hi,

I get compiler errors when I try to install libnss3-shlibs

[206/1196] cc -MMD -MF obj/lib/util/nssutil.derdec.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 -DHAVE_BSD_FLOCK -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DDARWIN -DNSS_DISABLE_DBM -DNSS_DISABLE_LIBPKIX -DDEBUG -I/opt/sw/include/nspr -I/opt/sw/src/fink.build/libnss3-shlibs-3.62-9/nss-3.62/dist/private/nss -I/opt/sw/src/fink.build/libnss3-shlibs-3.62-9/nss-3.62/dist/public/nss -fasm-blocks -mpascal-strings -O0 -gdwarf-2 -arch x86_64 -I/opt/sw/include -Wno-error=unused-but-set-variable -fPIC -fno-common -pipe -Werror -Wall -Wno-array-bounds -Wno-unevaluated-expression -Wno-parentheses-equality -Qunused-arguments -Wshadow  -c ../../lib/util/derdec.c -o obj/lib/util/nssut
 il.derdec.o
FAILED: obj/lib/util/nssutil.derdec.o 
cc -MMD -MF obj/lib/util/nssutil.derdec.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 -DHAVE_BSD_FLOCK -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DDARWIN -DNSS_DISABLE_DBM -DNSS_DISABLE_LIBPKIX -DDEBUG -I/opt/sw/include/nspr -I/opt/sw/src/fink.build/libnss3-shlibs-3.62-9/nss-3.62/dist/private/nss -I/opt/sw/src/fink.build/libnss3-shlibs-3.62-9/nss-3.62/dist/public/nss -fasm-blocks -mpascal-strings -O0 -gdwarf-2 -arch x86_64 -I/opt/sw/include -Wno-error=unused-but-set-variable -fPIC -fno-common -pipe -Werror -Wall -Wno-array-bounds -Wno-unevaluated-expression -Wno-parentheses-equality -Qunused-arguments -Wshadow  -c ../../lib/util/derdec.c -o obj/lib/util/nssutil.derdec.o
 
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]

and similar for all other compilation commands

Some useful information:
Package manager version: 0.45.6
Distribution version: selfupdate-git Mon Dec 18 14:25:43 2023, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.4
Xcode command-line tools: 12.4.0.0.1.1610135815
Max. Fink build jobs:  1

This is in an attempt to update all my fink packages before running inject.pl and afterwards updating my OS version from Catalina 10.15.7 to the newest.

I already tried to remove libnss3 as follows:
fink remove --recursive libnss3-shlibs

but then I receive the error
Reading Package Lists... Error!
E: Problem parsing dependency Pre-Depends
E: Error occured while processing libtool2-shlibs (NewVersion1)
E: Problem with MergeList /opt/sw/var/lib/apt/lists/_opt_sw_fink_dists_stable_main_binary-darwin-x86%5f64_Packages
E: The package lists or status file could not be parsed or opened.
### execution of /opt/sw/bin/apt-get-lockwait failed, exit code 100
Failed: can't remove package libnss3-shlibs

I tried sudo apt-get update and sudo apt-get -f install to try to fix this but then I get similar errors as above.

Thanks for any suggestions

Patrick



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.