Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907384 - net-misc/gupnp-tools-0.12.0-r1 - ../.../pretty-print.c: error: xmlRecoverMemory is deprecated [-Werror=deprecated-declarations]
Summary: net-misc/gupnp-tools-0.12.0-r1 - ../.../pretty-print.c: error: xmlRecoverMemo...
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:
Depends on:
Blocks: werror 905399
  Show dependency tree
 
Reported: 2023-05-29 20:00 UTC by Toralf Förster
Modified: 2023-06-03 02:00 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.68 KB, text/plain)
2023-05-29 20:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,138.86 KB, text/plain)
2023-05-29 20:00 UTC, Toralf Förster
Details
environment (environment,100.18 KB, text/plain)
2023-05-29 20:00 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,737 bytes, application/x-bzip)
2023-05-29 20:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.82 KB, application/x-bzip)
2023-05-29 20:00 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.96 KB, application/x-bzip)
2023-05-29 20:00 UTC, Toralf Förster
Details
net-misc:gupnp-tools-0.12.0-r1:20230529-195723.log (net-misc:gupnp-tools-0.12.0-r1:20230529-195723.log,14.44 KB, text/plain)
2023-05-29 20:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.34 KB, application/x-bzip)
2023-05-29 20:00 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-29 20:00:47 UTC
too long lines were shrinked:

[6/72] /usr/bin/glib-compile-resources /var/tmp/portage/net-misc/gupnp-tools-0.12.0-r1/work/gupnp-tools-0.12.0/data/org.gupnp.Tools.AV-CP.gresource.xml --sourcedir /var/tmp/portage/net-misc/gupnp-tools-0.12.0-r1/work/gupnp-tools-0.12.0/data --sourcedir data --sourcedir ../gupnp-tools-0.12.0/src/av-c
[7/72] /usr/bin/glib-compile-resources /var/tmp/portage/net-misc/gupnp-tools-0.12.0-r1/work/gupnp-tools-0.12.0/data/org.gupnp.Tools.AV-CP.gresource.xml --sourcedir /var/tmp/portage/net-misc/gupnp-tools-0.12.0-r1/work/gupnp-tools-0.12.0/data --sourcedir data --sourcedir ../gupnp-tools-0.12.0/src/av-c
[8/72] x86_64-pc-linux-gnu-gcc -Isrc/common/libutil.a.p -Isrc/common -I../gupnp-tools-0.12.0/src/common -I. -I../gupnp-tools-0.12.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/inclu
FAILED: src/common/libutil.a.p/pretty-print.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/common/libutil.a.p -Isrc/common -I../gupnp-tools-0.12.0/src/common -I. -I../gupnp-tools-0.12.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -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/blki
../gupnp-tools-0.12.0/src/common/pretty-print.c: In function 'pretty_print_xml':
../gupnp-tools-0.12.0/src/common/pretty-print.c:37:9: error: 'xmlRecoverMemory' is deprecated [-Werror=deprecated-declarations]
   37 |         doc = xmlRecoverMemory (xml, strlen (xml));
      |         ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j5-20230527-234505

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

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.4
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.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit c7a923f893b2319714b0729c7360fd1df54a998f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 29 19:02:02 2023 +0000

    2023-05-29 19:02:01 UTC

emerge -qpvO net-misc/gupnp-tools
[ebuild  N    ] net-misc/gupnp-tools-0.12.0-r1
Comment 1 Toralf Förster gentoo-dev 2023-05-29 20:00:48 UTC
Created attachment 862855 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-29 20:00:49 UTC
Created attachment 862856 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-29 20:00:50 UTC
Created attachment 862857 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-29 20:00:51 UTC
Created attachment 862858 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-29 20:00:52 UTC
Created attachment 862859 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-29 20:00:53 UTC
Created attachment 862860 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-29 20:00:54 UTC
Created attachment 862861 [details]
net-misc:gupnp-tools-0.12.0-r1:20230529-195723.log
Comment 8 Toralf Förster gentoo-dev 2023-05-29 20:00:55 UTC
Created attachment 862862 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-06-03 02:00:12 UTC
The bug has been closed via the following commit(s):

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

commit ba8214a9700716349d8d7a3c8543889ced116c3d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-03 01:59:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-03 01:59:54 +0000

    net-misc/gupnp-tools: drop unnecessary (for us) -Werror=deprecated-declarations
    
    Fixes build w/ new libxml2.
    
    Closes: https://bugs.gentoo.org/907384
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/gupnp-tools/gupnp-tools-0.12.0-r1.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)