Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922445 - app-emulation/virtualbox fails to build against dev-libs/libxml2-2.12.4
Summary: app-emulation/virtualbox fails to build against dev-libs/libxml2-2.12.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL: https://gitlab.archlinux.org/archlinu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-01-18 20:08 UTC by jospezial
Modified: 2024-01-28 10:44 UTC (History)
3 users (show)

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


Attachments
build.log gzipped (build.log.gz,95.42 KB, application/gzip)
2024-01-18 20:11 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-01-18 20:08:01 UTC
CXX RuntimeR3 - {C}/src/VBox/Runtime/r3/xml.cpp
kmk_builtin_rm -f -- /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o.dep /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o  
x86_64-pc-linux-gnu-g++ -c -O2 -march=native -mtune=native -O2 -pipe -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op   -Wno-variadic-macros  -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter  -Wno-overloaded-virtual  -Wno-array-bounds -Wno-ignored-qualifiers -Wno-variadic-macros -march=native -mtune=native -O2 -pipe -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -std=c++11 -fvisibility-inlines-hidden    -ffunction-sections -fdata-sections  -m64 -I/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/include -I/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/libs/liblzf-3.6 -I/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/dtrace -I/usr/include/libxml2 -I/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/include -I/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING "-DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\"" "-DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\"" "-DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\"" "-DRTPATH_APP_DOCS=\"/usr/share/doc/virtualbox-7.0.12\"" -D_REENTRANT -DIN_RT_STATIC -DIN_RT_R3 -DIN_SUP_STATIC -DIN_RING3 -DGC_ARCH_BITS=64 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R3 -DIN_RT_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_LX -DLDR_WITH_MACHO -DLDR_WITH_PE -DRT_WITH_VBOX -DRT_NO_GIP -DRT_WITHOUT_NOCRT_WRAPPERS -DNOFILEID -DIN_SUP_R3 -DRT_WITH_ICONV_CACHE -DHC_ARCH_BITS=64 -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o  /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp: In constructor ‘xml::XmlParserBase::XmlParserBase()’:
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:1873:37: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr) noexcept’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
 1873 |     xmlSetStructuredErrorFunc(NULL, xmlParserBaseStructuredError);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     void (*)(void*, xmlErrorPtr) noexcept {aka void (*)(void*, _xmlError*)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
                 from /usr/include/libxml2/libxml/parser.h:19,
                 from /usr/include/libxml2/libxml/tree.h:17,
                 from /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:54:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note:   initializing argument 2 of ‘void xmlSetStructuredErrorFunc(void*, xmlStructuredErrorFunc)’
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp: In member function ‘void xml::XmlMemParser::read(const void*, size_t, const RTCString&, xml::Document&)’:
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:1934:43: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
 1934 |         throw XmlError(xmlCtxtGetLastError(m_ctxt));
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                           |
      |                                           const xmlError* {aka const _xmlError*}
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:134:32: note:   initializing argument 1 of ‘xml::XmlError::XmlError(xmlErrorPtr)’
  134 | XmlError::XmlError(xmlErrorPtr aErr)
      |                    ~~~~~~~~~~~~^~~~
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp: In member function ‘void xml::XmlFileParser::read(const RTCString&, xml::Document&)’:
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:2194:43: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
 2194 |         throw XmlError(xmlCtxtGetLastError(m_ctxt));
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                           |
      |                                           const xmlError* {aka const _xmlError*}
/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp:134:32: note:   initializing argument 1 of ‘xml::XmlError::XmlError(xmlErrorPtr)’
  134 | XmlError::XmlError(xmlErrorPtr aErr)
      |                    ~~~~~~~~~~~~^~~~
kmk: *** [/usr/share/kBuild/footer-pass2-compiling-targets.kmk:277: /var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12/out/linux.amd64/release/obj/RuntimeR3/r3/xml.o] Error 1
 * ERROR: app-emulation/virtualbox-7.0.12::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-7.0.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-7.0.12::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-7.0.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-7.0.12/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12'
 * S: '/var/tmp/portage/app-emulation/virtualbox-7.0.12/work/VirtualBox-7.0.12'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""

same for virtualbox-7.0.14

There is a patch for Arch Linux:
https://gitlab.archlinux.org/archlinux/packaging/packages/virtualbox/-/blob/main/019-libxml-2-12.patch?ref_type=heads
Comment 1 jospezial 2024-01-18 20:11:41 UTC
Created attachment 882577 [details]
build.log gzipped

Portage 3.0.61_p10 (python 3.12.1-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r9, 6.7.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.0-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.38
KiB Mem:     4026660 total,    395972 free
KiB Swap:   11147088 total,  11026768 free
Timestamp of repository FireBurn: Mon, 15 Jan 2024 16:18:18 +0000
Head commit of repository FireBurn: a3f837625897331a61ce6e9b3c4fa61a61909341

Timestamp of repository gamerlay: Tue, 16 Jan 2024 04:33:23 +0000
Head commit of repository gamerlay: 6df4c767d252139ca5e06b4fc559d285a6bf1ac9

Timestamp of repository gerislay: Mon, 15 Jan 2024 16:18:30 +0000
Head commit of repository gerislay: 376068f217d0eab86fda72994f1f313b1f409c60

Timestamp of repository java: Wed, 17 Jan 2024 13:33:08 +0000
Head commit of repository java: 85ef0cf35305e0ba23533326304a6449d724b7a2

Head commit of repository kde: 7b2f5a01c8d8472e848df13ba7fb7617e00913b8

Head commit of repository netfab-overlay: f636beca2c65698f34953ae6acc81660f2c0ec08

Timestamp of repository pg_overlay: Wed, 17 Jan 2024 17:18:54 +0000
Head commit of repository pg_overlay: d8023abf3afa7f9141e5e24bdffb2e0f1f4023fb

Timestamp of repository poly-c: Thu, 18 Jan 2024 12:46:45 +0000
Timestamp of repository qt: Sun, 14 Jan 2024 19:33:32 +0000
Head commit of repository qt: 776a0318580ae0c11b6c1cc7241a3fba2b818383

Timestamp of repository seden: Wed, 17 Jan 2024 17:18:54 +0000
Head commit of repository seden: 8a5287f2f6e887e5e4be16bb3c0b6c500e36d0f1

Timestamp of repository stefantalpalaru: Wed, 17 Jan 2024 14:18:11 +0000
Head commit of repository stefantalpalaru: 2a923bcc18b2b56c4c0ab0716e855e144ad55e4e

Timestamp of repository x11: Sat, 13 Jan 2024 20:35:13 +0000
Head commit of repository x11: 8117d876ca1c10b94b8953ac1f2c4b712cf22b5f

Timestamp of repository gentoo: Thu, 18 Jan 2024 18:33:21 +0000
Head commit of repository gentoo: 2548aca7202864af58ecff5e99534827c31986d5

Timestamp of repository edgets: Wed, 17 Jan 2024 14:18:13 +0000
Head commit of repository edgets: e63add95787565b91533a8708b7937c752d5e4e5

sh bash 5.2_p26
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.9 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1-r1::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

FireBurn
    location: /var/db/repos/FireBurn
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/FireBurn.git
    masters: gentoo
    priority: -1001
    volatile: False

gamerlay
    location: /var/db/repos/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo
    priority: -1001
    volatile: False

gerislay
    location: /var/db/repos/gerislay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gerislay.git
    masters: gentoo
    priority: -1001
    volatile: False

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo
    priority: -1001
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: -1001
    volatile: False

netfab-overlay
    location: /var/db/repos/netfab-overlay
    sync-type: git
    sync-uri: https://github.com/netfab/overlay
    masters: gentoo
    priority: -1001
    volatile: False

overlay_jl
    location: /var/db/repos/overlay_jl
    masters: gentoo
    priority: -1001
    volatile: False

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo
    priority: -1001
    volatile: False

poly-c
    location: /var/db/repos/poly-c
    sync-type: rsync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001
    volatile: False
    sync-rsync-extra-opts: 

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    priority: -1001
    volatile: False

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    priority: -1001
    volatile: False

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo
    priority: -1001
    volatile: False

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/x11.git
    masters: gentoo
    priority: -1001
    volatile: False

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

edgets
    location: /var/db/repos/edgets
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/edgets.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X Xaw3d a52 aac aacplus aacs aalib accessibility acl acpi activefilter admin adns aften alsa amd64 amdgpu ap apm apng archive arping atahpt atapromise audiofile automount avif bash bazaar bdplus bluray boost btrfs bzip2 cairo ccache cdda cddb cdio cdr cdrom chm chroot cjk clang cli client colordiff colorpicker compress corefonts cpio cpuload crypt css cue cups curl custom-modes d3d9 dav1d dbus declarative designer dga dhcp dom dri dri3 drm dts duktape dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl elogind encode enscript epub equalizer exif extensions extras faac faad farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac flashrom fluidsynth fontconfig foomatic freedoom ft2232-spi ftd2xx ftdi ftp fuse gadu gd gegl geoip gif git gpg gphoto2 graphite grub gstreamer gtk gtk3 gtk4 gui gusb gzip haptic hddtemp hdf hdf5 hid highlight history hpcups hpijs http http2 iconv icu id3tag idn imagemagick initramfs inotify introspection ipc ipod ipv6 iso jack jbootstrap jit jpeg jpeg2k jpegxl kde keyfinder ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libinput libmpv libnotify libplacebo librtmp libsamplerate libssh2 libtirpc libv4l libwww linux-mtd linux-spi live lm-sensors logitech logrotate lua lv2 lximage lz4 lzma lzo mad magic man matroska md5sum meanwhile mediatek-i2c-spi mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mng mod modern-top modplug modules-compress mono mount mouse mp3 mp4 mpeg mpeg2 mplayer mstarddc-spi mtp multilib multimedia musepack musicbrainz nano-syntax ncat ncurses network networkmonitor newnet ngspice nls normalize nowlistening nping ntfs ntfsprogs ntp nvidia nvme obex ocr odbc odf offload ogg ogm openal opencl opengl openh264 openmp openssl opus osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pcre32 pdf pdfimport phonon pipes pkcs11 plasma plugins png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qdbus qml qrcode qt5 qt6 qtkeychain quicktime radio rar raw readline realtek-mst-i2c-spi replaygain rtc rtmp rubberband rust rustfmt sbsms scanner screencast screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten sixel skins slang smartcard smi sndfile sockets socks socks5 sound source-highlight speech speex spell spi spirv split-usr sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles sudo svg symlink sync-plugin-portage syslog sysstat system-ffmpeg system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite sysv-utils szip taglib test-rust text texteffect tftp themes theora threads thumbnail tiff timidity tracepath translator truetype twolame udev udf udisks unicode upower urlpicpreview usb utils v4l v4l2 vaapi vala vamp vdpau vector-icons video videos virtualbox vkd3d vnc vorbis vpx vroot vst vulkan vulkaninfo wad wav wavpack wayland webp webpresence widgets winbind winpopup wmf worldclock wps wxwidgets x264 x265 xattr xcb xcomposite xfs xine xinerama xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid yahoo zink zip zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby33 ruby32" VIDEO_CARDS="radeon amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/virtualbox-7.0.12::gentoo was built with the following:
USE="alsa dbus gui nls opengl pam pulseaudio python sdk sdl udev vnc -debug -doc -dtrace -java -lvm (-pch) -vboxwebsrv -vde" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
CFLAGS="-march=native -mtune=native -O2 -pipe -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -mno-abm -mno-avx -mno-avx2 -mno-bmi -mno-bmi2 -mno-fma -mno-fma4 -mno-popcnt"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


dev-libs/libxml2-2.12.4::gentoo was built with the following:
USE="ftp icu lzma python readline -debug -examples -static-libs -test" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_11 python3_12 -python3_10"
FEATURES="pid-sandbox unmerge-orphans userfetch merge-wait strict sfperms binpkg-dostrip userpriv unknown-features-warn ipc-sandbox xattr ebuild-locks preserve-libs multilib-strict binpkg-multi-instance sandbox usersandbox buildpkg-live distlocks binpkg-docompress unmerge-logs qa-unresolved-soname-deps config-protect-if-modified ccache merge-sync binpkg-logs news assume-digests fixlafiles usersync pkgdir-index-trusted parallel-fetch network-sandbox protect-owned"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-18 20:14:26 UTC
The patch is wrong for older libxml2 becauase vbox is C++.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-27 07:34:12 UTC
The bug has been referenced in the following commit(s):

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

commit 77e481d42a3940c78e6a148dc874acfb1d54746e
Author:     Matt Jolly <Matt.Jolly@footclan.ninja>
AuthorDate: 2024-01-26 10:54:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-27 07:31:31 +0000

    app-emulation/virtualbox: add upper bound to libxml2 depdendency
    
    Bug: https://bugs.gentoo.org/922445
    Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/virtualbox/virtualbox-6.1.48.ebuild | 2 +-
 app-emulation/virtualbox/virtualbox-6.1.50.ebuild | 2 +-
 app-emulation/virtualbox/virtualbox-7.0.12.ebuild | 2 +-
 app-emulation/virtualbox/virtualbox-7.0.14.ebuild | 2 +-
 app-emulation/virtualbox/virtualbox-9999.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-27 07:44:47 UTC
The bug has been referenced in the following commit(s):

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

commit 56dd0f0bebb102578e7ccda40f849ef075faa205
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-27 07:35:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-27 07:35:56 +0000

    app-emulation/virtualbox: revbump for libxml2 dep restriction, add comment
    
    Bug: https://bugs.gentoo.org/922445
    Signed-off-by: Sam James <sam@gentoo.org>

 .../virtualbox/{virtualbox-6.1.48.ebuild => virtualbox-6.1.48-r1.ebuild} | 1 +
 .../virtualbox/{virtualbox-6.1.50.ebuild => virtualbox-6.1.50-r1.ebuild} | 1 +
 .../virtualbox/{virtualbox-7.0.12.ebuild => virtualbox-7.0.12-r1.ebuild} | 1 +
 .../virtualbox/{virtualbox-7.0.14.ebuild => virtualbox-7.0.14-r1.ebuild} | 1 +
 app-emulation/virtualbox/virtualbox-9999.ebuild                          | 1 +
 5 files changed, 5 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-01-28 10:44:53 UTC
The bug has been closed via the following commit(s):

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

commit 449534eed20b415faf59d70b13724a60c8f5e847
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-01-28 10:36:30 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-01-28 10:44:44 +0000

    app-emulation/virtualbox: fix building with dev-libs/libxml2-2.12
    
    Closes: https://bugs.gentoo.org/922445
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../files/virtualbox-7.0.14-libxml2-2.12.patch     | 43 ++++++++++++++++++++++
 ....1.48-r1.ebuild => virtualbox-6.1.48-r2.ebuild} |  5 ++-
 ....1.50-r1.ebuild => virtualbox-6.1.50-r2.ebuild} |  5 ++-
 ....0.12-r1.ebuild => virtualbox-7.0.12-r2.ebuild} |  5 ++-
 ....0.14-r1.ebuild => virtualbox-7.0.14-r2.ebuild} |  5 ++-
 5 files changed, 55 insertions(+), 8 deletions(-)