https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-office/abiword-3.0.5 fails to compile. Discovered on: arm64 (internal ref: tinderbox_arm64) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 883777 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: configure: WARNING: Plugin svg does not exist. ut_stringbuf.cpp:578:17: error: 'xmlFree' was not declared in this scope; did you mean 'xmlFreeURI'?
Created attachment 884800 [details, diff] patch to fix xmlFreeURI call This patch is suggested by the compiler. Just put it on /etc/portage/patches/app-office/abiword directory
I can confirm that this bug exists on amd64 as well.
Created attachment 885892 [details] Build log
Created attachment 885893 [details] output of emerge --info
Created attachment 885894 [details] output of emerge -pqv app-office/abiword
Seen on the buildhost ude/sysprof-4 -pthread -I/usr/include/libsecret-1 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_0 -I/usr/include -I../../../.. -I../../../../src/af/ev/gtk -I../../../../src/af/ev/xp -I../../../../src/af/gr/gtk -I../../../../src/af/gr/xp -I../../../../src/af/util/unix -I../../../../src/af/util/xp -I../../../../src/af/xap/gtk -I../../../../src/af/xap/xp -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wformat-overflow=2 -Wunused -Wpointer-arith -Wshadow -O2 -pipe -march=x86-64 -mtune=generic -Wno-overloaded-virtual -c -o ut_wctomb.lo ut_wctomb.cpp ut_stringbuf.cpp: In member function 'void UT_UTF8Stringbuf::escapeURL()': ut_stringbuf.cpp:578:17: error: 'xmlFree' was not declared in this scope; did you mean 'xmlFreeURI'? 578 | xmlFree(uri); | ^~~~~~~ | xmlFreeURI /bin/sh ../../../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../../.. -I/usr/include/libpng16 -I/usr/include/wv -I/usr/include/enchant-2 -I/usr/include/libgoffice-0.10 -I/usr/include/libgsf-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/evolution-data-server -I/usr/include/libsoup-3.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/librsvg-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/sysprof-4 -pthread -I/usr/include/libsecret-1 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_0 -I/usr/include -I../../../.. -I../../../../src/af/ev/gtk -I../../../../src/af/ev/xp -I../../../../src/af/gr/gtk -I../../../../src/af/gr/xp -I../../../../src/af/util/unix -I../../../../src/af/util/xp -I../../../../src/af/xap/gtk -I../../../../src/af/xap/xp -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wformat-overflow=2 -Wun
https://gitlab.gnome.org/World/AbiWord/-/commit/2a06be6a10a0718f8a3d8e00c317f5042c99a467
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbdb0fc566d1ce9d924685dc186b26177055678 commit 1bbdb0fc566d1ce9d924685dc186b26177055678 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-02 22:04:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-02 22:04:08 +0000 app-office/abiword: fix build w/ libxml2-2.12 Closes: https://bugs.gentoo.org/923394 Signed-off-by: Sam James <sam@gentoo.org> ...biword-3.0.5.ebuild => abiword-3.0.5-r1.ebuild} | 3 ++- .../abiword/files/abiword-3.0.5-libxml2-2.12.patch | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-)