/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -pthread -Wl,-O1 -Wl,--as-needed -o testgdi testgdi.o ../src/libgdiplus.la -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -lfreetype -lXrender -lX11 -L/lib -ljpeg -ltiff -lgif -lpng -lz -lexif libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -pthread -Wl,-O1 -Wl,--as-needed -o .libs/testgdi testgdi.o ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lcairo -lfontconfig -lfreetype -lXrender -lX11 -L/lib -ljpeg -ltiff -lgif -lpng -lz -lexif -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../src/.libs/libgdiplus.so: undefined reference to `GifQuantizeBuffer' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:622: testgdi] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-dotnet/libgdiplus-4.2-r3/work/libgdiplus-4.2/tests' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma-systemd_test_20190328-000152 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) [3] pypy3 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.10.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO dev-dotnet/libgdiplus [ebuild N ] dev-dotnet/libgdiplus-4.2-r3 USE="cairo"
Created attachment 571270 [details] emerge-info.txt
Created attachment 571272 [details] dev-dotnet:libgdiplus-4.2-r3:20190330-150959.log
Created attachment 571274 [details] emerge-history.txt
Created attachment 571276 [details] environment
Created attachment 571278 [details] etc.portage.tbz2
Created attachment 571280 [details] logs.tbz2
Created attachment 571282 [details] temp.tbz2
just happened on my machine, too. downgrading from media-libs/giflib-5.1.9 to media-libs/giflib-5.1.8-r1 made it build again
Not sure who needs to fix, but giflib made changes. Looks like in 5.1.9 they split the libgif.so shared library into libgif.so and libutil.so and put the deprecated function (GifQuantizeBuffer) into the libutil.so. Then the Makefile for giflib only installs libgif.so (but to be fair, they did say to stop using it around 2014) It can be hacked by adding back in the functions by modifying the Makefile < libgif.so: $(OBJECTS) $(HEADERS) < $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) --- > libgif.so: $(OBJECTS) $(HEADERS) $(UOBJECTS) > $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) $(UOBJECTS) But should libgdiplus fix for a newer lib? or giflib add it back in? I'll try to add something for graphics@gentoo.org
same problem solve with downgrading to media-libs/giflib-5.1.8
same problem, breaking emptytrees
libgdiplus has an issue open for this here: https://github.com/mono/libgdiplus/issues/546
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8601f2c99c0468872c49a70aa2dab55892f79f5f commit 8601f2c99c0468872c49a70aa2dab55892f79f5f Author: Stefan Strogin <steils@gentoo.org> AuthorDate: 2019-08-20 12:10:34 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2019-08-20 12:10:42 +0000 dev-dotnet/libgdiplus: bump version to 6.0.2 Closes: https://bugs.gentoo.org/609760 Closes: https://bugs.gentoo.org/682068 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Stefan Strogin <steils@gentoo.org> dev-dotnet/libgdiplus/Manifest | 1 + dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+)