Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906124 - net-libs/gupnp-1.6.3 - ../.../gupnp-control-point.c: error: xmlRecoverMemory is deprecated [-Werror=deprecated-declarations]
Summary: net-libs/gupnp-1.6.3 - ../.../gupnp-control-point.c: error: xmlRecoverMemory ...
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:
: 906245 (view as bug list)
Depends on:
Blocks: werror 905399
  Show dependency tree
 
Reported: 2023-05-11 08:14 UTC by Toralf Förster
Modified: 2023-05-30 01:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.85 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,98.42 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
environment (environment,127.41 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,713 bytes, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.41 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.89 KB, application/x-bzip)
2023-05-11 08:14 UTC, Toralf Förster
Details
net-libs:gupnp-1.6.3:20230511-015010.log (net-libs:gupnp-1.6.3:20230511-015010.log,19.73 KB, text/plain)
2023-05-11 08:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.86 KB, application/x-bzip)
2023-05-11 08:14 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-05-11 08:14:15 UTC
too long lines were shrinked:

[9/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.6.so.0.106.3.p -Ilibgupnp -I../gupnp-1.6.3/libgupnp -I. -I../gupnp-1.6.3 -Iinternal -I../gupnp-1.6.3/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/inc
[10/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.6.so.0.106.3.p -Ilibgupnp -I../gupnp-1.6.3/libgupnp -I. -I../gupnp-1.6.3 -Iinternal -I../gupnp-1.6.3/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/in
[11/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.6.so.0.106.3.p -Ilibgupnp -I../gupnp-1.6.3/libgupnp -I. -I../gupnp-1.6.3 -Iinternal -I../gupnp-1.6.3/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/in
FAILED: libgupnp/libgupnp-1.6.so.0.106.3.p/gupnp-control-point.c.o 
x86_64-pc-linux-gnu-gcc -Ilibgupnp/libgupnp-1.6.so.0.106.3.p -Ilibgupnp -I../gupnp-1.6.3/libgupnp -I. -I../gupnp-1.6.3 -Iinternal -I../gupnp-1.6.3/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/li
../gupnp-1.6.3/libgupnp/gupnp-control-point.c: In function got_description_url:
../gupnp-1.6.3/libgupnp/gupnp-control-point.c:633:17: error: xmlRecoverMemory is deprecated [-Werror=deprecated-declarations]
  633 |                 xml_doc = xmlRecoverMemory (body_data, length);
      |                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20230502-114505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.3
Python 3.11.3
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
4)	Eclipse Temurin JRE 8.362_p09 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-8 
  [4]   openjdk-jre-bin-17  system-vm

php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit b095dfcca9444665688e9099349217d3186863b5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 10 23:47:00 2023 +0000

    2023-05-10 23:46:59 UTC

emerge -qpvO net-libs/gupnp
[ebuild  NS   ] net-libs/gupnp-1.6.3 [1.4.3] USE="introspection vala* -connman -gtk-doc -networkmanager" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-05-11 08:14:16 UTC
Created attachment 861487 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-11 08:14:17 UTC
Created attachment 861488 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-05-11 08:14:19 UTC
Created attachment 861489 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-11 08:14:19 UTC
Created attachment 861490 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-11 08:14:20 UTC
Created attachment 861491 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-11 08:14:21 UTC
Created attachment 861492 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-11 08:14:22 UTC
Created attachment 861493 [details]
net-libs:gupnp-1.6.3:20230511-015010.log
Comment 8 Toralf Förster gentoo-dev 2023-05-11 08:14:23 UTC
Created attachment 861494 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-11 10:51:40 UTC
This shouldn't be building with -Werror=deprecated-declarations in production.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-12 23:39:47 UTC
Fixed upstream in https://gitlab.gnome.org/GNOME/gupnp/-/commit/80e68995b745a5900eaaa1d0c424d3a9d354e42d but I'd rather just drop the -Werror=... here given it might change behaviour.
Comment 11 Larry the Git Cow gentoo-dev 2023-05-12 23:50:52 UTC
The bug has been closed via the following commit(s):

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

commit 9aaeb2819e2d977be47f05552d554bf5bb9a45ff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-12 23:40:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-12 23:40:07 +0000

    net-libs/gupnp: drop -Werror=deprecated-declarations to fix build w/ libxml2-2.11
    
    Closes: https://bugs.gentoo.org/906124
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/gupnp/gupnp-1.6.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-05-13 00:43:49 UTC
The bug has been referenced in the following commit(s):

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

commit be77a0270a9a4ac15a0b142bf86b8186657e099c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-13 00:28:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-13 00:41:27 +0000

    net-libs/gupnp: backport -Werror fix
    
    Bug: https://bugs.gentoo.org/906124
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/gupnp/gupnp-1.4.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-13 06:01:14 UTC
*** Bug 906245 has been marked as a duplicate of this bug. ***