Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917555 - net-libs/gupnp-1.4.3 - ../.../gupnp-xml-doc.c: error: XML_PARSE_PEDANTIC undeclared (first use in this function)
Summary: net-libs/gupnp-1.4.3 - ../.../gupnp-xml-doc.c: error: XML_PARSE_PEDANTIC unde...
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: 2023-11-18 09:34 UTC by Toralf Förster
Modified: 2024-01-16 03:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.78 KB, text/plain)
2023-11-18 09:34 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,101.74 KB, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details
environment (environment,150.68 KB, text/plain)
2023-11-18 09:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.06 KB, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.89 KB, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details
net-libs:gupnp-1.4.3:20231118-031221.log (net-libs:gupnp-1.4.3:20231118-031221.log,34.16 KB, text/plain)
2023-11-18 09:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,101.55 KB, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.17 KB, application/x-xz)
2023-11-18 09:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-18 09:34:00 UTC
too long lines were shrinked:

 1564 |         doc = xmlRecoverMemory (msg->request_body->data,
      |             ^
[26/39] x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.2.so.1.104.3.p -Ilibgupnp -I../gupnp-1.4.3/libgupnp -I. -I../gupnp-1.4.3 -Iinternal -I../gupnp-1.4.3/internal -Isubprojects/guul -I../gupnp-1.4.3/subprojects/guul -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -
FAILED: libgupnp/libgupnp-1.2.so.1.104.3.p/gupnp-xml-doc.c.o 
x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.2.so.1.104.3.p -Ilibgupnp -I../gupnp-1.4.3/libgupnp -I. -I../gupnp-1.4.3 -Iinternal -I../gupnp-1.4.3/internal -Isubprojects/guul -I../gupnp-1.4.3/subprojects/guul -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/in
../gupnp-1.4.3/libgupnp/gupnp-xml-doc.c: In function gupnp_xml_doc_new_from_path:
../gupnp-1.4.3/libgupnp/gupnp-xml-doc.c:113:17: error: XML_PARSE_PEDANTIC undeclared (first use in this function)
  113 |         flags = XML_PARSE_PEDANTIC;
      |                 ^~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20231110-113338

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 43831fce2f16c748c898765e92b87df7f121f9ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 18 01:47:04 2023 +0000

    2023-11-18 01:47:03 UTC

emerge -qpvO net-libs/gupnp
[ebuild   R   ] net-libs/gupnp-1.6.6  USE="connman introspection vala -gtk-doc -networkmanager" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-11-18 09:34:01 UTC
Created attachment 875104 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-18 09:34:02 UTC
Created attachment 875105 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-18 09:34:03 UTC
Created attachment 875106 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-18 09:34:04 UTC
Created attachment 875107 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-18 09:34:05 UTC
Created attachment 875108 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-18 09:34:06 UTC
Created attachment 875109 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-18 09:34:07 UTC
Created attachment 875110 [details]
net-libs:gupnp-1.4.3:20231118-031221.log
Comment 8 Toralf Förster gentoo-dev 2023-11-18 09:34:09 UTC
Created attachment 875111 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-18 09:34:10 UTC
Created attachment 875112 [details]
temp.tar.xz
Comment 10 Kostadin Shishmanov 2024-01-12 18:38:15 UTC
Upstream commit that should fix the issue: https://gitlab.gnome.org/GNOME/gupnp/-/commit/00514fb62ebd341803fa44e26a6482a8c25dbd34
Comment 11 Larry the Git Cow gentoo-dev 2024-01-16 03:19:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bedc298560e0331a73f8ca95e8a5e02bbd5ecaee

commit bedc298560e0331a73f8ca95e8a5e02bbd5ecaee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-16 03:04:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-16 03:14:39 +0000

    net-libs/gupnp: fix build w/ libxml2-2.12
    
    Closes: https://bugs.gentoo.org/917555
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gupnp/files/gupnp-1.4.3-libxml2-2.12.patch     | 63 +++++++++++++++++++++
 .../gupnp/files/gupnp-1.6.6-libxml2-2.12.patch     | 66 ++++++++++++++++++++++
 net-libs/gupnp/gupnp-1.4.3.ebuild                  |  3 +-
 net-libs/gupnp/gupnp-1.6.6.ebuild                  |  4 ++
 4 files changed, 135 insertions(+), 1 deletion(-)