Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923394 - app-office/abiword-3.0.5 fails to compile: ut_stringbuf.cpp:578:17: error: xmlFree was not declared in this scope
Summary: app-office/abiword-3.0.5 fails to compile: ut_stringbuf.cpp:578:17: error: xm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-01-31 08:15 UTC by Agostino Sarubbo
Modified: 2024-03-02 22:04 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,374.16 KB, text/plain)
2024-01-31 08:15 UTC, Agostino Sarubbo
Details
patch to fix xmlFreeURI call (xml.patch,382 bytes, patch)
2024-02-12 12:20 UTC, milan hodoscek
Details | Diff
Build log (build.log,311.40 KB, text/x-log)
2024-02-24 17:16 UTC, armouredheart
Details
output of emerge --info (emergeinfo.txt,16.47 KB, text/plain)
2024-02-24 17:17 UTC, armouredheart
Details
output of emerge -pqv app-office/abiword (emergepretend.txt,461 bytes, text/plain)
2024-02-24 17:18 UTC, armouredheart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-31 08:15:16 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-31 08:15:19 UTC
Created attachment 883777 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-31 08:15:20 UTC
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'?
Comment 3 milan hodoscek 2024-02-12 12:20:58 UTC
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
Comment 4 armouredheart 2024-02-24 17:15:21 UTC
I can confirm that this bug exists on amd64 as well.
Comment 5 armouredheart 2024-02-24 17:16:10 UTC
Created attachment 885892 [details]
Build log
Comment 6 armouredheart 2024-02-24 17:17:28 UTC
Created attachment 885893 [details]
output of  emerge --info
Comment 7 armouredheart 2024-02-24 17:18:34 UTC
Created attachment 885894 [details]
output of emerge -pqv app-office/abiword
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2024-02-28 09:15:40 UTC
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
Comment 10 Larry the Git Cow gentoo-dev 2024-03-02 22:04:28 UTC
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(-)