homebrew-homebrew icon indicating copy to clipboard operation
homebrew-homebrew copied to clipboard

i am unable to install chntpw

Open GovindBadgoti opened this issue 1 year ago • 6 comments

Last 15 lines from /Users/gyaani/Library/Logs/Homebrew/[email protected]/03.make: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8106662892:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8106662892:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8106662892:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: make[1]: *** [test_ec] Error 1 make: *** [tests] Error 2

GovindBadgoti avatar Apr 20 '23 12:04 GovindBadgoti

I have the same problem when I try to install sidneys/homebrew/chntpw:

==> Installing chntpw from sidneys/homebrew ==> Installing dependencies for sidneys/homebrew/chntpw: sidneys/homebrew/[email protected] ==> Installing sidneys/homebrew/chntpw dependency: sidneys/homebrew/[email protected] ==> Patching ==> Applying openssl-1.0.2u-darwin-arm64.patch patching file Configure ==> perl ./Configure --prefix=/opt/homebrew/Cellar/[email protected]/1.0.2u_1 --openssldir=/opt/homebrew/etc ==> make ==> make test Last 15 lines from /Users/spbarber/Library/Logs/Homebrew/[email protected]/03.make: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8254168044:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8254168044:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8254168044:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: make[1]: *** [test_ec] Error 1 make: *** [tests] Error 2

To contextualize a bit: we are trying to install this library to be able to use https://mac.getutm.app/ . The goal is to install a Windows 11 virtual machine on a Mac M2 Pro.

Any help is welcome. Thanks!

SantipBarber avatar Apr 21 '23 05:04 SantipBarber

Try to use this solution:

https://github.com/sidneys/homebrew-homebrew/issues/2#issuecomment-885728072

Best

shapas avatar Apr 25 '23 02:04 shapas

I also have same problem => Fetching dependencies for sidneys/homebrew/chntpw: sidneys/homebrew/[email protected] ==> Fetching sidneys/homebrew/[email protected] ==> Downloading https://gist.githubusercontent.com/felixbuenemann/5f4dcb30ebb3b86e1302e2ec305bac89/raw/b339a33ff072c9747df21e2558c36634dd62c195/openssl-1.0.2u-darwin-arm64.patch Already downloaded: /Users/stiartsly/Library/Caches/Homebrew/downloads/db281f2b8a51c8a97d6bced562e99959b2c8b3241129895f8850506ccd1f8899--openssl-1.0.2u-darwin-arm64.patch ==> Downloading https://ftp.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz Already downloaded: /Users/stiartsly/Library/Caches/Homebrew/downloads/6a06bfa556bd474c7e4efb2eab11c7d43d4238b508bd91e74c438653e24b8a45--openssl-1.0.2u.tar.gz ==> Fetching sidneys/homebrew/chntpw ==> Downloading https://github.com/sidneys/chntpw/archive/0.99.6.tar.gz Already downloaded: /Users/stiartsly/Library/Caches/Homebrew/downloads/dee692592b6fc0d6db43012210cf70e9ef7a6018e20818b5f15187cbd3a06e39--chntpw-0.99.6.tar.gz ==> Installing chntpw from sidneys/homebrew ==> Installing dependencies for sidneys/homebrew/chntpw: sidneys/homebrew/[email protected] ==> Installing sidneys/homebrew/chntpw dependency: sidneys/homebrew/[email protected] ==> Patching ==> Applying openssl-1.0.2u-darwin-arm64.patch patching file Configure ==> perl ./Configure --prefix=/opt/homebrew/Cellar/[email protected]/1.0.2u_1 --openssldir=/opt/homebrew/etc/[email protected] no-ssl2 no-ssl3 no-zlib shared enable-cms darwin64-arm64-cc enable-ec_nistp_64_gcc_128 ==> make ==> make test Last 15 lines from /Users/stiartsly/Library/Logs/Homebrew/[email protected]/03.make: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:100B906B:elliptic curve routines:EC_POINT_set_affine_coordinates_GF2m:point is not on curve:ec_lib.c:994: 8402099180:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8402099180:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: 8402099180:error:1007C06B:elliptic curve routines:EC_POINT_set_affine_coordinates_GFp:point is not on curve:ec_lib.c:968: make[1]: *** [test_ec] Error 1 make: *** [tests] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/sidneys/homebrew-homebrew/issues

These open issues may also help: Mac M1 chntpw not building (Openssl 1.0 requirement not satisfied) https://github.com/sidneys/homebrew-homebrew/issues/2

stiartsly avatar Apr 25 '23 07:04 stiartsly

Hi @SantipBarber ! I had the same issue install chntpw using the readme.unix.md file provided by uupdump. Instead of that command run this.

$ brew install cabextract wimlib cdrtools
$ brew tap minacle/chntpw
$ brew install aria2 cabextract wimlib cdrtools minacle/chntpw/chntpw

gurvirbaraich avatar May 04 '23 12:05 gurvirbaraich

Hi @SantipBarber ! I had the same issue install chntpw using the readme.unix.md file provided by uupdump. Instead of that command run this.

$ brew install cabextract wimlib cdrtools
$ brew tap minacle/chntpw
$ brew install aria2 cabextract wimlib cdrtools minacle/chntpw/chntpw

After 4 hrs of banging my head over this issue, your solution finally worked. Kudos!

Galuur avatar Jul 25 '23 18:07 Galuur

Thank you @Galuur!

nasserahmed avatar Nov 23 '23 09:11 nasserahmed