gyp fails to generate ninja when OpenSSL FIPS is enabled

0 views
Skip to first unread message

Tristan Ross

unread,
Oct 14, 2025, 4:18:47 PM (7 days ago) Oct 14
to gyp-de...@googlegroups.com
I get the following error when running gyp with OpenSSL's FIPS enabled.

Traceback (most recent call last):
File "/nix/store/hs7vkawyf65y51a4rfc26lbi5nw4kmf7-python3.13-gyp-unstable-2024-02-07/bin/.gyp-wrapped",
line 9, in <module>
sys.exit(script_main())
~~~~~~~~~~~^^
File "/nix/store/w8bmmyb7k77k8w72g6h940mrqm9zsi6n-python3-3.13.6-env/lib/python3.13/site-packages/gyp/__init__.py",
line 552, in script_main
return main(sys.argv[1:])
File "/nix/store/w8bmmyb7k77k8w72g6h940mrqm9zsi6n-python3-3.13.6-env/lib/python3.13/site-packages/gyp/__init__.py",
line 545, in main
return gyp_main(args)
File "/nix/store/w8bmmyb7k77k8w72g6h940mrqm9zsi6n-python3-3.13.6-env/lib/python3.13/site-packages/gyp/__init__.py",
line 530, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/w8bmmyb7k77k8w72g6h940mrqm9zsi6n-python3-3.13.6-env/lib/python3.13/site-packages/gyp/generator/ninja.py",
line 2494, in GenerateOutput
pool.map(CallGenerateOutputForConfig, arglists)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/rk8pycgcvbid0asn2zdb4jl8ri92nz0d-python3-3.13.6/lib/python3.13/multiprocessing/pool.py",
line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/nix/store/rk8pycgcvbid0asn2zdb4jl8ri92nz0d-python3-3.13.6/lib/python3.13/multiprocessing/pool.py",
line 774, in get
raise self._value
_hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported

I have seen this problem with other python applications so this likely
should be fixed.
Reply all
Reply to author
Forward
0 new messages