Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917513 - sys-apps/osinfo-db-tools-1.10.0-r2 - ../.../osinfo-db-validate.c: error: XML_PARSE_NONET undeclared (first use in this function)
Summary: sys-apps/osinfo-db-tools-1.10.0-r2 - ../.../osinfo-db-validate.c: error: XML_...
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: PullRequest
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 16:46 UTC by Toralf Förster
Modified: 2023-12-03 07:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2023-11-17 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,50.85 KB, text/plain)
2023-11-17 16:46 UTC, Toralf Förster
Details
environment (environment,99.68 KB, text/plain)
2023-11-17 16:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-17 16:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.95 KB, application/x-xz)
2023-11-17 16:46 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.36 KB, application/x-xz)
2023-11-17 16:46 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,107.78 KB, text/plain)
2023-11-17 16:46 UTC, Toralf Förster
Details
sys-apps:osinfo-db-tools-1.10.0-r2:20231117-162228.log (sys-apps:osinfo-db-tools-1.10.0-r2:20231117-162228.log,42.27 KB, text/plain)
2023-11-17 16:46 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.48 KB, application/x-xz)
2023-11-17 16:46 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-17 16:46:11 UTC
   60 |         return NULL;
      |                ^~~~
../osinfo-db-tools-1.10.0/tools/osinfo-db-validate.c:63:17: warning: implicit declaration of function xmlCtxtReadDoc [-Wimplicit-function-declaration]
   63 |     if (!(doc = xmlCtxtReadDoc(pctxt, (const xmlChar*)data, uri, NULL,
      |                 ^~~~~~~~~~~~~~
../osinfo-db-tools-1.10.0/tools/osinfo-db-validate.c:63:17: warning: nested extern declaration of xmlCtxtReadDoc [-Wnested-externs]
../osinfo-db-tools-1.10.0/tools/osinfo-db-validate.c:64:32: error: XML_PARSE_NONET undeclared (first use in this function); did you mean XML_FROM_NONE?
   64 |                                XML_PARSE_NONET |
      |                                ^~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231116-214507

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

gcc-config -l:
 [1] 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 21.0.1_p12 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  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 125bf880f0d05ba89008e2466b1b2eb2f9c745d8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 17 15:17:06 2023 +0000

    2023-11-17 15:17:06 UTC

emerge -qpvO sys-apps/osinfo-db-tools
[ebuild  N    ] sys-apps/osinfo-db-tools-1.10.0-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2023-11-17 16:46:12 UTC
Created attachment 874959 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-17 16:46:13 UTC
Created attachment 874960 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-17 16:46:14 UTC
Created attachment 874961 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-17 16:46:15 UTC
Created attachment 874962 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-17 16:46:16 UTC
Created attachment 874963 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-17 16:46:17 UTC
Created attachment 874964 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-17 16:46:18 UTC
Created attachment 874965 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-11-17 16:46:19 UTC
Created attachment 874966 [details]
sys-apps:osinfo-db-tools-1.10.0-r2:20231117-162228.log
Comment 9 Toralf Förster gentoo-dev 2023-11-17 16:46:20 UTC
Created attachment 874967 [details]
temp.tar.xz
Comment 10 Michal Prívozník 2023-11-28 07:53:10 UTC
Yep. I've merged fix upstream yesterday.

https://gitlab.com/libosinfo/osinfo-db-tools/-/merge_requests/80

Will backport later today. BTW: sys-libs/libosinfo is also affected. Should we create a separate bug or can that be tracked here?
Comment 11 Larry the Git Cow gentoo-dev 2023-12-03 07:01:48 UTC
The bug has been referenced in the following commit(s):

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

commit 249f43326f022ee32c7f1eaa2508e9ea43cdb465
Author:     Michal Privoznik <michal.privoznik@gmail.com>
AuthorDate: 2023-11-28 08:28:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-03 06:22:13 +0000

    sys-apps/osinfo-db-tools: Fix build with >=dev-libs/libxml2-2.12.0
    
    As of its 2.12.0 release, libxml2 cleaned up header files which
    rendered osinfo-db-tools unable to compile. Backport fixes from
    upstream repo.
    
    Bug: https://bugs.gentoo.org/917513
    Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ols-1.11.0-Make-xmlError-structs-constant.patch | 53 ++++++++++++++++++++++
 ...info-db-validate-Add-more-libxml-includes.patch | 35 ++++++++++++++
 .../osinfo-db-tools-1.10.0-r2.ebuild               |  2 +
 3 files changed, 90 insertions(+)