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

odin: vendor libraries are not available on Linux #182068

Closed
4 tasks done
tamasd opened this issue Aug 22, 2024 · 2 comments · Fixed by #182310
Closed
4 tasks done

odin: vendor libraries are not available on Linux #182068

tamasd opened this issue Aug 22, 2024 · 2 comments · Fixed by #182310
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@tamasd
Copy link

tamasd commented Aug 22, 2024

brew gist-logs <formula> link OR brew config AND brew doctor output

$ brew config && brew doctor
HOMEBREW_VERSION: 4.3.17
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3426911432b93dc46d20d910c2f4fd33cdac62a2
Last commit: 4 days ago
Core tap JSON: 22 Aug 19:53 UTC
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: :0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 8
SUDO_ASKPASS: /usr/libexec/openssh/gnome-ssh-askpass
Homebrew Ruby: 3.3.4 => /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 18.1.8
Git: 2.46.0 => /bin/git
Curl: 8.6.0 => /bin/curl
Kernel: Linux 6.10.4-201.fsync.fc40.x86_64 x86_64 GNU/Linux
OS: Fedora Linux 40.20240627.0 (Silverblue)
Host glibc: 2.39
/usr/bin/gcc: 14.2.1
/usr/bin/ruby: N/A
glibc: N/A
gcc@11: N/A
gcc: N/A
xorg: N/A
Your system is ready to brew.

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

Compile a simple odin project with raylib

What happened (include all command output)?

$ odin run .
/usr/bin/ld: cannot find -l:/var/home/linuxbrew/.linuxbrew/Cellar/odin/2024-08/libexec/vendor/raylib//linux/libraylib.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

In #164071, the prebuilt vendored libraries were removed on all platforms, but they are linked back only on macos.

@tamasd tamasd added the bug Reproducible Homebrew/homebrew-core bug label Aug 22, 2024
@xakep8
Copy link
Contributor

xakep8 commented Aug 24, 2024

hey @tamasd I wish to work on this issue could you help me by giving an overview of it?

@SMillerDev
Copy link
Member

In #164071, the prebuilt vendored libraries were removed on all platforms, but they are linked back only on macos.

This line at the end of the issue is a pretty clear description of the issue.

xakep8 added a commit to xakep8/homebrew-core that referenced this issue Aug 27, 2024
Closes Homebrew#182068

Fixed all tests for linux.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Aug 27, 2024
Fixed all tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Aug 27, 2024
Fixed tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Fixed all tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Fixed tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Fixed all tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Fixed tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 3, 2024
Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 4, 2024
Fixed all tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 4, 2024
Fixed tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 4, 2024
Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 4, 2024
Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 6, 2024
Fixed all tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 6, 2024
Fixed tests for linux.
Closes Homebrew#182068
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 6, 2024
Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 6, 2024
Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 8, 2024
Linked back the vendor libraries for odin on linux. Use of shared library is still not working as it is an upstream issue.
Closes Homebrew#182068

odin: added vendor deps and build from source for odin

odin: changes .dylib to .so

odin: fixed lint

odin: fixed lint

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: added tests to verify it runs on linux

odin: fixed tests for linux

odin: fixed tests for linux

Fixed all tests for linux.
Closes Homebrew#182068

odin: fixed tests

Fixed tests for linux.
Closes Homebrew#182068

odin: fixes shared library on linux

Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.

odin: changed the structure to if...else... block

changed the structure of code as per review.

odin: fixed all tests

Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 11, 2024
Linked back the vendor libraries for odin on linux. Use of shared library is still not working as it is an upstream issue.
Closes Homebrew#182068

odin: added vendor deps and build from source for odin

odin: changes .dylib to .so

odin: fixed lint

odin: fixed lint

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: added tests to verify it runs on linux

odin: fixed tests for linux

odin: fixed tests for linux

Fixed all tests for linux.
Closes Homebrew#182068

odin: fixed tests

Fixed tests for linux.
Closes Homebrew#182068

odin: fixes shared library on linux

Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.

odin: changed the structure to if...else... block

changed the structure of code as per review.

odin: fixed all tests

Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.

odin: changed the code to make build steps unconditional
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 11, 2024
Linked back the vendor libraries for odin on linux. Use of shared library is still not working as it is an upstream issue.
Closes Homebrew#182068

odin: added vendor deps and build from source for odin

odin: changes .dylib to .so

odin: fixed lint

odin: fixed lint

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: added tests to verify it runs on linux

odin: fixed tests for linux

odin: fixed tests for linux

Fixed all tests for linux.
Closes Homebrew#182068

odin: fixed tests

Fixed tests for linux.
Closes Homebrew#182068

odin: fixes shared library on linux

Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.

odin: changed the structure to if...else... block

changed the structure of code as per review.

odin: fixed all tests

Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.

odin: changed the code to make build steps unconditional

odin: fixed styling issues.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 11, 2024
Linked back the vendor libraries for odin on linux. Use of shared library is still not working as it is an upstream issue.
Closes Homebrew#182068

odin: added vendor deps and build from source for odin

odin: changes .dylib to .so

odin: fixed lint

odin: fixed lint

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: added tests to verify it runs on linux

odin: fixed tests for linux

odin: fixed tests for linux

Fixed all tests for linux.
Closes Homebrew#182068

odin: fixed tests

Fixed tests for linux.
Closes Homebrew#182068

odin: fixes shared library on linux

Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.

odin: changed the structure to if...else... block

changed the structure of code as per review.

odin: fixed all tests

Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.

odin: changed the code to make build steps unconditional

odin: fixed styling issues.

odin: made the requested changes.
xakep8 added a commit to xakep8/homebrew-core that referenced this issue Sep 11, 2024
Linked back the vendor libraries for odin on linux. Use of shared library is still not working as it is an upstream issue.
Closes Homebrew#182068

odin: added vendor deps and build from source for odin

odin: changes .dylib to .so

odin: fixed lint

odin: fixed lint

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: attempted fixes for macos-arm64

odin: added tests to verify it runs on linux

odin: fixed tests for linux

odin: fixed tests for linux

Fixed all tests for linux.
Closes Homebrew#182068

odin: fixed tests

Fixed tests for linux.
Closes Homebrew#182068

odin: fixes shared library on linux

Closes Homebrew#182068
The tags during the building and linking phase where placed in the wrong way and the gcc compiler was not treating the linking of the shared objects as a shared library. Fixed them and all tests run perfectly.

odin: changed the structure to if...else... block

changed the structure of code as per review.

odin: fixed all tests

Closes Homebrew#182068
Fixed all tests. The shared library test fails because of issue with odin.

odin: changed the code to make build steps unconditional

odin: fixed styling issues.

odin: made the requested changes.

odin: fixed linting issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants