Skip to content

gobject-introspection: fix library search on Silicon#76383

Closed
tschoonj wants to merge 1 commit intoHomebrew:masterfrom
tschoonj:gi-arm
Closed

gobject-introspection: fix library search on Silicon#76383
tschoonj wants to merge 1 commit intoHomebrew:masterfrom
tschoonj:gi-arm

Conversation

@tschoonj
Copy link
Copy Markdown
Contributor

@tschoonj tschoonj commented May 1, 2021

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

@BrewTestBot BrewTestBot added the python Python use is a significant feature of the PR or issue label May 1, 2021
@tschoonj tschoonj marked this pull request as draft May 1, 2021 19:32
@tschoonj tschoonj mentioned this pull request May 1, 2021
1 task
@carlocab
Copy link
Copy Markdown
Member

carlocab commented May 1, 2021

Since this probably affects a lot of formulae on Apple Silicon, and we had a runner that was idling, I took the liberty of testing this out on our CI.

Using the example from #75020:

brew@HMBRW-A-001-M1-006 pango-test % /opt/homebrew/bin/python3 gitest.py
1.48.4

pympress also now builds and tests successfully on ARM when gobject-introspection is built with this patch. Without the patch here, the pympress test fails with the following error:

** (process:12105): WARNING **: 14:53:20.967: Failed to load shared library 'libpango-1.0.0.dylib' referenced by the typelib: dlopen(libpango-1.0.0.dylib, 9): image not found

@DocEpsilon, please try this out and see if it works for you.

@DocEpsilon
Copy link
Copy Markdown

@tschoonj @carlocab:I can confirm that the PR fixed issue #75020 for apple silicon (MPB 13" M1).

The library issue is fixed! I'd suggest to merge this.

@Cimbali: pympress builds but starting fails with segementation fault.

I suggest we try to fix it there.

@carlocab
Copy link
Copy Markdown
Member

carlocab commented May 1, 2021

pympress builds but starting fails with segementation fault.

Could you elaborate on this a bit more? e.g. can you get a backtrace?

@DocEpsilon
Copy link
Copy Markdown

Could you elaborate on this a bit more? e.g. can you get a backtrace?

In the terminal there's really no backtracing information from python. Just segm fault.

If nessecary I can share the apple error report. It's 960 lines.

@carlocab
Copy link
Copy Markdown
Member

carlocab commented May 2, 2021

In the terminal there's really no backtracing information from python. Just segm fault.

You can get a backtrace by attaching the process to a debugger. However,

If nessecary I can share the apple error report. It's 960 lines.

this will do. You can stick it in a gist.

@DocEpsilon
Copy link
Copy Markdown

this will do. You can stick it in a gist.

There you go:

https://gist.github.com/DocEpsilon/f757370f2d804df10ea0c6e33cc792ea

@DocEpsilon
Copy link
Copy Markdown

@carlocab were you able to look at the log?

@troyfolger
Copy link
Copy Markdown

can this be merged?

@tschoonj
Copy link
Copy Markdown
Contributor Author

I opened a merge request in the upstream repo. Let's see what they say about this.

@rafaelreis-r
Copy link
Copy Markdown

rafaelreis-r commented Jun 21, 2021

@tschoonj thanks for the fix. I'm getting this with virt-manager on M1 Macs, same dependency error. It seems your pull request didn't go through. Maybe you could reissue it?

@tschoonj tschoonj marked this pull request as ready for review June 21, 2021 16:47
@tschoonj
Copy link
Copy Markdown
Contributor Author

@carlocab upstream appears to be ignoring my PR... feel free to merge it in though, several people have confirmed that it works nicely.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need a checksum.

@carlocab carlocab mentioned this pull request Jun 21, 2021
6 tasks
@BrewTestBot
Copy link
Copy Markdown
Contributor

:shipit: @carlocab has triggered a merge.

@rafaelreis-r
Copy link
Copy Markdown

Hmmm something went wrong on the path creation:

==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/manifests/1.68.0_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gobject-introspection/blobs/sha256:41f7a223a257f2da33389b61128ece298cde0c63a036ee45f78c9b65ac71ea3f
Already downloaded: /Users/rafaelreisr/Library/Caches/Homebrew/downloads/831a6d5150d04fb2249d25d02d6169ff37d415eab2ca6fff7f8385be00110bd1--gobject-introspection--1.68.0.arm64_big_sur.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.48.5
Already downloaded: /Users/rafaelreisr/Library/Caches/Homebrew/downloads/3f51faaa60de07571d203e9e2a50c58923e9c2b563268965aa2bfcb77b648096--pango-1.48.5.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:9f6e9e61202b9487e03250a5fef359f20aec9e8e8e44d43d6b9d8837fa182c5f
Already downloaded: /Users/rafaelreisr/Library/Caches/Homebrew/downloads/dac5e6bf2291dd2200a3e943960675ec41371d30598aeafa8d129f50632e8cae--pango--1.48.5.arm64_big_sur.bottle.tar.gz
==> Reinstalling pango
==> Installing dependencies for pango: gobject-introspection
==> Installing pango dependency: gobject-introspection
==> Pouring gobject-introspection--1.68.0.arm64_big_sur.bottle.tar.gz
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-compiler: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-annotation-tool: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-generate: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-inspect: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-scanner: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/pkgconfig/gobject-introspection-1.0.pc: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/pkgconfig/gobject-introspection-no-export-1.0.pc: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/_giscanner.cpython-39-darwin.so: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/ccompiler.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/docmain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/sourcescanner.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/_version.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/annotationparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/sectionparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/mdextensions.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/__init__.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/message.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/maintransformer.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/dumper.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/pkgconfig.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/annotationmain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/cachestore.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/utils.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/testcodegen.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/transformer.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/scannermain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/msvccompiler.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/ast.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/shlibs.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/girwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/codegen.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/introspectablepass.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/xmlwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/gdumpparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/girparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/docwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_properties.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_vfuncs.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_index.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/base.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_methods.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/base.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xlib-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GObject-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/cairo-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/libxml2-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/DBusGLib-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GL-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/fontconfig-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GIRepository-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/DBus-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xft-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/win32-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/Vulkan-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GLib-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xrandr-1.3.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xfixes-4.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/freetype2-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GModule-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/Gio-2.0.typelib: Permission denied
Error: Failure while executing; `cp -pR /private/tmp/d20210621-71132-wv55zu/gobject-introspection/. /opt/homebrew/Cellar/gobject-introspection` exited with 1. Here's the output:
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-compiler: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-annotation-tool: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-generate: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-inspect: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-scanner: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/pkgconfig/gobject-introspection-1.0.pc: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/pkgconfig/gobject-introspection-no-export-1.0.pc: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/_giscanner.cpython-39-darwin.so: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/ccompiler.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/docmain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/sourcescanner.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/_version.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/annotationparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/sectionparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/mdextensions.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/__init__.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/message.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/maintransformer.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/dumper.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/pkgconfig.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/annotationmain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/cachestore.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/utils.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/testcodegen.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/transformer.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/scannermain.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/msvccompiler.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/ast.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/shlibs.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/girwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/codegen.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/introspectablepass.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/xmlwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/gdumpparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/girparser.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/docwriter.py: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_properties.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_vfuncs.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_index.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/base.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_methods.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Python/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/base.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/constructor.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/namespace.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/class.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/default.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/method.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/property.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/interface.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/field.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/record.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/function.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/signal.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/callback.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/vfunc.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/gobject-introspection/giscanner/doctemplates/mallard/C/enum.tmpl: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xlib-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GObject-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/cairo-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/libxml2-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/DBusGLib-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GL-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/fontconfig-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GIRepository-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/DBus-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xft-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/win32-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/Vulkan-1.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GLib-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xrandr-1.3.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/xfixes-4.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/freetype2-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/GModule-2.0.typelib: Permission denied
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/lib/girepository-1.0/Gio-2.0.typelib: Permission denied`

@carlocab
Copy link
Copy Markdown
Member

This is your problem:

Error: Failure while executing; `cp -pR /private/tmp/d20210621-71132-wv55zu/gobject-introspection/. /opt/homebrew/Cellar/gobject-introspection` exited with 1. Here's the output:
cp: /opt/homebrew/Cellar/gobject-introspection/./1.68.0/bin/g-ir-compiler: Permission denied

You probably have root-owned files in your cellar. chown should fix that. Check related threads at https://github.com/Homebrew/discussions/discussions for details.

@rafaelreis-r
Copy link
Copy Markdown

brew uninstall + reinstall fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants