Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906641 - net-libs/gupnp-av-0.14.1-r1 - ../.../gupnp-didl-lite-parser.c: error: xmlRecoverMemory is deprecated [-Werror=deprecated-declarati
Summary: net-libs/gupnp-av-0.14.1-r1 - ../.../gupnp-didl-lite-parser.c: error: xmlReco...
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-17 18: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,17.35 KB, text/plain)
2023-05-17 18:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,16.05 KB, text/plain)
2023-05-17 18:14 UTC, Toralf Förster
Details
environment (environment,98.81 KB, text/plain)
2023-05-17 18:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.60 KB, application/x-bzip)
2023-05-17 18:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.55 KB, application/x-bzip)
2023-05-17 18:14 UTC, Toralf Förster
Details
net-libs:gupnp-av-0.14.1-r1:20230516-221817.log (net-libs:gupnp-av-0.14.1-r1:20230516-221817.log,27.78 KB, text/plain)
2023-05-17 18:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.64 KB, application/x-bzip)
2023-05-17 18: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-17 18:14:24 UTC
too long lines were shrinked:

[12/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp-av/libgupnp-av-1.0.so.3.14.1.p -Ilibgupnp-av -I../gupnp-av-0.14.1/libgupnp-av -Iinternal -I../gupnp-av-0.14.1/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -fdiagnostics-color=always -D_FIL
[13/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp-av/libgupnp-av-1.0.so.3.14.1.p -Ilibgupnp-av -I../gupnp-av-0.14.1/libgupnp-av -Iinternal -I../gupnp-av-0.14.1/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -fdiagnostics-color=always -D_FIL
[14/48] x86_64-pc-linux-gnu-gcc -Ilibgupnp-av/libgupnp-av-1.0.so.3.14.1.p -Ilibgupnp-av -I../gupnp-av-0.14.1/libgupnp-av -Iinternal -I../gupnp-av-0.14.1/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -fdiagnostics-color=always -D_FIL
FAILED: libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-parser.c.o 
x86_64-pc-linux-gnu-gcc -Ilibgupnp-av/libgupnp-av-1.0.so.3.14.1.p -Ilibgupnp-av -I../gupnp-av-0.14.1/libgupnp-av -Iinternal -I../gupnp-av-0.14.1/internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET
../gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c: In function gupnp_didl_lite_parser_parse_didl_recursive:
../gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c:233:9: error: xmlRecoverMemory is deprecated [-Werror=deprecated-declarations]
  233 |         doc = xmlRecoverMemory (didl, strlen (didl));
      |         ^~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit f26db60bdfeb92163b2a7f46186d921e608747ab
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue May 16 21:17:01 2023 +0000

    2023-05-16 21:17:00 UTC

emerge -qpvO net-libs/gupnp-av
[ebuild  N    ] net-libs/gupnp-av-0.14.1-r1  USE="introspection -gtk-doc -vala"
Comment 1 Toralf Förster gentoo-dev 2023-05-17 18:14:25 UTC
Created attachment 861846 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-17 18:14:26 UTC
Created attachment 861847 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-17 18:14:27 UTC
Created attachment 861848 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-17 18:14:28 UTC
Created attachment 861849 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-17 18:14:29 UTC
Created attachment 861850 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-17 18:14:30 UTC
Created attachment 861851 [details]
net-libs:gupnp-av-0.14.1-r1:20230516-221817.log
Comment 7 Toralf Förster gentoo-dev 2023-05-17 18:14:31 UTC
Created attachment 861852 [details]
temp.tar.bz2
Comment 8 Martin Regner 2023-05-21 20:32:24 UTC
As in bug 906124 following patch works:

diff --git a/usr/portage/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild b/usr/local/portage/net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild
index 08a912b..db2f29c 100644
--- a/usr/portage/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild
+++ b/usr/local/portage/net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild
@@ -32,6 +32,7 @@ BDEPEND="
 src_prepare() {
        use vala && vala_setup
        default
+       sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die
 }
 
 src_configure() {
Comment 9 Larry the Git Cow gentoo-dev 2023-05-23 04:13:52 UTC
The bug has been closed via the following commit(s):

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

commit 424d8920cbce953a0c4f32c15ec8007fd17c66b6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-23 03:43:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-23 03:43:55 +0000

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

 net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)