librsvg fails to build on Catalina v2.58.4 --> v2.59.2 #5998
Unanswered
OldCrow
asked this question in
Everyday usage
Replies: 2 comments 1 reply
-
Choose Apple menu > System Preferences, click Security & Privacy, then select the Privacy tab. Scroll down and click Full Disk Access and tick the checkbox in front of the terminal app you are using to run the upgrade command e.g Terminal. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Bump! Any suggestions how to resolve this? On Monterrey is the same issue ==> Fetching librsvg
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/7a3f329444de7f7c0
Already downloaded: /Users/sk/Library/Caches/Homebrew/downloads/51a56afe2dfa625f0946bd8b1ae1991bc57e41ee8b61d6559b65db172c960fca--librsvg.rb
==> Downloading https://download.gnome.org/sources/librsvg/2.59/librsvg-2.59.2.tar.xz
Already downloaded: /Users/sk/Library/Caches/Homebrew/downloads/3163083355ad8add7cfe292d16309b14c65844845b7b4cb36fd22a3f58878a29--librsvg-2.59.2.tar.xz
==> Upgrading librsvg
2.58.4 -> 2.59.2
==> meson setup build -Dintrospection=enabled -Dpixbuf=enabled -Dpixbuf-loader=enabled
==> meson compile -C build --verbose
==> meson install -C build
Last 15 lines from /Users/sk/Library/Logs/Homebrew/librsvg/03.meson:
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/shutil.py", line 468, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/shutil.py", line 262, in copyfile
with open(dst, 'wb') as fdst:
~~~~^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.dylib'
Installing rsvg/librsvg-2.2.dylib to /usr/local/Cellar/librsvg/2.59.2/lib
Installing rsvg/Rsvg-2.0.gir to /usr/local/Cellar/librsvg/2.59.2/share/gir-1.0
Installing rsvg/Rsvg-2.0.typelib to /usr/local/Cellar/librsvg/2.59.2/lib/girepository-1.0
Installing rsvg_convert/rsvg-convert to /usr/local/Cellar/librsvg/2.59.2/bin
Installing gdk-pixbuf-loader/libpixbufloader_svg.dylib to /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
As per the Title. Invocation and last 15 lines of the log file are:
Textfile version of the 03.meson logfile is attached.
03.meson.txt
While the built-in analysis suggests a build environment error, it's hard to determine the root cause (if true) as the only reason Python 3.12/3.13 are installed (via Homebrew) was as build dependencies of leaf formulae, so there is only the base Python environment. libpixbuf permissions seems to be the cause, but again, nothing has changed except for updates to formulas which would introduce this and all previous versions successfully build on Catalina.
Beta Was this translation helpful? Give feedback.
All reactions