Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865843 - dev-libs/libxml2: dropped FTP support (breaks dev-libs/xmlsec, /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlIOFTPOpen@LIBXML2_2.4.30')
Summary: dev-libs/libxml2: dropped FTP support (breaks dev-libs/xmlsec, /usr/lib64/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
: 865869 865975 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-20 04:51 UTC by Errelin
Modified: 2022-08-24 01:46 UTC (History)
4 users (show)

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


Attachments
/var/log/portage/build/net-vpn/openconnect-9.01.r1.build.log (openconnect-9.01-r1.log,74.81 KB, text/x-log)
2022-08-20 04:51 UTC, Errelin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Errelin 2022-08-20 04:51:49 UTC
Created attachment 800209 [details]
/var/log/portage/build/net-vpn/openconnect-9.01.r1.build.log

$ emerge --info '=net-vpn/openconnect-9.01-r1::gentoo'

Portage 3.0.34 (python 3.10.6-final-0, default/linux/amd64/17.1, gcc-12.2.0, glibc-2.35-r8, 5.18.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.18.10-gentoo-x86_64-AMD_Ryzen_7_PRO_4750G_with_Radeon_Graphics-with-glibc2.35
KiB Mem:    65244364 total,  41179872 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 20 Aug 2022 03:16:52 +0000
Head commit of repository gentoo: 9e4a4a5ed41392c5bda58b4fe028d300d5dd6bf4

Timestamp of repository guru: Fri, 19 Aug 2022 08:16:51 +0000
Head commit of repository guru: 74a5b8c6ad8a4ac9398a2c8f5d36a56a95a3ff9e

Head commit of repository gentoo-zh: 11e417c5510562adad1e0b48ffa7f3bbdf22b174

Head commit of repository interlay: 961ed8f5a59094a36a7a8d97988855789167afc6

sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.6_p2::gentoo, 3.11.0_rc1::gentoo
dev-lang/rust-bin:         1.62.1::gentoo
dev-util/cmake:            3.24.1::gentoo
dev-util/meson:            0.63.1::gentoo
sys-apps/baselayout:       2.8-r2::gentoo
sys-apps/openrc:           0.45.2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo
sys-devel/gcc:             12.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
sys-libs/libselinux:       3.4::gentoo
Repositories:

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

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

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    priority: 10

interlay
    location: /var/db/repos/interlay
    sync-type: git
    sync-uri: https://github.com/Linerre/interlay.git
    masters: gentoo
    priority: 15

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 2 --with-bdeps y --complete-graph y --quiet-build y --keep-going --quiet"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy clean-logs config-protect-if-modified distlocks 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 split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.sjtug.sjtu.edu.cn/gentoo/ https://mirrors.ustc.edu.cn/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12 -l12"
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 amd64 bzip2 cli crypt dbus dri elogind fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pulseaudio readline savedconfig seccomp split-usr ssl unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-3 lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby27" USERLAND="GNU" 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, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, 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


$ emerge -pqv '=net-vpn/openconnect-9.01-r1::gentoo'
[ebuild     U ] net-vpn/openconnect-9.01-r1 [9.01] USE="gnutls gssapi libproxy nls pskc -doc -lz4 (-selinux) -smartcard -stoken -test"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 04:53:55 UTC
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o buftest buftest.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlIOFTPOpen@LIBXML2_2.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlIOFTPClose@LIBXML2_2.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlIOFTPRead@LIBXML2_2.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlNanoFTPInit@LIBXML2_2.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlIOFTPMatch@LIBXML2_2.4.30'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxmlsec1.so.1: undefined reference to `xmlNanoFTPCleanup@LIBXML2_2.4.30'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:880: serverhash] Error 1

It's because libxml2 started disabling FTP by default. I'm going to add a USE=ftp I think rather than go around trying to force an unnecessary subslot.
Comment 2 Larry the Git Cow gentoo-dev 2022-08-20 05:12:17 UTC
The bug has been closed via the following commit(s):

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

commit 030cb350ae6050dafd62388b9e9cf102e71ea855
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-20 05:12:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-20 05:12:05 +0000

    dev-libs/xmlsec: depend on libxml2[ftp(+)]
    
    It's actually automagic in xmlsec, but...
    
    Closes: https://bugs.gentoo.org/865843
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/xmlsec/{xmlsec-1.2.33.ebuild => xmlsec-1.2.33-r1.ebuild} | 2 +-
 dev-libs/xmlsec/{xmlsec-1.2.34.ebuild => xmlsec-1.2.34-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

commit 6019a8883acfa44c2eec32836a440ada46cf918c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-20 05:10:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-20 05:10:57 +0000

    dev-libs/libxml2: add USE=ftp
    
    FTP support was disabled by default in 2.10.0 but at least
    libxmlsec needs it.
    
    Closes: https://bugs.gentoo.org/865843
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libxml2/{libxml2-2.10.0.ebuild => libxml2-2.10.0-r1.ebuild} | 3 ++-
 dev-libs/libxml2/libxml2-9999.ebuild                                 | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 12:44:52 UTC
*** Bug 865869 has been marked as a duplicate of this bug. ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-22 00:55:30 UTC
*** Bug 865975 has been marked as a duplicate of this bug. ***