Coder Social home page Coder Social logo

homebrew / linuxbrew-core Goto Github PK

View Code? Open in Web Editor NEW
1.2K 43.0 528.0 468.02 MB

πŸ’€Formerly the core formulae for the Homebrew package manager on Linux

License: BSD 2-Clause "Simplified" License

Ruby 100.00% Perl 0.01%
formulae linuxbrew homebrew ruby hacktoberfest

linuxbrew-core's Introduction

linuxbrew-core's People

Contributors

adamv avatar alebcay avatar bayandin avatar bfontaine avatar bo98 avatar brettkoonce avatar brewtestbot avatar carlocab avatar chenrui333 avatar cho-m avatar commitay avatar dawidd6 avatar domt4 avatar dtrodrigues avatar ericfromcanada avatar fxcoudert avatar ilovezfs avatar imichka avatar issyl0 avatar jacknagel avatar jonchang avatar lembacon avatar mikemcquaid avatar mistydemeo avatar samford avatar seekingmeaning avatar sjackman avatar tschoonj avatar vszakats avatar whoiswillma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linuxbrew-core's Issues

emacs failing to buil in linuxbrew

Please follow the general troubleshooting steps first:

  • [ x] Ran brew update and retried your prior step?
  • [ x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [ x] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

You can erase any parts of this template not applicable to your Issue.

Bug reports:

Please replace this line with a brief summary of your issue AND if reporting a build issue include the link from:

brew gist-logs emacs --with-cocoa --with-gnutls
(where <formula> is the name of the formula that failed to build).
The gist-logs is available at https://gist.github.com/anonymous/dcedbec04985227cbb6487f265dd053e

Formula Requests:

Please note by far the quickest way to get a new formula into Homebrew is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

Mongoose fails to build

From @rwhogg on April 21, 2016 3:5

Message:

==> /home/bob/.linuxbrew/bin/gcc-5 -dynamiclib mongoose.c -o libmongoose.dylib
cc1: warning: unrecognized gcc debugging option: y
cc1: warning: unrecognized gcc debugging option: n
cc1: warning: unrecognized gcc debugging option: m
cc1: warning: unrecognized gcc debugging option: i
cc1: warning: unrecognized gcc debugging option: c
cc1: warning: unrecognized gcc debugging option: l
cc1: warning: unrecognized gcc debugging option: i
cc1: warning: unrecognized gcc debugging option: b

I've already got a fix for this; I'll submit it after the freeze is over.

Copied from original issue: Linuxbrew/legacy-linuxbrew#1086

`gnupg2` and `gpg-agent` in conflict

Please follow the general troubleshooting steps first:

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?

Bug reports:

Both gpg-agent and gnupg2 provide locale for gnupg2.mo. They are the same size and according to diff identical though, obviously, they can't be both linked at the same time.

qt5 fails to build on Ubuntu 14.04

From @rwhogg on March 13, 2016 5:8

qt5 fails to build on Ubuntu 14.04. Log: https://gist.github.com/3a6081a34f436d37581e

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Message:

Running configuration tests...
The test for linking against libxcb and support libraries failed!
You might need to install dependency packages, or pass -qt-xcb.
See src/plugins/platforms/xcb/README.

Copied from original issue: Linuxbrew/legacy-linuxbrew#921

wxpython fails to build

From @rwhogg on April 21, 2016 3:26

Message:

wxpython: Python needs to be built as a framework.
Error: An unsatisfied requirement failed this build.

I already have a fix for this; I'll submit it after the freeze is over.

Copied from original issue: Linuxbrew/legacy-linuxbrew#1092

brew install gcc, errors in RHEL6 with centos6 repository

➜ brew install gcc

==> Installing dependencies for gcc: gmp, mpfr, libmpc, isl
==> Installing gcc dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.0.x86_64_linux.bot
Already downloaded: /home/cancer/.cache/Homebrew/gmp-6.1.0.x86_64_linux.bottle.tar.gz
==> Pouring gmp-6.1.0.x86_64_linux.bottle.tar.gz
/home/cancer/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Error: Failure while executing: /home/cancer/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath /home/cancer/.linuxbrew/lib 
Warning: Bottle installation failed: building from source.
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.0.tar.xz
Already downloaded: /home/cancer/.cache/Homebrew/gmp-6.1.0.tar.xz
==> ./configure --prefix=/home/cancer/.linuxbrew/Cellar/gmp/6.1.0 --enable-cxx
Last 15 lines from /home/cancer/.cache/Homebrew/Logs/gmp/01.configure:
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler /usr/bin/gcc -Os -w -pipe -march=native -isystem/home/cancer/.linuxbrew/include... no, program does not run
checking ABI=x32
checking compiler /usr/bin/gcc -Os -w -pipe -march=native -isystem/home/cancer/.linuxbrew/include... no, program does not run
checking ABI=32
checking compiler /usr/bin/gcc -Os -w -pipe -march=native -isystem/home/cancer/.linuxbrew/include... no, program does not run
configure: error: could not find a working compiler, see config.log for details

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/Linuxbrew/homebrew-core/issues

These open issues may also help:
Update missing gmp 6.1.0 file #1053

I tried many times~I installed libstdc++ in this RHEL6.

jack: Circle CI complains about Debian's packaging

CI is complaining about Debian's packaging in the following way:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You appear to have at least one existing installation of JACK.

Complete or partial JACK installs exist in: /usr/lib

Installing this version will leave at least one of these
existing installations installed and this will probably break
JACK on your machine. 

Before building, you should first remove the existing JACK
installation(s). 

Alternatively use ./configure --prefix=... to force overwriting
the existing install.

WARNING: ON ANY DEBIAN-DERIVED DISTRIBUTION (Debian, Ubuntu etc)
CHANGING THE INSTALLATION PREFIX WILL NOT PRODUCE A WORKING JACK
INSTALL. Please contact the distribution packager for JACK and
ask them to fix their packaging.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This needs to be investigated further, but seeing as how the missing dependency is obviously correct and this is likely a distro-specific thing, I've decided to just merge the missing dependency (no bottle) and spin off concerns about the packaging to a different issue.

voltdb fails to build on Ubuntu 14.04

From @rwhogg on March 14, 2016 1:37

voltdb fails to build on Ubuntu 14.04. See https://gist.github.com/rwhogg/e8915cf3c2c4880750a8

Message: /home/bob/.linuxbrew/include/jni.h:45:20: fatal error: jni_md.h: No such file or directory

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Copied from original issue: Linuxbrew/legacy-linuxbrew#926

Fish depends on ncurses

From @andrewrynhard on April 19, 2016 14:45

This is not an issue (yet) but a question. When I installed fish I needed to run sudo yum install -y ncurses-devel or the build would fail. I remember having to do this for another package (can't remember the exact one) as well. Is this by design or should the formula include these in their dependencies?

Copied from original issue: Linuxbrew/legacy-linuxbrew#1079

pjproject fails to build

From @rwhogg on April 21, 2016 3:14

Message:

../src/pjmedia/converter_libswscale.c: In function 'factory_create_converter':
../src/pjmedia/converter_libswscale.c:69:22: error: storage size of 'srcFormat' isn't known
     enum PixelFormat srcFormat, dstFormat;
                           ^
               ../src/pjmedia/converter_libswscale.c:69:33: error: storage size of 'dstFormat' isn't known
                    enum PixelFormat srcFormat, dstFormat;
                                                 ^
                                 /home/bob/tmp/pjproject20160420-8310-1capz6f/pjproject-2.3/build/rules.mak:161: recipe for target 'output/pjmedia-x86_64-unknown-linux-gnu/converter_libswscale.o' failed
                                 make[2]: *** [output/pjmedia-x86_64-unknown-linux-gnu/converter_libswscale.o] Error 1

I already have a fix for this; I'll submit it after the freeze is over.

Copied from original issue: Linuxbrew/legacy-linuxbrew#1088

curl: (77) error setting certificate verify locations

The curl bottle is not relocatable (cellar :any), but is marked as such. This issue also affects git, which uses curl, and so also affects brew tap.

$ curl https://github.com/Homebrew/homebrew-dupes/
curl: (77) error setting certificate verify locations:
  CAfile: /home/linuxbrew/.linuxbrew/etc/openssl/cert.pem
  CApath: none
$ brew tap homebrew/dupes
==> Tapping homebrew/dupes
Cloning into '/home/sjackman/.linuxbrew/Library/Taps/homebrew/homebrew-dupes'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-dupes/': error setting certificate verify locations:
  CAfile: /home/linuxbrew/.linuxbrew/etc/openssl/cert.pem
  CApath: none
Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-dupes /home/sjackman/.linuxbrew/Library/Taps/homebrew/homebrew-dupes --depth=1 --config core.autocrlf=false

vpcs fails to build

From @rwhogg on April 21, 2016 3:29

Message:

==> make -f Makefile.osx
gcc   -DDarwin -Di386 -DHV -Wall  -c vpcs.c
gcc   -DDarwin -Di386 -DHV -Wall  -c daemon.c
gcc   -DDarwin -Di386 -DHV -Wall  -c readline.c
gcc   -DDarwin -Di386 -DHV -Wall  -c packets.c
daemon.c:53:18: fatal error: util.h: No such file or directory
compilation terminated.
Makefile.osx:38: recipe for target 'daemon.o' failed
make: *** [daemon.o] Error 1

I already have a fix for this; I'll submit it after the freeze is over.

Copied from original issue: Linuxbrew/legacy-linuxbrew#1093

premake fails to build

From @rwhogg on April 21, 2016 3:16

Message:

gcc-5: error: unrecognized command line option '-mmacosx-version-min=10.1'
gcc-5: error: unrecognized command line option '-mmacosx-version-min=10.1'
Premake4.make:215: recipe for target 'obj/Release/os_chdir.o' failed

I've already got a fix for this; I'll submit it after the freeze is over.

Copied from original issue: Linuxbrew/legacy-linuxbrew#1089

openssl: error: target already defined

Please follow the general troubleshooting steps first:

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports:

Having trouble installing cmake and qt. perl installed fine.

Using Archlinux, and other information needed can be provided. Anyone have any insight?

I tried sudo chown -R $(whoami) $(brew --prefix) and i just got the cowardly error. (as expected, so i reversed it back to root ownership.)

> sudo brew install cmake
> ==> Installing dependencies for cmake: openssl, bzip2, python, curl, libi
> ==> Installing cmake dependency: openssl
> ==> Downloading https://www.openssl.org/source/openssl-1.0.2h.tar.gz
> Already downloaded: /root/.cache/Homebrew/openssl-1.0.2h.tar.gz
> ==> perl ./Configure --prefix=/opt/linuxbrew/Cellar/openssl/1.0.2h --openssldir=
> Last 15 lines from /root/.cache/Homebrew/Logs/openssl/01.perl:
> 2016-05-25 15:13:17 -0400
> 
> perl
> ./Configure
> --prefix=/opt/linuxbrew/Cellar/openssl/1.0.2h
> --openssldir=/usr/local/etc/openssl
> no-ssl2
> zlib-dynamic
> shared
> enable-cms
>  -Os -w -pipe -march=native -Wl,--dynamic-linker=/usr/local/lib/ld.so -Wl,-rpath,/usr/local/lib
> linux-x86_64
> 
> target already defined -  -Os -w -pipe -march=native -Wl,--dynamic-linker=/usr/local/lib/ld.so -Wl,-rpath,/usr/local/lib (offending arg: linux-x86_64)
> 
> 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/Linuxbrew/homebrew-core/issues

python3: build error

From @seanjensengrey on May 10, 2016 15:58

It reliably takes two invocations of

brew install python3

to install python3. The first invocation only installs the dependencies. The second invocation actually installs python3

platform: Ubuntu 14.04 LTS installed via

echo "export HOMEBREW_MAKE_JOBS=4" >> ~/.profile

# linuxbrew
echo | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
echo 'PATH=~/.linuxbrew/bin:$PATH' >> ~/.profile

. $HOME/.profile

brew update
brew install python3

Copied from original issue: Linuxbrew/brew#36

gobject-introspection depends on glib being built without selinux support

gobject-introspection depends on glib being built without selinux support. Otherwise, you get the following error:

make[2]: *** [gir/DBus-1.0.typelib] Error 127
/home/bob/tmp/gobject-introspection-20160430-16500-7r16hu/gobject-introspection-1.46.0/.libs/lt-g-ir-compiler: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory

As a workaround, you can hack LD_LIBRARY_PATH and PKG_CONFIG_PATH to include your system directories, but that's not ideal.

tippecanoe: Depends on sqlite

From @sjackman on March 29, 2016 22:52

https://travis-ci.org/Linuxbrew/linuxbrew/builds/119350327#L7795

/home/travis/build/Linuxbrew/linuxbrew/bin/gcc-5  -L/usr/local/lib -O3 -g -Wall -Os -w -pipe -march=core2 -o tippecanoe-enumerate enumerate.o -L/home/travis/build/Linuxbrew/linuxbrew/lib -Wl,--dynamic-linker=/home/travis/build/Linuxbrew/linuxbrew/lib/ld.so -Wl,-rpath,/home/travis/build/Linuxbrew/linuxbrew/lib -lsqlite3
/home/travis/build/Linuxbrew/linuxbrew/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
make: *** [tippecanoe-enumerate] Error 1

Copied from original issue: Linuxbrew/legacy-linuxbrew#1004

with-readline test fails if /usr/bin/expect not found

From @rwhogg on March 11, 2016 5:40

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

brew test with-readline currently fails if you don't have a pre-existing /usr/bin/expect.
I tried adding a dependency on linuxbrew/dupes/expect, but unfortunately that doesn't work because expect fails to build. (Which, now that I think about it, is worthy of its own issue... I'll try to get around to filing that separately. In the meantime, I've listed it at https://github.com/rwhogg/linuxbrew/wiki/List-of-formulae-that-don't-build)

This is no big emergency, since expect is easily installable through apt-get, just pointing it out. No error log included as I feel the cause of the problem is fairly obvious.

Copied from original issue: Linuxbrew/legacy-linuxbrew#906

svn: Depends on apr, krb5, libmagic

$ svn --version
svn: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No such file or directory
$ ldd ~/.linuxbrew/bin/svn |grep 'not found' |sort -u
    libapr-1.so.0 => not found
    libaprutil-1.so.0 => not found
    libgssapi_krb5.so.2 => not found
    libmagic.so.1 => not found

rpm fails to build if /usr/bin/tar does not exist

If /usr/bin/tar does not exist (for example, on Ubuntu 14.04), then rpm cannot be built.

Message:

/usr/bin/tar -xzf rpm-5.4.15.tar.gz && rm rpm-5.4.15.tar.gz 
sh: 1: /usr/bin/tar: not found
Error: Failure while executing: /usr/bin/tar -xzf rpm-5.4.15.tar.gz && rm rpm-5.4.15.tar.gz

openssl: make[1]: *** [test_des] Error 127 on Bash on Windows

user@windows:~$ brew install openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2h.tar.gz
Already downloaded: /home/user/.cache/Homebrew/openssl-1.0.2h.tar.gz
==> perl ./Configure --prefix=/home/user/.linuxbrew/Cellar/openssl/1.0.2h --openssldir=/home/user/.linuxbrew/etc/openssl no-ssl2 zlib-dynami==> make depend
==> make
==> make test
Last 15 lines from /home/user/.cache/Homebrew/Logs/openssl/04.make:

testing...
make[1]: Entering directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h/test'
make[2]: Entering directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h'
making all in apps...
make[3]: Entering directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h/apps'
make[2]: Leaving directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h'
../util/shlib_wrap.sh ./destest
make[1]: *** [test_des] Error 127
make[1]: Leaving directory `/tmp/openssl-20160515-2512-obv0dw/openssl-1.0.2h/test'
make: *** [tests] Error 2

es): ignored.

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

Why all this?

xerces-c: Bottle needs to be rebuilt for icu4c 57.1

The current xerces-c bottle is built using libicuuc.so.56, but it has since been updated to libicuuc.so.57.

==> brew test --verbose xerces-c
Testing xerces-c
==> /home/linuxbrew/.linuxbrew/Cellar/xerces-c/3.1.3/bin/SAXCount /tmp/xerces-c-test-20160427-64700-1fc831a/ducks.xml
/home/linuxbrew/.linuxbrew/Cellar/xerces-c/3.1.3/bin/SAXCount: error while loading shared libraries: libicuuc.so.56: cannot open shared object file: No such file or directory
Error: xerces-c: failed
<0> expected but was
<127>.
==> FAILED

v8 formula fails to install on Ubuntu 14.04

From @kpkrishnamoorthy on March 12, 2016 0:54

On attempting to install the formula "v8", it appears that clang doesn't compile correctly due to the use of an unsupported parameter in the makefile.

It looks like the option -Wshorten-64-to-32 is used when compiling on OS X, but is not relevant to Linux/gcc? ruby-build appeared to have this issue: rbenv/ruby-build#325

Thanks a lot for your help!

Output below:

kp@kp-VirtualBox:~$ brew update
Already up-to-date.
kp@kp-VirtualBox:~$ brew doctor
Your system is ready to brew.
kp@kp-VirtualBox:~$ brew install v8
==> Downloading https://github.com/v8/v8-git-mirror/archive/4.8.271.20.tar.gz
Already downloaded: /home/kp/.cache/Homebrew/v8-4.8.271.20.tar.gz
==> Cloning https://chromium.googlesource.com/external/gyp.git
Updating /home/kp/.cache/Homebrew/v8--gyp--git
==> Checking out revision 2c1e6cced23554ce84806e570acea637f6473afc
==> Cloning https://chromium.googlesource.com/chromium/deps/icu.git
Updating /home/kp/.cache/Homebrew/v8--icu--git
==> Checking out revision 42c58d4e49f2250039f0e98d43e0b76e8f5ca024
==> Cloning https://chromium.googlesource.com/chromium/buildtools.git
Updating /home/kp/.cache/Homebrew/v8--buildtools--git
==> Checking out revision 4a95614772d9bcbd8bc197e1d9bd034e088fc740
==> Cloning https://chromium.googlesource.com/external/swarming.client.git
Updating /home/kp/.cache/Homebrew/v8--swarming_client--git
==> Checking out revision 8fce79620b04bbe5415ace1103db27505bdc4c06
==> Cloning https://chromium.googlesource.com/external/github.com/google/googletest.git
Updating /home/kp/.cache/Homebrew/v8--gtest--git
==> Checking out revision 6f8a66431cb592dad629028a50b3dd418a408c87
==> Cloning https://chromium.googlesource.com/external/googlemock.git
Updating /home/kp/.cache/Homebrew/v8--gmock--git
==> Checking out revision 0421b6f358139f02e102c9c332ce19a33faf75be
==> Cloning https://chromium.googlesource.com/chromium/src/tools/clang.git
Updating /home/kp/.cache/Homebrew/v8--clang--git
==> Checking out revision 66f5328417331216569e8beb244fd887f62e8997
==> make native library=shared snapshot=on console=readline i18nsupport=off strictaliasing=off
Last 15 lines from /home/kp/.cache/Homebrew/Logs/v8/01.make:
  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/accessors.o
  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/address-map.o
  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation.o
  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation-site-scopes.o
g++-4.8: error: unrecognized command line option β€˜-Wshorten-64-to-32’
g++-4.8: error: unrecognized command line option β€˜-Wshorten-64-to-32’
g++-4.8: error: unrecognized command line option β€˜-Wshorten-64-to-32’
make[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/address-map.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/accessors.o] Error 1
make[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation.o] Error 1
g++-4.8: error: unrecognized command line option β€˜-Wshorten-64-to-32’
make[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation-site-scopes.o] Error 1
make[1]: Leaving directory `/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out'
make: *** [native] Error 2

READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting

brew gist-logs <formula>: https://gist.github.com/7672fc41be2fce3b850c

Copied from original issue: Linuxbrew/legacy-linuxbrew#917

lysp fails to build on Ubuntu 14.04

From @rwhogg on March 13, 2016 7:50

brew install lysp fails to build. See https://gist.github.com/rwhogg/e2bd5326effb21cdef2e

Message:

/usr/bin/ld.bfd.real: /tmp/ccLlskkP.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:21: recipe for target 'gclysp' failed
make: *** [gclysp] Error 1

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Copied from original issue: Linuxbrew/legacy-linuxbrew#922

elfutils: conflicts with libelf

Both install libelf.so and libelf.a.

libelf has 3 dependencies and elfutils has none. It's probably easiest to just make elfutils keg-only.

node: Segmentation fault: Node.js on Ubuntu 16.04

  • [βœ“] Ran brew update and retried your prior step?
  • [βœ“] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [βœ“] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Node.js fails to build for me on a brand new Ubuntu 16.04 x64 box from DigitalOcean using a standalone installation of Linuxbrew.

See the output here: https://gist.github.com/sholladay/ebc91f9f9e020d0924c837db3873c0c9

Note that the installed formulae shown by brew list are due to the standalone installation procedure.

I ran brew gist-logs node, but it did not complete for over half an hour. I eventually cancelled it. That seems suspicious.

As an experiment, I then attempted to brew install node4-lts from the homebrew/versions tap and that completed successfully. The official binary also works, but that doesn't tell us very much. I have not tried to compile from source without brew.

txr fails to build on Ubuntu 14.04

From @rwhogg on March 18, 2016 5:27

txr fails to build on Ubuntu 14.04. See https://gist.github.com/rwhogg/87a85424efca56c55efd#file-01-configure-L27

Checking what C type we have for integers wider than "long long" ... ./configure: line 1017: [: gcc: integer expression expected
./configure: line 1017: $2: unbound variable
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Copied from original issue: Linuxbrew/legacy-linuxbrew#948

git: Upgrade fails with error: unknown option `local'

 brew upgrade git
==> Upgrading 1 outdated package, with result:
git 2.8.1
==> Upgrading git
error: unknown option `local'
…
Error: Failure while executing: git config --local --replace-all homebrew.private false

[texlive.rb] install-tl-unx.tar.gz sha256 is not correct

brew install texlive Error:

➜ brew install texlive
==> Downloading http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
==> Downloading from http://mirror.lzu.edu.cn/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 794f5f7fc889fe6e55b70cfb826b1b2b07196ad13e679813801048b337d6343f
Actual: 65e94212bf3fa63639ea929e6368ee248bf8904ea53d04566431e33ce4f173f6
Archive: ~/.cache/Homebrew/texlive-20160306.tar.gz
To retry an incomplete download, remove the file above.

I downloaded install-tl-unx.tar.gz from http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz, getting the same sha256.

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.