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

"brew reinstall --build-from-source gst-plugins-bad" lands on error #151373

Closed
4 tasks done
neilyoung opened this issue Oct 17, 2023 · 2 comments
Closed
4 tasks done

"brew reinstall --build-from-source gst-plugins-bad" lands on error #151373

neilyoung opened this issue Oct 17, 2023 · 2 comments
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age

Comments

@neilyoung
Copy link

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

~ $ brew config
HOMEBREW_VERSION: 4.1.16-2-g23ee8af-dirty
ORIGIN: https://github.com/Homebrew/brew
HEAD: 23ee8afa94f5d5f553c1f5b6c502732d7ec327ce
Last commit: 6 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a24f6cc2bf5fffbd656b3bfdad127327a620b0fe
Core tap last commit: 9 hours ago
Core tap branch: master
Core tap JSON: 17 Oct 07:38 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.KbYUz7neoU/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.42.0 => /opt/homebrew/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.0-arm64
CLT: 15.0.0.0.1.1694021235
Xcode: N/A
Rosetta 2: false


brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  libav
  szip

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  jsonschema
  node@14
  ufraw

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libedgetpu.1.0.dylib
  /usr/local/lib/libedgetpu.1.dylib
  /usr/local/lib/librealsense2-gl.2.30.0.dylib
  /usr/local/lib/librealsense2-gl.2.30.1.dylib
  /usr/local/lib/librealsense2-gl.2.31.0.dylib
  /usr/local/lib/librealsense2-gl.2.32.0.dylib
  /usr/local/lib/librealsense2-gl.2.32.1.dylib
  /usr/local/lib/librealsense2-gl.2.34.0.dylib
  /usr/local/lib/librealsense2.2.30.0.dylib
  /usr/local/lib/librealsense2.2.30.1.dylib
  /usr/local/lib/librealsense2.2.31.0.dylib
  /usr/local/lib/librealsense2.2.32.0.dylib
  /usr/local/lib/librealsense2.2.32.1.dylib
  /usr/local/lib/librealsense2.2.39.0.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/GLFW/glfw3.h
  /usr/local/include/GLFW/glfw3native.h
  /usr/local/include/cryptopp/3way.h
  /usr/local/include/cryptopp/adler32.h
  /usr/local/include/cryptopp/adv_simd.h
  /usr/local/include/cryptopp/aes.h
  /usr/local/include/cryptopp/aes_armv4.h
  /usr/local/include/cryptopp/algebra.h
  /usr/local/include/cryptopp/algparam.h
  /usr/local/include/cryptopp/arc4.h
  /usr/local/include/cryptopp/argnames.h
  /usr/local/include/cryptopp/aria.h
  /usr/local/include/cryptopp/asn.h
  /usr/local/include/cryptopp/authenc.h
  /usr/local/include/cryptopp/base32.h
  /usr/local/include/cryptopp/base64.h
  /usr/local/include/cryptopp/basecode.h
  /usr/local/include/cryptopp/bench.h
  /usr/local/include/cryptopp/blake2.h
  /usr/local/include/cryptopp/blowfish.h
  /usr/local/include/cryptopp/blumshub.h
  /usr/local/include/cryptopp/camellia.h
  /usr/local/include/cryptopp/cast.h
  /usr/local/include/cryptopp/cbcmac.h
  /usr/local/include/cryptopp/ccm.h
  /usr/local/include/cryptopp/chacha.h
  /usr/local/include/cryptopp/cham.h
  /usr/local/include/cryptopp/channels.h
  /usr/local/include/cryptopp/cmac.h
  /usr/local/include/cryptopp/config.h
  /usr/local/include/cryptopp/cpu.h
  /usr/local/include/cryptopp/crc.h
  /usr/local/include/cryptopp/cryptlib.h
  /usr/local/include/cryptopp/default.h
  /usr/local/include/cryptopp/des.h
  /usr/local/include/cryptopp/dh.h
  /usr/local/include/cryptopp/dh2.h
  /usr/local/include/cryptopp/dll.h
  /usr/local/include/cryptopp/dmac.h
  /usr/local/include/cryptopp/drbg.h
  /usr/local/include/cryptopp/dsa.h
  /usr/local/include/cryptopp/eax.h
  /usr/local/include/cryptopp/ec2n.h
  /usr/local/include/cryptopp/eccrypto.h
  /usr/local/include/cryptopp/ecp.h
  /usr/local/include/cryptopp/ecpoint.h
  /usr/local/include/cryptopp/elgamal.h
  /usr/local/include/cryptopp/emsa2.h
  /usr/local/include/cryptopp/eprecomp.h
  /usr/local/include/cryptopp/esign.h
  /usr/local/include/cryptopp/factory.h
  /usr/local/include/cryptopp/fhmqv.h
  /usr/local/include/cryptopp/files.h
  /usr/local/include/cryptopp/filters.h
  /usr/local/include/cryptopp/fips140.h
  /usr/local/include/cryptopp/fltrimpl.h
  /usr/local/include/cryptopp/gcm.h
  /usr/local/include/cryptopp/gf256.h
  /usr/local/include/cryptopp/gf2_32.h
  /usr/local/include/cryptopp/gf2n.h
  /usr/local/include/cryptopp/gfpcrypt.h
  /usr/local/include/cryptopp/gost.h
  /usr/local/include/cryptopp/gzip.h
  /usr/local/include/cryptopp/hashfwd.h
  /usr/local/include/cryptopp/hc128.h
  /usr/local/include/cryptopp/hc256.h
  /usr/local/include/cryptopp/hex.h
  /usr/local/include/cryptopp/hight.h
  /usr/local/include/cryptopp/hkdf.h
  /usr/local/include/cryptopp/hmac.h
  /usr/local/include/cryptopp/hmqv.h
  /usr/local/include/cryptopp/hrtimer.h
  /usr/local/include/cryptopp/ida.h
  /usr/local/include/cryptopp/idea.h
  /usr/local/include/cryptopp/integer.h
  /usr/local/include/cryptopp/iterhash.h
  /usr/local/include/cryptopp/kalyna.h
  /usr/local/include/cryptopp/keccak.h
  /usr/local/include/cryptopp/keccakc.h
  /usr/local/include/cryptopp/lea.h
  /usr/local/include/cryptopp/lubyrack.h
  /usr/local/include/cryptopp/luc.h
  /usr/local/include/cryptopp/mars.h
  /usr/local/include/cryptopp/md2.h
  /usr/local/include/cryptopp/md4.h
  /usr/local/include/cryptopp/md5.h
  /usr/local/include/cryptopp/mdc.h
  /usr/local/include/cryptopp/mersenne.h
  /usr/local/include/cryptopp/misc.h
  /usr/local/include/cryptopp/modarith.h
  /usr/local/include/cryptopp/modes.h
  /usr/local/include/cryptopp/modexppc.h
  /usr/local/include/cryptopp/mqueue.h
  /usr/local/include/cryptopp/mqv.h
  /usr/local/include/cryptopp/naclite.h
  /usr/local/include/cryptopp/nbtheory.h
  /usr/local/include/cryptopp/nr.h
  /usr/local/include/cryptopp/oaep.h
  /usr/local/include/cryptopp/oids.h
  /usr/local/include/cryptopp/osrng.h
  /usr/local/include/cryptopp/ossig.h
  /usr/local/include/cryptopp/padlkrng.h
  /usr/local/include/cryptopp/panama.h
  /usr/local/include/cryptopp/pch.h
  /usr/local/include/cryptopp/pkcspad.h
  /usr/local/include/cryptopp/poly1305.h
  /usr/local/include/cryptopp/polynomi.h
  /usr/local/include/cryptopp/ppc_simd.h
  /usr/local/include/cryptopp/pssr.h
  /usr/local/include/cryptopp/pubkey.h
  /usr/local/include/cryptopp/pwdbased.h
  /usr/local/include/cryptopp/queue.h
  /usr/local/include/cryptopp/rabbit.h
  /usr/local/include/cryptopp/rabin.h
  /usr/local/include/cryptopp/randpool.h
  /usr/local/include/cryptopp/rc2.h
  /usr/local/include/cryptopp/rc5.h
  /usr/local/include/cryptopp/rc6.h
  /usr/local/include/cryptopp/rdrand.h
  /usr/local/include/cryptopp/resource.h
  /usr/local/include/cryptopp/rijndael.h
  /usr/local/include/cryptopp/ripemd.h
  /usr/local/include/cryptopp/rng.h
  /usr/local/include/cryptopp/rsa.h
  /usr/local/include/cryptopp/rw.h
  /usr/local/include/cryptopp/safer.h
  /usr/local/include/cryptopp/salsa.h
  /usr/local/include/cryptopp/scrypt.h
  /usr/local/include/cryptopp/seal.h
  /usr/local/include/cryptopp/secblock.h
  /usr/local/include/cryptopp/seckey.h
  /usr/local/include/cryptopp/seed.h
  /usr/local/include/cryptopp/serpent.h
  /usr/local/include/cryptopp/serpentp.h
  /usr/local/include/cryptopp/sha.h
  /usr/local/include/cryptopp/sha3.h
  /usr/local/include/cryptopp/shacal2.h
  /usr/local/include/cryptopp/shark.h
  /usr/local/include/cryptopp/simeck.h
  /usr/local/include/cryptopp/simon.h
  /usr/local/include/cryptopp/simple.h
  /usr/local/include/cryptopp/siphash.h
  /usr/local/include/cryptopp/skipjack.h
  /usr/local/include/cryptopp/sm3.h
  /usr/local/include/cryptopp/sm4.h
  /usr/local/include/cryptopp/smartptr.h
  /usr/local/include/cryptopp/sosemanuk.h
  /usr/local/include/cryptopp/speck.h
  /usr/local/include/cryptopp/square.h
  /usr/local/include/cryptopp/stdcpp.h
  /usr/local/include/cryptopp/strciphr.h
  /usr/local/include/cryptopp/tea.h
  /usr/local/include/cryptopp/threefish.h
  /usr/local/include/cryptopp/tiger.h
  /usr/local/include/cryptopp/trap.h
  /usr/local/include/cryptopp/trunhash.h
  /usr/local/include/cryptopp/ttmac.h
  /usr/local/include/cryptopp/tweetnacl.h
  /usr/local/include/cryptopp/twofish.h
  /usr/local/include/cryptopp/validate.h
  /usr/local/include/cryptopp/vmac.h
  /usr/local/include/cryptopp/wake.h
  /usr/local/include/cryptopp/whrlpool.h
  /usr/local/include/cryptopp/words.h
  /usr/local/include/cryptopp/xtr.h
  /usr/local/include/cryptopp/xtrcrypt.h
  /usr/local/include/cryptopp/zdeflate.h
  /usr/local/include/cryptopp/zinflate.h
  /usr/local/include/cryptopp/zlib.h
  /usr/local/include/librealsense2-gl/rs_processing_gl.h
  /usr/local/include/librealsense2/h/rs_advanced_mode_command.h
  /usr/local/include/librealsense2/h/rs_config.h
  /usr/local/include/librealsense2/h/rs_context.h
  /usr/local/include/librealsense2/h/rs_device.h
  /usr/local/include/librealsense2/h/rs_frame.h
  /usr/local/include/librealsense2/h/rs_internal.h
  /usr/local/include/librealsense2/h/rs_option.h
  /usr/local/include/librealsense2/h/rs_pipeline.h
  /usr/local/include/librealsense2/h/rs_processing.h
  /usr/local/include/librealsense2/h/rs_record_playback.h
  /usr/local/include/librealsense2/h/rs_sensor.h
  /usr/local/include/librealsense2/h/rs_types.h
  /usr/local/include/librealsense2/rs.h
  /usr/local/include/librealsense2/rs_advanced_mode.h
  /usr/local/include/librealsense2/rsutil.h
  /usr/local/include/pygobject-3.0/pygobject.h
  /usr/local/include/python3.7m/greenlet/greenlet.h
  /usr/local/include/python3.8/greenlet/greenlet.h
  /usr/local/include/python3.9/greenlet/greenlet.h
  /usr/local/include/python3.9/pygame/_camera.h
  /usr/local/include/python3.9/pygame/_pygame.h
  /usr/local/include/python3.9/pygame/_surface.h
  /usr/local/include/python3.9/pygame/camera.h
  /usr/local/include/python3.9/pygame/fastevents.h
  /usr/local/include/python3.9/pygame/font.h
  /usr/local/include/python3.9/pygame/freetype.h
  /usr/local/include/python3.9/pygame/include/_pygame.h
  /usr/local/include/python3.9/pygame/include/bitmask.h
  /usr/local/include/python3.9/pygame/include/pgcompat.h
  /usr/local/include/python3.9/pygame/include/pgimport.h
  /usr/local/include/python3.9/pygame/include/pgplatform.h
  /usr/local/include/python3.9/pygame/include/pygame.h
  /usr/local/include/python3.9/pygame/include/pygame_bufferproxy.h
  /usr/local/include/python3.9/pygame/include/pygame_font.h
  /usr/local/include/python3.9/pygame/include/pygame_freetype.h
  /usr/local/include/python3.9/pygame/include/pygame_mask.h
  /usr/local/include/python3.9/pygame/include/pygame_mixer.h
  /usr/local/include/python3.9/pygame/include/sse2neon.h
  /usr/local/include/python3.9/pygame/mask.h
  /usr/local/include/python3.9/pygame/mixer.h
  /usr/local/include/python3.9/pygame/palette.h
  /usr/local/include/python3.9/pygame/pgarrinter.h
  /usr/local/include/python3.9/pygame/pgbufferproxy.h
  /usr/local/include/python3.9/pygame/pgcompat.h
  /usr/local/include/python3.9/pygame/pgimport.h
  /usr/local/include/python3.9/pygame/pgopengl.h
  /usr/local/include/python3.9/pygame/pgplatform.h
  /usr/local/include/python3.9/pygame/pygame.h
  /usr/local/include/python3.9/pygame/scrap.h
  /usr/local/include/python3.9/pygame/surface.h

Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/glfw3.pc
  /usr/local/lib/pkgconfig/realsense2-gl.pc
  /usr/local/lib/pkgconfig/realsense2.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libcryptopp.a
  /usr/local/lib/libfw.a
  /usr/local/lib/libglfw3.a
  /usr/local/lib/librealsense-file.a
  /usr/local/lib/libtm.a

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  http-server
  libav
  jsonschema
  pyyaml

Warning: You have uncommitted modifications to Homebrew/homebrew-core.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
  cd /opt/homebrew/Library/Taps/homebrew/homebrew-core && git stash -u && git clean -d -f

Uncommitted files:
   M Formula/g/glfw.rb
   M Formula/o/opencv.rb
  ?? Formula/gst-plugins-bad.rb

You have uncommitted modifications to Homebrew/homebrew-cask.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
  cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask && git stash -u && git clean -d -f

Uncommitted files:
  UD Casks/t/teamviewer-host.rb
  UD Casks/t/teamviewer-quickjoin.rb
  UD Casks/t/teamviewer-quicksupport.rb
  UD Casks/t/teamviewermeeting.rb

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)?

I'm trying to compile gstreamer-plugins-bad from file following the gist here. #25649

It runs until a certain point, but then it spits errors:

brew reinstall --build-from-source gst-plugins-bad
....
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /opt/homebrew/Library/Homebrew/shims/mac/super/ninja -C /private/tmp/gst-plugins-bad-20231017-6661-zhmmpv/gst-plugins-bad-1.20.5/build -v

Executing /opt/homebrew/Library/Homebrew/shims/mac/super/ninja -C /private/tmp/gst-plugins-bad-20231017-6661-zhmmpv/gst-plugins-bad-1.20.5/build -v gives:

ninja: This shim is internal and must be run via brew.

I just need to have webrtcbin plugin, which seems to not be part of gst-plugins-bad from brew on macOS 14.0

What happened (include all command output)?

Errors, can't source compile gst-plugins-bad

What did you expect to happen?

Should work

Step-by-step reproduction instructions (by running brew commands)

brew reinstall --build-from-source gst-plugins-bad
@neilyoung neilyoung added the bug Reproducible Homebrew/homebrew-core bug label Oct 17, 2023
@SMillerDev
Copy link
Member

Building from source is not supported. Modifying formula and then building from source is double unsupported.

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2023
@neilyoung
Copy link
Author

Yes, thanks. Installed the official pkg. Got my webrtcbin. Who needs brew...

@github-actions github-actions bot added the outdated PR was locked due to age label Nov 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

2 participants