Summary: | media-libs/simage-1.7.1a_beta_pre20180312 : /.../ld: libsimage.so.1.7.1a: undefined reference to GifQuantizeBuffer | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fordfrog, phobosk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/p/giflib/bugs/132/ https://bitbucket.org/Coin3D/simage/issues/2/simage-171-does-not-compile-with-new | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=698882 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 media-libs:simage-1.7.1a_beta_pre20180312:20190531-154247.log temp.tbz2 |
Description
Toralf Förster
2019-05-31 16:58:27 UTC
Created attachment 578214 [details]
emerge-info.txt
Created attachment 578216 [details]
emerge-history.txt
Created attachment 578218 [details]
environment
Created attachment 578220 [details]
etc.portage.tbz2
Created attachment 578222 [details]
logs.tbz2
Created attachment 578224 [details]
media-libs:simage-1.7.1a_beta_pre20180312:20190531-154247.log
Created attachment 578226 [details]
temp.tbz2
This seems to happen because medis-libs/giflib (5.1.9 in my case) doesn't install libutil.*, where that symbol is defined, or quantize.o isn't linked into libgif.*. As I don't know if the miss of symbol GifQuantizeBuffer in giflib is intended or not, one solution could be to avoid the use of that in simage (don't even know if it's easily possible). Otherwise it's simple to patch the Makefile there (can provide patch for that). Solved by adding quantize.c to SOURCES in Makefile --- Makefile.orig 2019-10-18 19:36:10.000000000 +0300 +++ Makefile 2019-10-18 19:36:17.000000000 +0300 @@ -29,7 +29,7 @@ LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT) SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \ - gif_hash.c openbsd-reallocarray.c + gif_hash.c openbsd-reallocarray.c quantize.c HEADERS = gif_hash.h gif_lib.h gif_lib_private.h OBJECTS = $(SOURCES:.c=.o) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf3b048f150e28d08d1ba12cbaf22f6135cd552 commit cbf3b048f150e28d08d1ba12cbaf22f6135cd552 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-16 13:54:01 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-16 13:54:51 +0000 media-libs/simage-1.7.1: bump 1) removed not needed stuff from simage-1.7.1-cmake-automagic-deps.patch 2) disabling check that uses GifQuantizeBuffer (see #687088, #682198) 3) added simage-1.7.1-fix-examples-linking.patch for fixing linking issues 4) reintroduced ~sparc 5) removed buggy simage-1.7.1a_beta_pre20180312.ebuild (see 2)) Bug: https://bugs.gentoo.org/682198 Closes: https://bugs.gentoo.org/687088 Closes: https://bugs.gentoo.org/698882 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-libs/simage/Manifest | 2 +- .../files/simage-1.7.1-cmake-automagic-deps.patch | 498 ++------------------- .../simage-1.7.1-disable-gif-quantize-buffer.patch | 31 ++ .../files/simage-1.7.1-fix-examples-linking.patch | 22 + ...beta_pre20180312.ebuild => simage-1.7.1.ebuild} | 19 +- 5 files changed, 108 insertions(+), 464 deletions(-) |