-
Notifications
You must be signed in to change notification settings - Fork 112
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
Working 18.1 homebrew. I blame git for thinking it worked. #1100
Conversation
✅ Deploy Preview for elastic-ritchie-8f47f9 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I'll give this a test shortly |
I finally got to testing this and it's still broken for me, though I suspect it's something going on with my system, not the build script:
|
This patch is not for building HEAD. Though I'm not sure why it fails and
will try HEAD on my test box now, this patch is for a "release" version.
Can you try this:
```
brew unlink gerbil-scheme
# Clear the build cache. Helps with subtrees and versions
rm -rf $(brew --cache)/gerbil-scheme--git
rm -rf ~/.gerbil
brew install --formula -vd gerbil-scheme.rb
```
If that does not work, try this:
```
brew uninstall gerbil-scheme
rm -rf ~/.gerbil
brew install --formula -vd gerbil-scheme.rb
```
If both those still fail let me know.
…On Thu, Jan 4, 2024 at 3:26 PM Noah Pederson ***@***.***> wrote:
I finally got to testing this and it's still broken for me, though I
suspect it's something going on with my system, not the build script:
... compile /private/tmp/gerbil-scheme-202401ld: Undefined symbols:
____S_any, referenced from:
____LNK_gerbil____expander____stxcase in gerbil__expander__stxcase.o
____LNK_std____srfi____1 in std__srfi__1.o
____LNK_std____srfi____115 in std__srfi__115.o
____LNK_std____net____httpd____server in std__net__httpd__server.o
____S_char_2d_set, referenced from:
____LNK_std____srfi____115 in std__srfi__115.o
____S_char_2d_set_2d_any, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_contains_3f_, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_count, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_cursor_2d_next, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_every, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_fold, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_for_2d_each, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_char_2d_set_2d_map, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____S_f, referenced from:
____LNK_std____misc____number in std__misc__number.o
____LNK_std____srfi____134 in std__srfi__134.o
____S_lower, referenced from:
____LNK_std____srfi____14 in std__srfi__14.o
____LNK_std____srfi____115 in std__srfi__115.o
____S_p, referenced from:
____LNK_std____lazy in std__lazy.o
____LNK_std____srfi____101 in std__srfi__101.o
____LNK_std____net____sasl in std__net__sasl.o
____S_upper, referenced from:
____LNK_std____srfi____115 in std__srfi__115.o
collect2: error: ld returned 1 exit status
04-4220-mssfe3/build/lib/static/std__web__rack.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db__dbi.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db__conpool.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db__postgresql-driver.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db__postgresql.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db___sqlite.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/std__db__sqlite.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/static/libgerbil-builtin-modules.c
... compile /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/libgerbil-link.c
... build /private/tmp/gerbil-scheme-20240104-4220-mssfe3/build/lib/libgerbil.so
process gcc exited with non-zero status 256
*** ERROR IN build-libgerbil, ***@***.*** --
*** ERROR IN ? [Error]: error executing process
--- irritants: "gcc" 256
--- continuation backtrace:
[0] error
[1] build-libgerbil ***@***.***:9-378:35 (invoke-gcc (cons "-shared" (cons "-o" (cons #:libgerbil517 (foldr cons (fold...
┏━━━━━ build/build-libgerbil.ss ━━━━━
┃⋯
373┃ (if (eq? mode 'shared)
374┃ (invoke-gcc ["-shared" "-o" libgerbil
┃ ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
375┃ libgerbil-ldd ...
┃▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
376┃ static-module-o-paths ...
┃▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
377┃ builtin-modules-o-path
┃▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
378┃ link-o-path])
┃▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
379┃ (invoke-ar ["cq" libgerbil
┃⋯
*** ERROR; build failed
build failed
make: *** [build] Error 1
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/git --version
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --version
/opt/homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
BuildError: Failed executing: make
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
No such option
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Temporary files retained at:
/private/tmp/gerbil-scheme-20240104-4220-mssfe3
/usr/bin/env git --git-dir /Users/noah/Library/Caches/Homebrew/gerbil-scheme--git/.git rev-parse --short=7 HEAD
==> Formula
Path: /Users/noah/Documents/repos/gerbil/homebrew/gerbil-scheme.rb
==> Configuration
HOMEBREW_VERSION: 4.2.2-18-gdcd267b
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/git --version
ORIGIN: https://github.com/Homebrew/brew
HEAD: dcd267ba4caecb253220cb02a8a2bb1c46a7a65b
Last commit: 8 hours ago
Core tap HEAD: ada527959d3fab181119572f4316290f70071070
Core tap last commit: 52 minutes ago
Core tap JSON: 04 Jan 22:41 UTC
Core cask tap HEAD: 688312725a9107d5e93652b5b96f491af70d0ed3
Core cask tap last commit: 56 minutes ago
Core cask tap JSON: 04 Jan 22:41 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.5z79PEazeu/org.xquartz:0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --version
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.1
Rosetta 2: false
==> ENV
HOMEBREW_CC: gcc-13
HOMEBREW_CXX: g++-13
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/readline:/opt/homebrew/opt/sqlite:/opt/homebrew/opt/zlib:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: ***@***.***/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/zlib/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/isl/lib/pkgconfig:/opt/homebrew/opt/mpfr/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: ***@***.***/bin:/opt/homebrew/opt/sqlite/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/gcc/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: gerbil-scheme HEAD-b905fe8 did not build
Logs:
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/00.options.out
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/01.configure
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/01.configure.cc
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/02.make
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/02.make.cc
/Users/noah/Library/Logs/Homebrew/gerbil-scheme/src
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!
gerbil-scheme's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
—
Reply to this email directly, view it on GitHub
<#1100 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADVTXKE6DNPSN3RCVUAZADYM43BDAVCNFSM6AAAAABBJRK7OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXHA4TQOJWGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
And to confirm. --HEAD works fine on both my Macs. |
Failed with both builds at the same spot with the same error. I strongly suspect it's a "just on my machine" problem, I'm heavily considering nuking the install and starting over |
Oh, actually it failed at a slightly different spot this time on something that is probably actually a bug:
It's trying to link to postgres for some reason. I'm pretty sure we pulled that out into a separate package and the build script doesn't declare the Postgres lib as a dependency (and it's probably not on my system). It's entirely possible this is still a cache issue, as I think postgres hasn't been part of the stdlib for awhile. I'm going to try installing libpostgres and trying again |
Nope 🙁
|
We do not rely on any libraries for Postgres. To me that failure says it's the 'libgerbil.so' that fails when the 'ld' is trying to link symbols. What version of MacOS is it? It ends with "... build /private/tmp/gerbil-scheme-20240104-80355-naj8lc/build/lib/libgerbil.so" and --- continuation backtrace: Am I mistaken? What does the log file say at the end? |
Whatever the latest is, I installed the most recent patch earlier today but this has been broken on my machine for awhile. The rest of the error message is the same as above. I was thinking of the MySQL driver, oops! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
except one English thingie
I've confirmed that it's the existence of a Gambit install on my system that was giving me trouble. After removing it, it seems to work fine (note, I have not pulled, so any changes you've made in the last few days wouldn't have impacted this) |
18.2 should work for everyone, right? :)