Re: ----> Failed: phase compiling: libnss3.0e-shlibs-3.74-1 failed

"Franchetti, Giuliano Dr." <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
here is the output

Giuliano


giuliano@strmac001:/Users/giuliano/Desktop> fink list gyp-py
Information about 14305 packages read in 1 seconds.
 i   gyp-py27                            0.1+20220404git9ecf45e-3   Generate Your Projects
     gyp-py310                           0.1+20220404git9ecf45e-3   Generate Your Projects
     gyp-py39                            0.1+20220404git9ecf45e-3   Generate Your Projects
giuliano@strmac001:/Users/giuliano/Desktop>



On 14. Feb 2023, at 11:32, Hanspeter Niederstrasser <[email protected]> wrote:

On 2/13/23 1:55 PM, Franchetti, Giuliano Dr. wrote:
the library does not compile, but now the error is different than earlier.
Giuliano
.
.
.
.
patching file 'nss/pkg/pkg-config/nss-config.in'
patching file 'nss/pkg/pkg-config/nss.pc.in'
perl -pi -e 's,\@executable_path,/opt/sw2/lib/nss3.0e,g' nss/coreconf/Darwin.mk nss/lib/freebl/config.mk nss/coreconf/config.gypi
perl -pi -e 's,\(python ,\(/opt/sw2/bin/python2.7 ,' nss/build.sh
sudo -u fink-bld [ENV] sh -c /tmp/fink.AAIkM
/tmp/fink.MOVfs
#!/bin/sh -ev
        pushd nss
/opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/nss /opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74
        ./build.sh \
                --with-nspr=/opt/sw2/include/nspr:/opt/sw2/lib/nspr.0f \
                --system-sqlite \
                -v
run_scanbuild gyp -f ninja --depth=/opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/nss --generator-output=. -Dnspr_include_dir=/opt/sw2/include/nspr -Dnspr_lib_dir=/opt/sw2/lib/nspr.0f -Duse_system_sqlite=1 -Dtarget_arch=x64 -Denable_sslkeylogfile=1 -Dnss_dist_dir=/opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/dist -Dnss_dist_obj_dir=/opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/dist/Debug /opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/nss/nss.gyp
/bin/sh: python: command not found
gyp: Call to '"python" ./coreconf/detect_host_arch.py' returned exit status 127 while in /opt/sw2/src/fink.build/libnss3.0e-shlibs-3.74-1/nss-3.74/nss/nss.gyp.

What's your output of `fink list gyp-py` ?

While libnss3.0e is looking for the right python2.7, the gyp program it's calling is still looking for just 'python', which doesn't exist on 13.0.

Hanspeter

--
Treason is a charge used by winners as an excuse for hanging the losers.
 --Benjamin Franklin

_______________________________________________
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.