Relevant part of the build log: x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation -shared -Wl,-dead_strip_dylibs -Wl,-soname,libgif.so.7 -o libgif.so dgif_lib.o egif_lib.o getarg.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o qprintf.o quantize.o ar rcs libgif.a dgif_lib.o egif_lib.o getarg.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o qprintf.o quantize.o x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation -Wl,-dead_strip_dylibs gif2rgb.c libgif.a libgif.a -lm -o gif2rgb x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation -Wl,-dead_strip_dylibs gifbuild.c libgif.a libgif.a -lm -o gifbuild x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation -Wl,-dead_strip_dylibs gifecho.c libgif.a libgif.a -lm -o gifecho ld: unknown option: -soname clang-7: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:68: libgif.so] Error 1 make: *** Waiting for unfinished jobs.... warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] Note, giflib-5.1.4-r2 is installed and is not affected by this.
This is filed upstream at https://sourceforge.net/p/giflib/bugs/133
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93c780dc88bbef2fee097e1e045eb25d0c5f0c5 commit a93c780dc88bbef2fee097e1e045eb25d0c5f0c5 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-01-14 12:23:40 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-01-14 12:28:34 +0000 media-libs/giflib: drop *-macos, bug #680110 buildsystem insists on ELF handling, patching it for Mach-O isn't trivial. Upstream bug exists, with patch, but that one isn't trivial either reflecting current state of things, we cannot build this on macOS Closes: https://bugs.gentoo.org/680110 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> media-libs/giflib/giflib-5.2.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)