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

Daniel Macks <[email protected]> Sun, 31 Dec 2023 19:30:30 -0500
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
There are no packages in any supported fink distro that use libnss3-shlibs. It is an old version (frozen at 3.62) Everything currently uses libnss3.0e-shlibs (now at 3.74). The "3" version only only exists for legacy reasons, in case someone has a binary of an older version of a package that they had not yet updated. If fink lets you remove libnss3-shlibs, you can safely do so and never think about that old-version library again.

If you have something that is still using it, let us know and we can try to figure out the upgrade path.

dan

On 12/31/23, 7:21 PM, "Scott Hannahs via Fink-users" <[email protected]> wrote:

    It builds for me Xcode 15.1 / MacOS 13.6.3.

    As a guess, older versions of Command Line Tools do not support the "unused-but-set-variable” option?  Possibly the build options need to be tweaked for  Xcode < ???.

    I think you may also have a bullock problem. You can try
    fink remove --buildlocks

    There are other more invasive ways of cleaning up extraneous bullocks which a search engine might help

    -Scott

    > On Dec 31, 2023, at 6:21 AM, Patrick Wambacq <[email protected]> wrote:
    > 
    > Bump. Has anyone got any suggestions? I cannot upgrade to the latest macOS from Catalina as long as my fink problems have not been solved, unless I completely remove fink and reinstall after the OS upgrade. But in that case I fear for more problems.
    > 
    > Thanks
    > 
    > Patrick
    > 
    >> On 18 Dec 2023, at 14:39, Patrick Wambacq <[email protected]> wrote:
    >> 
    >> 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/nssutil.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



    _______________________________________________
    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





_______________________________________________
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