Coder Social home page Coder Social logo

Comments (7)

carlocab avatar carlocab commented on September 24, 2024

@p-linnane also mentioned something about an audit failure, but I don't see it in the CI log at Homebrew/homebrew-core#171701, so I'll let Patrick chime in on how to reproduce that.

from brew.

MikeMcQuaid avatar MikeMcQuaid commented on September 24, 2024

Thanks @carlocab for opening!

Either brew linkage shouldn't complain about this or it should be fixed.

from brew.

p-linnane avatar p-linnane commented on September 24, 2024

Repro: check out the PR, build and then:

==> brew linkage --cached sherlock
System libraries:
  /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libm.so.6
Homebrew libraries:
  /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1 (gcc)
  /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libstdc++.so.6 (gcc)
Indirect dependencies with linkage:
  gcc
Dependencies with no linkage:
  certifi

from brew.

carlocab avatar carlocab commented on September 24, 2024

I was referring to this audit failure, which I can't find in the log:

Full audit --formula sherlock --online --new output
  sherlock
    * Formulae in homebrew/core should not have a Linux-only dependency on GCC.
  Error: 1 problem in 1 formula detected.

from brew.

Bo98 avatar Bo98 commented on September 24, 2024

That audit is correct. "Fixing" the linkage error by adding a dependency would fail that audit. The bug is that we shouldn't be flagging indirect (or undeclared) GCC linkage in brew linkage because of how the rpaths are set up. Every formula depends on GCC (or rather near enough most that we call it every formula) and we have magic in brew that auto-installs GCC when the system GCC is too old.

from brew.

carlocab avatar carlocab commented on September 24, 2024

Right, ok, so the audit failure appears if you add a Linux-only dependency on GCC, which explains why I couldn't find it in the log.

from brew.

carlocab avatar carlocab commented on September 24, 2024

Should be fixed by #17306.

from brew.

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.