Homebrew fails to to install FontForge due to libpng test

Paul Klissner <[email protected]> Wed, 9 Jan 2019 18:39:04 -0800
Newsgroups gmane.comp.graphics.png.devel
Message-ID <[email protected]>
The dump says to report this problem to this email address.
Did this this on macOS Mojave 10.14.2




imac:~> brew install fontbuilder
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
esptool             libnova             nqp                 switch-lan-play
hexyl               moarvm              rakudo
==> Updated Formulae
boost ✔             emscripten          libpsl              nvm
node ✔              erlang@20           libsodium           openconnect
qemu ✔              eslint              llvm                picard-tools
vim ✔               exiv2               [email protected]            primesieve
wget ✔              exploitdb           llvm@4              rabbitmq
akamai              fonttools           llvm@5              rebar3
alexjs              fselect             llvm@6              restic
amqp-cpp            gcc@6               lmod                rust
aws-sdk-cpp         geeqie              lsdvd               serverless
azure-cli           gexiv2              lxc                 sox
bash                git-quick-stats     mariadb             sqlmap
bat                 grv                 mercurial           swiftlint
bettercap           hcloud              mkcert              telegraf
bitrise             jabba               mkclean             tor
brew-php-switcher   jenkins             mkvtoolnix          urdfdom_headers
buildifier          kitchen-sync        mplayer             vegeta
chakra              less                mutt                whois
citus               libetpan            nativefier          wp-cli-completion
clang-format        libgxps             neofetch            wtf
conan               libidn2             node@10             yarn
console_bridge      libmicrohttpd       node@6              zile
ed                  libphonenumber      node@8
==> Deleted Formulae
cctools                    cctools-headers            ld64

/usr/local/Homebrew/Library/Homebrew/config.rb:39:in `initialize': no implicit conversion of nil into String (TypeError)
	from /usr/local/Homebrew/Library/Homebrew/config.rb:39:in `new'
	from /usr/local/Homebrew/Library/Homebrew/config.rb:39:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/global.rb:25:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:13:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:13:in `<main>'
imac:~> brew install fontforge
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).

==> Installing dependencies for fontforge: libpng, freetype, fontconfig, pcre, glib, pixman, cairo, giflib, jpeg, libspiro, libtiff, libuninameslist, fribidi, graphite2, icu4c, harfbuzz, pango and python@2
==> Installing fontforge dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.36.mojave.bottle
######################################################################## 100.0%
==> Pouring libpng-1.6.36.mojave.bottle.tar.gz
cp: utimes: /usr/local/Cellar/libpng/.: Operation not permitted
cp: chmod: /usr/local/Cellar/libpng/.: Operation not permitted
Error: Failure while executing; `cp -pR /var/folders/8j/cmf3w9mn2js68vmhyvgzl78r0000gn/T/d20190109-10594-21catu/libpng/. /usr/local/Cellar/libpng` exited with 1. Here's the output:
cp: utimes: /usr/local/Cellar/libpng/.: Operation not permitted
cp: chmod: /usr/local/Cellar/libpng/.: Operation not permitted

Warning: Bottle installation failed: building from source.
==> Downloading https://downloads.sourceforge.net/libpng/libpng-1.6.36.tar.xz
==> Downloading from https://cytranet.dl.sourceforge.net/project/libpng/libpng16
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libpng/1.6.36
==> make
==> make test
Last 15 lines from /Users/paul/Library/Logs/Homebrew/libpng/03.make:
============================================================================
# TOTAL: 33
# PASS:  32
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
============================================================================
make[2]: *** [test-suite.log] Error 1
make[1]: *** [check-TESTS] Error 2
make: *** [check-am] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help:
`libpng` v1.6.36 Fails to Finish `brew link`ing on OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/35269 <https://github.com/Homebrew/homebrew-core/issues/35269>

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement