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

Install error, macOS 14.0, R-4.4.0 (devel): dlopen(.../systemfonts.so): symbol not found in flat namespace '_hb_blob_create' #108

Open
t-kalinowski opened this issue Oct 31, 2023 · 4 comments

Comments

@t-kalinowski
Copy link
Member

> install.packages("systemfonts")
trying URL 'https://cran.rstudio.com/src/contrib/systemfonts_1.0.5.tar.gz'
Content type 'application/x-gzip' length 80638 bytes (78 KB)
==================================================
downloaded 78 KB

* installing *source* packagesystemfonts...
** packagesystemfontssuccessfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16
Using PKG_LIBS=-L/opt/homebrew/opt/freetype/lib -L/opt/homebrew/opt/libpng/lib -lfreetype -lbz2 -lpng16 -lz
** libs
using C++ compiler:Apple clang version 15.0.0 (clang-1500.0.40.1)’
using SDK:MacOSX14.0.sdkrm -f systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o mac/FontManagerMac.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c caches.cpp -o caches.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c cpp11.cpp -o cpp11.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c dev_metrics.cpp -o dev_metrics.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c font_matching.cpp -o font_matching.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c font_registry.cpp -o font_registry.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c ft_cache.cpp -o ft_cache.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c string_shape.cpp -o string_shape.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c font_metrics.cpp -o font_metrics.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c font_fallback.cpp -o font_fallback.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c string_metrics.cpp -o string_metrics.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c emoji.cpp -o emoji.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c cache_store.cpp -o cache_store.o
g++ -std=gnu++17 -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -g -O0  -c init.cpp -o init.o
g++ -I"/Users/tomasz/github/wch/r-build/lib/R/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Users/tomasz/github/wch/r-build/lib/R/library/cpp11/include' -I/opt/R/arm64/include   -fobjc-arc -fPIC   -c mac/FontManagerMac.mm -o mac/FontManagerMac.o
g++ -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/tomasz/github/wch/r-build/lib/R/lib -L/opt/R/arm64/lib -o systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o mac/FontManagerMac.o -L/opt/homebrew/opt/freetype/lib -L/opt/homebrew/opt/libpng/lib -lfreetype -lbz2 -lpng16 -lz -framework CoreText -framework Foundation -L/Users/tomasz/github/wch/r-build/lib/R/lib -lR -Wl,-framework -Wl,CoreFoundation
installing to /Users/tomasz/github/wch/r-build/lib/R/library/00LOCK-systemfonts/00new/systemfonts/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed forsystemfontsin dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/tomasz/github/wch/r-build/lib/R/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so':
  dlopen(/Users/tomasz/github/wch/r-build/lib/R/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so, 0x0006): symbol not found in flat namespace '_hb_blob_create'
Error: loading failed
Execution halted
ERROR: loading failed
* removing/Users/tomasz/github/wch/r-build/lib/R/library/systemfontsWarning in install.packages :
  installation of packagesystemfontshad non-zero exit status

The downloaded source packages are in/private/var/folders/hn/ck2j_bjx0kjg65jxqtbcb91c0000gp/T/Rtmpahy5XP/downloaded_packagesUpdating HTML index of packages in '.Library'
Making 'packages.html' ... done
@adamhsparks
Copy link

adamhsparks commented Feb 19, 2024

This occurs in R4.3.2 for me as well on macOS 14.3.1. I ran into it trying to restore an {renv} environment. Installing directly from CRAN works as a binary, but if I try to install from source it fails with this both in a normal session and an {renv} session.

@thomasp85
Copy link
Member

My best bet is that you have a borked FreeType installation on your system. The referenced symbol is from Harfbuzz but systemfonts does not use, nor depend on it. However, FreeType can be compiled with HarfBuzz support so maybe something went wrong there. Try reinstalling FreeType from brew and see if it solves the issue?

@egouldo
Copy link

egouldo commented Jun 5, 2024

My best bet is that you have a borked FreeType installation on your system. The referenced symbol is from Harfbuzz but systemfonts does not use, nor depend on it. However, FreeType can be compiled with HarfBuzz support so maybe something went wrong there. Try reinstalling FreeType from brew and see if it solves the issue?

This issue has been frustrating me for ages without answer until I stumbled upon your reply! reinstalling Harfbuzz fixed the problem. Thank you :)

@lcolladotor
Copy link

lcolladotor commented Dec 12, 2024

Hm... I'm running also into this with macOS 14.5 and R 4.5 (devel). I did try to install harfbuzz and freetype with Homebrew as shown below. Eventually I run into this error:

Error: package or namespace load failed forsystemfontsin dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so, 0x0006): symbol not found in flat namespace '_hb_blob_create'
Error: loading failed

Details:

% brew reinstall harfbuzz
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/10.1.0
################################################################################################################################################################################################################################## 100.0%
==> Fetching dependencies for harfbuzz: fontconfig, pcre2, python-packaging, mpdecimal, readline, sqlite, [email protected], glib, xorgproto, libxau, libxdmcp, libxcb, libx11, libxext, libxrender, lzo, pixman, cairo, graphite2 and icu4c@76
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.15.0
################################################################################################################################################################################################################################## 100.0%
==> Fetching fontconfig
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:4732e8c8cd6f940fa3ace12a5a5428baaef29bdccf9bc520fa4d37a1f0bf639c
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.44
################################################################################################################################################################################################################################## 100.0%
==> Fetching pcre2
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:78fe8885f70cc1ec83eefd678e1dfc3b341aedf4b44132327da98300c5e04cdf
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/manifests/24.2
################################################################################################################################################################################################################################## 100.0%
==> Fetching python-packaging
==> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/blobs/sha256:81d0db4704a8a4d53322164f860947baa0bae504373934327985c984b24de212
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
################################################################################################################################################################################################################################## 100.0%
==> Fetching mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:2965eec8a30f462b3bd6a8cc2756c1645e75f4399471594e434e36e886239e2e
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
################################################################################################################################################################################################################################## 100.0%
==> Fetching readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:e46d4ff0c800dd35b9d5cef74e61ade54edc0834231f35c695af206bed9e3608
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.47.2
################################################################################################################################################################################################################################## 100.0%
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:725168435181011bdd06d7d1f18dad719529aec4ae0176392b0a16a725612b37
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.1
################################################################################################################################################################################################################################## 100.0%
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/blobs/sha256:1924392f730828c2d34e22a2f865db3fdfdaa69713e5a1618ef07be75740cbdb
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.82.3
################################################################################################################################################################################################################################## 100.0%
==> Fetching dependencies for glib: gettext
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.23
################################################################################################################################################################################################################################## 100.0%
==> Fetching gettext
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:2041dafd8f25affab963100bd7735c493abc0efef0ca141a9239ac6fc60e5a19
################################################################################################################################################################################################################################## 100.0%
==> Fetching glib
==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:197af71eb767ac3e88253ef239be61d5abc5eb12c3f1840b573603ba052e26e5
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xorgproto/manifests/2024.1
################################################################################################################################################################################################################################## 100.0%
==> Fetching xorgproto
==> Downloading https://ghcr.io/v2/homebrew/core/xorgproto/blobs/sha256:3307601f0a03f6c51b640fb11064ef2c2264cc9c20de0604a255370edee3f7f4
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxau/manifests/1.0.11
################################################################################################################################################################################################################################## 100.0%
==> Fetching libxau
==> Downloading https://ghcr.io/v2/homebrew/core/libxau/blobs/sha256:5af5678065c243a7d199b76facc8be615dd6aa6de65d03778e9b403e8b2827d6
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxdmcp/manifests/1.1.5
################################################################################################################################################################################################################################## 100.0%
==> Fetching libxdmcp
==> Downloading https://ghcr.io/v2/homebrew/core/libxdmcp/blobs/sha256:789326aa88d1b6dbe5dd565e9e70e5031bf63fac39d22cd30d11c1dfc49ffbfb
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxcb/manifests/1.17.0
################################################################################################################################################################################################################################## 100.0%
==> Fetching libxcb
==> Downloading https://ghcr.io/v2/homebrew/core/libxcb/blobs/sha256:73d103661722410b7789107ff2dc6d4290e6d6b3a48fe1311665bb4593110dc1
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/manifests/1.8.10
################################################################################################################################################################################################################################## 100.0%
==> Fetching libx11
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/blobs/sha256:5467d41501260e483586e9b05ed3137393f7faf7d49901c31bbeb0b25bd7caf5
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxext/manifests/1.3.6
################################################################################################################################################################################################################################## 100.0%
==> Fetching libxext
==> Downloading https://ghcr.io/v2/homebrew/core/libxext/blobs/sha256:50a9b29c594f9b93690466d66b52f2ac36461d956016b135a85d3dfbc883e336
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libxrender/manifests/0.9.11
################################################################################################################################################################################################################################## 100.0%
==> Fetching libxrender
==> Downloading https://ghcr.io/v2/homebrew/core/libxrender/blobs/sha256:387261107110957df83504ec68c9328d84b3ce5a1f2a8e01f7d8f9112d8372ad
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/lzo/manifests/2.10
################################################################################################################################################################################################################################## 100.0%
==> Fetching lzo
==> Downloading https://ghcr.io/v2/homebrew/core/lzo/blobs/sha256:167749edd2052e4c577f27c79a41eb1cb4b79302b1e4bef1e4cfb29bd50aedd9
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pixman/manifests/0.44.2
################################################################################################################################################################################################################################## 100.0%
==> Fetching pixman
==> Downloading https://ghcr.io/v2/homebrew/core/pixman/blobs/sha256:9864683edbe6d854ac00331ede5a69e8fcd624dda02d27c7e240a0c6b9e73feb
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cairo/manifests/1.18.2
################################################################################################################################################################################################################################## 100.0%
==> Fetching cairo
==> Downloading https://ghcr.io/v2/homebrew/core/cairo/blobs/sha256:8d7d5bc22a123340ce7092b9bf1438ce8e959157e38b784226f48b616a76122a
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/manifests/1.3.14
################################################################################################################################################################################################################################## 100.0%
==> Fetching graphite2
==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/blobs/sha256:4cdee055db9958e12662c53661fab627057d3553974d15b289e2955b439f4a9d
################################################################################################################################################################################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/76/manifests/76.1_1
################################################################################################################################################################################################################################## 100.0%
==> Fetching icu4c@76
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/76/blobs/sha256:38c00ad782ec16cf4c5b3439b15a38e11e8be3ffc5b029135cfff102e36bcfa3
################################################################################################################################################################################################################################## 100.0%
==> Fetching harfbuzz
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:e9f6cd76f2e41e47cbe68dbac40090588e0131914c204d4ac5b6c496eed7e072
################################################################################################################################################################################################################################## 100.0%
==> Reinstalling harfbuzz
==> Installing dependencies for harfbuzz: fontconfig, pcre2, python-packaging, mpdecimal, readline, sqlite, [email protected], glib, xorgproto, libxau, libxdmcp, libxcb, libx11, libxext, libxrender, lzo, pixman, cairo, graphite2 and icu4c@76
==> Installing harfbuzz dependency: fontconfig
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.15.0
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/33d176010dc9a105404ed23b6c0f8b853bf3a2df2e274876d412d7229a643320--fontconfig-2.15.0.bottle_manifest.json
==> Pouring fontconfig--2.15.0.arm64_sonoma.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /opt/homebrew/Cellar/fontconfig/2.15.0/bin/fc-cache -frv
🍺  /opt/homebrew/Cellar/fontconfig/2.15.0: 91 files, 2.4MB
==> Installing harfbuzz dependency: pcre2
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.44
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/22ed791461c5bf400adde8c3b432c1230866aa1db3c5cb81e06a6ff21cac96ee--pcre2-10.44.bottle_manifest.json
==> Pouring pcre2--10.44.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pcre2/10.44: 237 files, 6.3MB
==> Installing harfbuzz dependency: python-packaging
==> Downloading https://ghcr.io/v2/homebrew/core/python-packaging/manifests/24.2
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/a654ed84d67e434e714ac548959721dfcfc2297e1cb87be9237baee7632a2b76--python-packaging-24.2.bottle_manifest.json
==> Pouring python-packaging--24.2.all.bottle.tar.gz
🍺  /opt/homebrew/Cellar/python-packaging/24.2: 56 files, 491.3KB
==> Installing harfbuzz dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0-1
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/7b63c3b34bee402290af49fac829a6682ab45ea5c9258b6fe03b590a03a4c4a9--mpdecimal-4.0.0-1.bottle_manifest.json
==> Pouring mpdecimal--4.0.0.arm64_sonoma.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/mpdecimal/4.0.0: 22 files, 641.2KB
==> Installing harfbuzz dependency: readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.13
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/aa1afa38997a2866d91c81fdda8b36d436cd4ea7a82aed07d13c83c56eb3460e--readline-8.2.13.bottle_manifest.json
==> Pouring readline--8.2.13.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/readline/8.2.13: 51 files, 1.7MB
==> Installing harfbuzz dependency: sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.47.2
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/27ec8d19bd501f36464da50d9b2641d87015b451a6b81864afce75a247a2d3b1--sqlite-3.47.2.bottle_manifest.json
==> Pouring sqlite--3.47.2.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sqlite/3.47.2: 12 files, 4.9MB
==> Installing harfbuzz dependency: [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.1
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/949676e81ca77af5cb2668914c87d9f9b6738cd8440cda7bb57ccfd96bfe3397--python@3.13-3.13.1.bottle_manifest.json
==> Pouring [email protected]_sonoma.bottle.tar.gz
==> /opt/homebrew/Cellar/[email protected]/3.13.1/bin/python3.13 -Im ensurepip
==> /opt/homebrew/Cellar/[email protected]/3.13.1/bin/python3.13 -Im pip install -v --no-index --upgrade --isolated --target=/opt/homebrew/lib/python3.13/site-packages /opt/homebrew/Cellar/[email protected]/3.13.1/Frameworks/Python.framework/Ver
🍺  /opt/homebrew/Cellar/[email protected]/3.13.1: 3,269 files, 65.3MB
==> Installing harfbuzz dependency: glib
==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.82.3
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/f4fe27a283706fd8bdaa35a525714b553075a826574a5ab909774cd6b2325394--glib-2.82.3.bottle_manifest.json
==> Installing dependencies for glib: gettext
==> Installing glib dependency: gettext
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.23
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/877a628115309630ae1102dcba7021c03cfffcb1b3dc923224cfae218eba1929--gettext-0.23.bottle_manifest.json
==> Pouring gettext--0.23.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/gettext/0.23: 2,052 files, 22.4MB
==> Installing glib
==> Pouring glib--2.82.3.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/glib/2.82.3: 504 files, 36.3MB
==> Installing harfbuzz dependency: xorgproto
==> Downloading https://ghcr.io/v2/homebrew/core/xorgproto/manifests/2024.1
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/d89d69340366d1d015e7214520f64081e2d82d7955fb28c6ea5f6539dcb610b2--xorgproto-2024.1.bottle_manifest.json
==> Pouring xorgproto--2024.1.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/xorgproto/2024.1: 268 files, 3.9MB
==> Installing harfbuzz dependency: libxau
==> Downloading https://ghcr.io/v2/homebrew/core/libxau/manifests/1.0.11
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/7faff26297b2e07682655beaa529cff7b3de0ad1abc013863ca3d03602b79ee7--libxau-1.0.11.bottle_manifest.json
==> Pouring libxau--1.0.11.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxau/1.0.11: 22 files, 127.1KB
==> Installing harfbuzz dependency: libxdmcp
==> Downloading https://ghcr.io/v2/homebrew/core/libxdmcp/manifests/1.1.5
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/8713e53f73d0be64780dbea522b0ee07027e6cc7828ff1a4fa0a6596f14cfe25--libxdmcp-1.1.5.bottle_manifest.json
==> Pouring libxdmcp--1.1.5.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxdmcp/1.1.5: 12 files, 140.0KB
==> Installing harfbuzz dependency: libxcb
==> Downloading https://ghcr.io/v2/homebrew/core/libxcb/manifests/1.17.0
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/90067be44989a7a337e7fa793989a66b6f8bfc1edfc82925162cab273ee94879--libxcb-1.17.0.bottle_manifest.json
==> Pouring libxcb--1.17.0.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxcb/1.17.0: 2,498 files, 7.5MB
==> Installing harfbuzz dependency: libx11
==> Downloading https://ghcr.io/v2/homebrew/core/libx11/manifests/1.8.10
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/2e75e14e6bb3157688933738ae64e0dc86954ca8ef075737dda6b890d605d566--libx11-1.8.10.bottle_manifest.json
==> Pouring libx11--1.8.10.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libx11/1.8.10: 1,043 files, 7MB
==> Installing harfbuzz dependency: libxext
==> Downloading https://ghcr.io/v2/homebrew/core/libxext/manifests/1.3.6
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/fedb843acbfcf682fb451396914bfc096f9ea2748376d4c43ce2af7ce1b766b7--libxext-1.3.6.bottle_manifest.json
==> Pouring libxext--1.3.6.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxext/1.3.6: 88 files, 458.4KB
==> Installing harfbuzz dependency: libxrender
==> Downloading https://ghcr.io/v2/homebrew/core/libxrender/manifests/0.9.11
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/134c11be8346a1b116e04983c2da6366f29c4f4c2abc17604dcdb80d0475ae9d--libxrender-0.9.11.bottle_manifest.json
==> Pouring libxrender--0.9.11.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libxrender/0.9.11: 13 files, 221.8KB
==> Installing harfbuzz dependency: lzo
==> Downloading https://ghcr.io/v2/homebrew/core/lzo/manifests/2.10
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/d4aa5b0c239912c53bc857d1012c6b7feb4acb509618f5e100f95bf8521f08e7--lzo-2.10.bottle_manifest.json
==> Pouring lzo--2.10.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/lzo/2.10: 32 files, 568KB
==> Installing harfbuzz dependency: pixman
==> Downloading https://ghcr.io/v2/homebrew/core/pixman/manifests/0.44.2
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/710d020ae0348db5aff5d6dbdfd222dca000e630d64e8dcd5f8a8499e8131681--pixman-0.44.2.bottle_manifest.json
==> Pouring pixman--0.44.2.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pixman/0.44.2: 10 files, 655.6KB
==> Installing harfbuzz dependency: cairo
==> Downloading https://ghcr.io/v2/homebrew/core/cairo/manifests/1.18.2
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/9d3ab10478bcceef6fbed69d1a4f387b5d996a592bb1ccbf33e560e3d2d5e103--cairo-1.18.2.bottle_manifest.json
==> Pouring cairo--1.18.2.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/cairo/1.18.2: 53 files, 2.2MB
==> Installing harfbuzz dependency: graphite2
==> Downloading https://ghcr.io/v2/homebrew/core/graphite2/manifests/1.3.14
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/bbb4dd2ef1846301d1eb08053e19e11ca9c780f93f4d3b2d638fd94a9bf54a0c--graphite2-1.3.14.bottle_manifest.json
==> Pouring graphite2--1.3.14.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/graphite2/1.3.14: 19 files, 284.6KB
==> Installing harfbuzz dependency: icu4c@76
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/76/manifests/76.1_1
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/c105f8980d3a6b0ff0253b47492e886520580406ee75fa52509cf5b251b4d633--icu4c@76-76.1_1.bottle_manifest.json
==> Pouring [email protected]_1.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/icu4c@76/76.1_1: 277 files, 81MB
==> Installing harfbuzz
==> Pouring harfbuzz--10.1.0.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/harfbuzz/10.1.0: 77 files, 9.5MB
==> Running `brew cleanup harfbuzz`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Upgrading 1 dependent of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
git 2.45.1 -> 2.47.1
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.47.1
################################################################################################################################################################################################################################## 100.0%
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!

plus

 % brew reinstall freetype
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/manifests/2.13.3
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/4c4d14d574a7af9a5a0220cd5012c698bd87b75a3d5e39a6a6c34b4c411aab52--freetype-2.13.3.bottle_manifest.json
==> Fetching freetype
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/blobs/sha256:939f90de3dd92919020832ba03d6617a0d2ec9a8e185f6a2c518f149c7b299f4
Already downloaded: /Users/leocollado/Library/Caches/Homebrew/downloads/74eec62e9f292951d32047a5589ab60949d5ce0c8bc1608103785db9fc6b8036--freetype--2.13.3.arm64_sonoma.bottle.tar.gz
==> Reinstalling freetype
==> Pouring freetype--2.13.3.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/freetype/2.13.3: 68 files, 2.5MB
==> Running `brew cleanup freetype`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

then

> install.packages(c('systemfonts', 'textshaping'))
Warning: unable to access index for repository https://cloud.r-project.org/bin/macosx/big-sur-arm64/contrib/4.5:
  cannot open URL 'https://cloud.r-project.org/bin/macosx/big-sur-arm64/contrib/4.5/PACKAGES'
Packages which are only available in source form, and may need
  compilation of C/C++/Fortran:systemfonts’ ‘textshapingDo you want to attempt to install these from sources? (Yes/no/cancel) y
installing the source packagessystemfonts’, ‘textshapingtrying URL 'https://cloud.r-project.org/src/contrib/systemfonts_1.1.0.tar.gz'
trying URL 'https://cloud.r-project.org/src/contrib/textshaping_0.4.1.tar.gz'
Loading required package: colorout
* installing *source* packagesystemfonts...
** packagesystemfontssuccessfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16
Using PKG_LIBS=-L/opt/homebrew/opt/freetype/lib -L/opt/homebrew/opt/libpng/lib -lfreetype -lbz2 -lpng16 -lz
** libs
using C++ compiler:Apple clang version 15.0.0 (clang-1500.3.9.4)’
using SDK:MacOSX14.4.sdkrm -f systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o mac/FontManagerMac.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c caches.cpp -o caches.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c cpp11.cpp -o cpp11.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c dev_metrics.cpp -o dev_metrics.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c font_matching.cpp -o font_matching.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c font_registry.cpp -o font_registry.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c ft_cache.cpp -o ft_cache.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c string_shape.cpp -o string_shape.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c font_metrics.cpp -o font_metrics.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c font_fallback.cpp -o font_fallback.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c string_metrics.cpp -o string_metrics.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c emoji.cpp -o emoji.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c cache_store.cpp -o cache_store.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -DR_NO_REMAP -c init.cpp -o init.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/opt/freetype/include/freetype2 -I/opt/homebrew/opt/libpng/include/libpng16 -I'/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/cpp11/include' -I/opt/R/arm64/include   -fobjc-arc -fPIC   -c mac/FontManagerMac.mm -o mac/FontManagerMac.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o systemfonts.so caches.o cpp11.o dev_metrics.o font_matching.o font_registry.o ft_cache.o string_shape.o font_metrics.o font_fallback.o string_metrics.o emoji.o cache_store.o init.o mac/FontManagerMac.o -L/opt/homebrew/opt/freetype/lib -L/opt/homebrew/opt/libpng/lib -lfreetype -lbz2 -lpng16 -lz -framework CoreText -framework Foundation -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-systemfonts/00new/systemfonts/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Loading required package: colorout
** help
*** installing help indices
*** copying figures
** building package indices
Loading required package: colorout
** installing vignettes
** testing if installed package can be loaded from temporary location
Loading required package: colorout
Error: package or namespace load failed forsystemfontsin dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so, 0x0006): symbol not found in flat namespace '_hb_blob_create'
Error: loading failed
Execution halted
ERROR: loading failed
* removing/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/systemfontsLoading required package: colorout
ERROR: dependencysystemfontsis not available for packagetextshapingPerhaps try a variation of:
install.packages('systemfonts')
* removing/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/textshapingThe downloaded source packages are in/private/var/folders/_2/hqcmhc1d1bl3lqxgcrkpv8_00000gn/T/RtmpQ38Zsc/downloaded_packagesWarning messages:
1: In install.packages(c("systemfonts", "textshaping")) :
  installation of packagesystemfontshad non-zero exit status
2: In install.packages(c("systemfonts", "textshaping")) :
  installation of packagetextshapinghad non-zero exit status
>
> sessionInfo()
R Under development (unstable) (2024-12-07 r87428)
Platform: aarch64-apple-darwin20
Running under: macOS Sonoma 14.5

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] testthat_3.2.2 usethis_3.1.0  colorout_1.3-2

loaded via a namespace (and not attached):
 [1] compiler_4.5.0    R6_2.5.1          magrittr_2.0.3    cli_3.6.3
 [5] tools_4.5.0       fs_1.6.5          glue_1.8.0        vctrs_0.6.5
 [9] brio_1.1.5        lifecycle_1.0.4   rlang_1.1.4       prompt_1.0.2.9000
[13] purrr_1.0.2
>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants