Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install blake3-rb on FreeBSD #381

Open
dearblue opened this issue May 30, 2024 · 0 comments
Open

Can't install blake3-rb on FreeBSD #381

dearblue opened this issue May 30, 2024 · 0 comments

Comments

@dearblue
Copy link

# guided from Shopify/blake3-rb#9

I tried gem install blake3-rb on FreeBSD 14.0.

The installation fails with an error that seems to require GNU Make.

# gem33 install blake3-rb
Building native extensions. This could take a while...
ERROR:  Error installing blake3-rb:
        ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext
/usr/local/bin/ruby33 extconf.rb
checking for cc... yes
checking for c++... yes
checking for ar... yes
checking for cargo... yes

current directory: /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext
make DESTDIR\= sitearchdir\=./.gem.20240527-92217-yc5o4l sitelibdir\=./.gem.20240527-92217-yc5o4l clean
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 8: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 10: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 20: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 22: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 24: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 31: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 32: warning: duplicate script for target "ifneq" ignored
make: "Makefile" line 9: warning: using previous script for "ifneq" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 33: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 35: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 265: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 266: warning: duplicate script for target "ifneq" ignored
make: "Makefile" line 9: warning: using previous script for "ifneq" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 266: warning: duplicate script for target "(,)" ignored
make: "Makefile" line 32: warning: using previous script for "(,)" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 267: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 522: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 527: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 529: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 533: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 535: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 537: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 556: Invalid line type
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext

current directory: /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext
make DESTDIR\= sitearchdir\=./.gem.20240527-92217-yc5o4l sitelibdir\=./.gem.20240527-92217-yc5o4l
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 8: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 10: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 20: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 22: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 24: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 31: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 32: warning: duplicate script for target "ifneq" ignored
make: "Makefile" line 9: warning: using previous script for "ifneq" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 33: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 35: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 265: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 266: warning: duplicate script for target "ifneq" ignored
make: "Makefile" line 9: warning: using previous script for "ifneq" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 266: warning: duplicate script for target "(,)" ignored
make: "Makefile" line 32: warning: using previous script for "(,)" defined here
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 267: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 522: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 527: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 529: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 533: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 535: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 537: Invalid line type
make: "/usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext/Makefile" line 556: Invalid line type
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1/ext/digest/blake3_ext

make failed, exit code 1

Gem files will remain installed in /usr/local/lib/ruby/gems/3.3/gems/blake3-rb-1.5.4.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/3.3/extensions/amd64-freebsd-14/3.3/blake3-rb-1.5.4.1/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant