Coder Social home page Coder Social logo

Comments (17)

 avatar commented on June 4, 2024

@rwhogg What it means "build-error"?

from linuxbrew-core.

rwhogg avatar rwhogg commented on June 4, 2024

@ginolon it's the label we add for when a formula does not build correctly.

Is openssl actually usable? I.e. is this just an extra error message or does openssl not work?

I'm afraid I personally cannot debug this problem as I don't have access to a Windows machine to test with.

from linuxbrew-core.

 avatar commented on June 4, 2024

openssl doesn't work. And I can't install git with brew and many others packages. Why that error? Can I install previous version? Can I skip the make test phase?

from linuxbrew-core.

rwhogg avatar rwhogg commented on June 4, 2024

To skip the test, run brew install openssl --without-test.

You can install a previous version by using git to checkout an earlier version of openssl.rb if you'd like.

To provide us with some more information, can you run brew gist-logs openssl (on the current version of openssl) please?

Thanks a bunch!

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

Running Linuxbrew on Windows Subsystem for Linux (WSL) has not yet been tested. There will probably be some fixes required. We're happy to help if you're up for the necessary troubleshooting.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

This error message make[1]: *** [test_des] Error 127 means that make was not able to find the command test_des.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

Do you happen to know if there's a program where I can apply for a free developer's license of Windows Subsystem for Linux to run in Virtualbox? I don't have access to a Windows device.

from linuxbrew-core.

 avatar commented on June 4, 2024

Ok dear @rwhogg, it worked without-test, but many other errors below:

iouser@DESKTOP-4DIVL3A:~$ brew install openssl --without-test
==> Downloading https://www.openssl.org/source/openssl-1.0.2h.tar.gz
Already downloaded: /home/iouser/.cache/Homebrew/openssl-1.0.2h.tar.gz
==> perl ./Configure --prefix=/home/iouser/.linuxbrew/Cellar/openssl/1.0.2h --openssldir=/home/iouser/.linuxbrew/etc/openssl no-ssl2 zlib-dynamic shared enable-cms -isystem/home==> make depend
==> make
==> make install MANDIR=/home/iouser/.linuxbrew/Cellar/openssl/1.0.2h/share/man MANSUFFIX=ssl
==> Downloading https://curl.haxx.se/ca/cacert-2016-04-20.pem
######################################################################## 100.0%
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /home/iouser/.linuxbrew/etc/openssl/certs

and run
  /home/iouser/.linuxbrew/opt/openssl/bin/c_rehash

==> Summary
/home/iouser/.linuxbrew/Cellar/openssl/1.0.2h: 1,698 files, 14.2M, built in 4 minutes 48 seconds
iouser@DESKTOP-4DIVL3A:~$ brew list
makedepend  openssl  patchelf  pkg-config  xz  zlib
iouser@DESKTOP-4DIVL3A:~$ brew doctor
Your system is ready to brew.

here it is what you ask (brew gist-logs openssl):

https://gist.github.com/71071c26df96e610b4b3338f794eed5a

and here what strange is coming on my PC:

iouser@DESKTOP-4DIVL3A:~$ openssl
openssl: error while loading shared libraries: libcrypto.so.1.0.0: cannot enable executable stack as shared object requires: Invalid argument

and then if I try to install something else:

iouser@DESKTOP-4DIVL3A:~$ brew install git --without-test
==> Installing dependencies for git: curl, expat
==> Installing git dependency: curl
==> Downloading https://curl.haxx.se/download/curl-7.48.0.tar.bz2
Already downloaded: /home/iouser/.cache/Homebrew/curl-7.48.0.tar.bz2
==> Patching
patching file lib/vtls/openssl.c
==> ./configure --disable-silent-rules --prefix=/home/iouser/.linuxbrew/Cellar/curl/7.48.0 --with-ssl=/home/iouser/.linuxbrew/opt/openssl --with-ca-bundle=/home/iouser/.linuxbre==> make install
Last 15 lines from /home/iouser/.cache/Homebrew/Logs/curl/02.make:
make[2]: Entering directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/include'
make[3]: Entering directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/include'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/include'
make[2]: Leaving directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/include'
make[1]: Leaving directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/include'
Making install in scripts
make[1]: Entering directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/scripts'
/usr/bin/perl ./zsh.pl ../src/curl > _curl
curl returned 127 with output:
make[1]: *** [_curl] Error 127
make[1]: Leaving directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/scripts'
make: *** [install-recursive] Error 1
valid argument

READ THIS: https://github.com/Linuxbrew/brew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/Homebrew/homebrew-core/issues

These open issues may also help:
curl: tweaks https://github.com/Homebrew/homebrew-core/pull/1124

What is it?

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024
iouser@DESKTOP-4DIVL3A:~$ openssl
openssl: error while loading shared libraries: libcrypto.so.1.0.0: cannot enable executable stack as shared object requires: Invalid argument

That's a strange error. I would ask the upstream developers of openssl if it makes sense to them.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

I'm glad that the --without-test workaround worked for openssl.

make[1]: Entering directory `/tmp/curl-20160515-4262-18emy50/curl-7.48.0/scripts'
/usr/bin/perl ./zsh.pl ../src/curl > _curl
curl returned 127 with output:

Not sure about this error either. Please report brew gist-logs curl.

from linuxbrew-core.

rwhogg avatar rwhogg commented on June 4, 2024

Do you happen to know if there's a program where I can apply for a free developer's license of Windows Subsystem for Linux to run in Virtualbox? I don't have access to a Windows device.

Did Microsoft ever get back to you about that? Last I heard, when you asked them it was awaiting moderation.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

No, I haven't heard back from them. The public forum may not have been the right channel to ask, but I'm not sure what the right channel is.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

As for the above errors, I'm thinking something like files in /tmp not being executable, but brew doctor checks for that and hasn't reported any problems.

from linuxbrew-core.

 avatar commented on June 4, 2024

@sjackman, Here its is brew gist-logs curl:

https://gist.github.com/1b99d5e8d492fc841905a78638c14d6a

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

Here's the relevant line: https://gist.github.com/anonymous/1b99d5e8d492fc841905a78638c14d6a#file-02-make-L473
I'm afraid I can't say what's going on there without hands-on access to the machine. I would suggest contacting the upstream curl developers. I believe that they're quite responsive.
As a total shot in the dark, try brew install zsh curl

from linuxbrew-core.

 avatar commented on June 4, 2024
iouser@DESKTOP-4DIVL3A:/mnt/c/Users/user$ brew install zsh curl
==> Installing dependencies for zsh: gdbm, bzip2, pcre, homebrew/dupes/ncurses, texinfo
==> Installing zsh dependency: gdbm
==> Downloading https://linuxbrew.bintray.com/bottles/gdbm-1.11.x86_64_linux.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gdbm-1.11.x86_64_linux.bottle.2.tar.gz
/home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: cannot execute binary file
Error: Failure while executing: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath /home/iouser/.linuxbrew/lib
Warning: Bottle installation failed: building from source.
==> Downloading http://ftpmirror.gnu.org/gdbm/gdbm-1.11.tar.gz
==> Downloading from http://mirror2.mirror.garr.it/mirrors/gnuftp/gnu/gdbm/gdbm-1.11.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/home/iouser/.linuxbrew/Cellar/gdbm/1.11                                                               ==> make install
/home/iouser/.linuxbrew/Cellar/gdbm/1.11: 29 files, 656.4K, built in 56 seconds
==> Installing zsh dependency: bzip2
==> Downloading https://linuxbrew.bintray.com/bottles/bzip2-1.0.6_1.x86_64_linux.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring bzip2-1.0.6_1.x86_64_linux.bottle.1.tar.gz
/home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: cannot execute binary file
Error: Failure while executing: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath /home/iouser/.linuxbrew/lib
Warning: Bottle installation failed: building from source.
==> Downloading http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
######################################################################## 100.0%
==> make install PREFIX=/home/iouser/.linuxbrew/Cellar/bzip2/1.0.6_1
==> make -f Makefile-libbz2_so clean
==> make -f Makefile-libbz2_so
/home/iouser/.linuxbrew/Cellar/bzip2/1.0.6_1: 29 files, 1.5M, built in 8 seconds
==> Installing zsh dependency: pcre
==> Downloading https://linuxbrew.bintray.com/bottles/pcre-8.38.x86_64_linux.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.38.x86_64_linux.bottle.tar.gz
/home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: cannot execute binary file
Error: Failure while executing: /home/iouser/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath /home/iouser/.linuxbrew/lib
Warning: Bottle installation failed: building from source.

from linuxbrew-core.

sjackman avatar sjackman commented on June 4, 2024

patchelf: cannot execute binary file

Please report patchelf --version and ldd $(which patchelf)

from linuxbrew-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.