Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907226

Summary: gnustep-base/gnustep-base-1.29.0: fails to compile with dev-libs/libxml2-2.11.x error: no member named 'checked' in 'struct _xmlEntity'
Product: Gentoo Linux Reporter: yaogen <gentoo>
Component: Current packagesAssignee: Gentoo Gnustep project <gnustep>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gnustep/libs-base/issues/294
https://bugs.gentoo.org/show_bug.cgi?id=910265
https://bugs.gentoo.org/show_bug.cgi?id=914484
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 905399    
Attachments: Build log

Description yaogen 2023-05-26 17:40:28 UTC
gnustep-base/gnustep-base-1.29.0 fails to compile with dev-libs/libxml2-2.11.x error: no member named 'checked' in 'struct _xmlEntity' but it does compile fine with dev-libs/libxml2-2.10.4

Reproducible: Always


# emerge --info
Portage 3.0.45.3 (python 3.10.10-final-0, default/linux/amd64/17.1/hardened, gcc-12, glibc-2.37-r3, 5.17.5-gentoo x86_64)
=================================================================
System uname: Linux-5.17.5-gentoo-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.37
KiB Mem:   131815040 total,  21747104 free
KiB Swap:  134213616 total, 126905072 free
Head commit of repository gentoo: 3b09d1caf8f2902f9981f0d0d4113270b9c2530e

Timestamp of repository guru: Fri, 26 May 2023 06:31:57 +0000
Head commit of repository guru: db69526bcf4c33f3c8f474e05ba403e3d5636091

Timestamp of repository steam-overlay: Tue, 23 May 2023 15:47:46 +0000
Head commit of repository steam-overlay: 0f98d300a0632af28943003b0543cd25c178b04c

sh bash 5.2_p15-r3
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r3::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.3::gentoo
dev-lang/rust:             1.68.1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.0::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo, 13.1.1_p20230520::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.0::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    volatile: False

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y"
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"
FC="gfortran-12.1.1"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live cgroup collision-protect config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox 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 -O2 -pipe"
GENTOO_MIRRORS="https://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="--jobs=30 --load-average=30"
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 acl alsa amd64 bzip2 cet cli crypt dbus dri elogind fortran gdbm hardened iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre pie readline screencast seccomp split-usr ssl ssp test-rust unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Reproducible: Always

Steps to Reproduce:
emerge fails every time
Actual Results:  
>>> Failed to emerge gnustep-base/gnustep-base-1.29.0

Expected Results:  
>>> Installing (xx of xxx) gnustep-base/gnustep-base-1.29.0::gentoo

This seems to be very similar to https://bugs.gentoo.org/906227 that required a patch (for media-libs/raptor in that case).
Comment 1 yaogen 2023-05-26 17:42:58 UTC
Created attachment 862669 [details]
Build log

build log
Comment 3 Larry the Git Cow gentoo-dev 2023-05-28 21:54:14 UTC
The bug has been closed via the following commit(s):

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

commit 3a9653ab117a5f179485f596d0d9d7978eb489ca
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-05-28 21:54:03 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-05-28 21:54:03 +0000

    gnustep-base/gnustep-base: add patch for >=libxml2-2.11
    
    Closes: https://bugs.gentoo.org/907226
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/gnustep-base-1.29.0-libxml2-2.11.patch   | 23 +++++++++++
 .../gnustep-base/gnustep-base-1.29.0.ebuild        | 45 +++++++++++++---------
 2 files changed, 49 insertions(+), 19 deletions(-)