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

Doesn't compile using Linuxbrew #15

Open
simpsora opened this issue Jun 29, 2021 · 0 comments
Open

Doesn't compile using Linuxbrew #15

simpsora opened this issue Jun 29, 2021 · 0 comments

Comments

@simpsora
Copy link

I don't know if we have anyone not using macOS, but the question was asked about Linux users so I decided to take it for a spin. It fails to compile, but perhaps for a silly reason (e.g. one not related to the code itself not working):

==> Installing envato/envato-iamy/iamy
==> go build -ldflags -s -w -X main.Version=v3.0.0+envato
Last 15 lines from /root/.cache/Homebrew/Logs/iamy/01.go:

go: downloading gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/aws/aws-sdk-go v1.16.23
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/mattn/go-isatty v0.0.4
go: downloading github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc
go: downloading github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
# runtime/cgo
gcc-11: error: unrecognized command-line option '-mmacosx-version-min=10.15'

Brew config:

root@bfd92d33185a:/# brew config
HOMEBREW_VERSION: 3.2.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 09f7bc27a99469cf947431df4754737dfbadb31d
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 4ab9416e21635c120f63da3eb55c32a142b0e82e
Core tap last commit: 4 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 12.0.0 build (parse error)
Git: 2.25.1 => /bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 4.19.121-linuxkit x86_64 GNU/Linux
OS: Unknown
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@5: N/A
xorg: N/A

System:

root@bfd92d33185a:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"

Full brew install log attached.
iamy-linux-brew-log.txt

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