Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777462 - net-libs/glib-networking-2.68.0: undefined reference to `gnutls_pkcs11_add_provider'
Summary: net-libs/glib-networking-2.68.0: undefined reference to `gnutls_pkcs11_add_pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 777489 777498 777519 777699 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-21 07:35 UTC by Sergey Ilinykh
Modified: 2021-03-22 11:59 UTC (History)
14 users (show)

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


Attachments
/var/log/portage/net-libs:glib-networking-2.68.0:20210321-075704.log (net-libs:glib-networking-2.68.0:20210321-075704.log,37.09 KB, text/plain)
2021-03-21 08:12 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2021-03-21 07:35:05 UTC
$ emerge --info net-libs/glib-networking
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r8, 5.11.7-gentoo-r1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.7-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-glibc2.2.5
KiB Mem:    32713776 total,  16944820 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: 94853ff8d481d3ec48f5ff40ef1cf7f126023236

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.7::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.21::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

gentoo
    location: /storage/gentoo/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

ejabberd
    location: /home/rion/projects/ejabberd-overlay
    masters: gentoo

rion
    location: /home/rion/projects/rion-overlay
    masters: gentoo

flatpak-overlay
    location: /var/lib/layman/flatpak-overlay
    sync-type: laymansync
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

snapd
    location: /var/lib/layman/snapd
    sync-type: laymansync
    sync-uri: https://github.com/zigford/snapd.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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="-O2 -pipe"
DISTDIR="/storage/gentoo/distfiles"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en en_US"
MAKEOPTS="-j3"
PKGDIR="/storage/gentoo/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="/storage/gentoo/tmp"
USE="X a52 aac acl acpi activities alsa amd64 appstream avahi berkdb bluetooth branding bzip2 cairo cdr cli crypt cuda cups dbus declarative designer dri dts dvd dvdr emboss emoji encode exif faad ffmpeg flac fuse gdbm gif gnome-keyring gpm gstreamer gtk gtk3 gui iconv icu idn ipv6 javafx jingle jpeg jpeg2k kde kipi kwallet ladspa lcms libass libglvnd libnotify libtirpc lm-sensors mad mng modemmanager modplug mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl nsplugin nvenc offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 rdp readline rtmp samba sdl seccomp semantic-desktop spell split-usr srt ssl startup-notification svg symlink systemd systemtap tcpd theora threads tiff truetype udev udisks unicode upnp upower usb v4l vdpau vnc vorbis vpx webp widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sse3 ssse3 sse4_1 sse4_2 aes avx avx2" 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 synaptics" KERNEL="linux" L10N="ru en en_US" 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

net-libs/glib-networking-2.66.0::gentoo was built with the following:
USE="gnome libproxy ssl -test" ABI_X86="(64) -32 (-x32)"
FEATURES="usersync userpriv protect-owned preserve-libs news binpkg-logs strict xattr binpkg-dostrip assume-digests parallel-fetch network-sandbox unmerge-orphans qa-unresolved-soname-deps unmerge-logs distlocks userfetch ipc-sandbox multilib-strict config-protect-if-modified fixlafiles usersandbox binpkg-docompress sandbox ebuild-locks pid-sandbox unknown-features-warn merge-sync sfperms"



[29/36] x86_64-pc-linux-gnu-gcc  -o tls/tests/certificate-gnutls tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgnutls.so -Wl,--end-group
FAILED: tls/tests/certificate-gnutls 
x86_64-pc-linux-gnu-gcc  -o tls/tests/certificate-gnutls tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgnutls.so -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tls/tests/certificate-gnutls.p/certificate.c.o: in function `main':
certificate.c:(.text.startup+0xcd): undefined reference to `gnutls_pkcs11_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: certificate.c:(.text.startup+0x106): undefined reference to `gnutls_pkcs11_add_provider'
collect2: error: ld returned 1 exit status
[30/36] x86_64-pc-linux-gnu-gcc -Itls/tests/file-database-gnutls.p -Itls/tests -I../glib-networking-2.68.0/tls/tests -I. -I../glib-networking-2.68.0 -Itls -I../glib-networking-2.68.0/tls -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -O2 -pthread '-DSRCDIR="/storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0/tls/tests"' '-DTOP_BUILDDIR="/storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64"' '-DBACKEND="gnutls"' -DBACKEND_IS_GNUTLS -MD -MQ tls/tests/file-database-gnutls.p/file-database.c.o -MF tls/tests/file-database-gnutls.p/file-database.c.o.d -o tls/tests/file-database-gnutls.p/file-database.c.o -c ../glib-networking-2.68.0/tls/tests/file-database.c
[31/36] x86_64-pc-linux-gnu-gcc -Itls/tests/mock-pkcs11.so.p -Itls/tests -I../glib-networking-2.68.0/tls/tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -O2 -fPIC -pthread -MD -MQ tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -MF tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o.d -o tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -c ../glib-networking-2.68.0/tls/tests/mock-pkcs11.c
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/glib-networking-2.68.0::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 -C /storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64 failed

Reproducible: Always




`flaggie net-libs/gnutls +pkcs11` fixes the problem
Comment 1 HougeLangley 2021-03-21 07:39:22 UTC
[30/36] x86_64-pc-linux-gnu-gcc -Itls/tests/mock-pkcs11.so.p -Itls/tests -I../glib-networking-2.68.0/tls/tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -march=ivybridge -O3 -fPIC -pthread -MD -MQ tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -MF tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o.d -o tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -c ../glib-networking-2.68.0/tls/tests/mock-pkcs11.c
[31/36] x86_64-pc-linux-gnu-gcc -Itls/base/libtlsbase.a.p -Itls/base -I../glib-networking-2.68.0/tls/base -I. -I../glib-networking-2.68.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -march=ivybridge -O3 -fPIC -pthread -MD -MQ tls/base/libtlsbase.a.p/gtlsconnection-base.c.o -MF tls/base/libtlsbase.a.p/gtlsconnection-base.c.o.d -o tls/base/libtlsbase.a.p/gtlsconnection-base.c.o -c ../glib-networking-2.68.0/tls/base/gtlsconnection-base.c
[32/36] x86_64-pc-linux-gnu-gcc -Itls/tests/connection-gnutls.p -Itls/tests -I../glib-networking-2.68.0/tls/tests -I. -I../glib-networking-2.68.0 -Itls -I../glib-networking-2.68.0/tls -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -Werror=declaration-after-statement -Werror=implicit-function-declaration -march=ivybridge -O3 -pthread '-DSRCDIR="/var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0/tls/tests"' '-DTOP_BUILDDIR="/var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64"' '-DBACKEND="gnutls"' -DBACKEND_IS_GNUTLS -MD -MQ tls/tests/connection-gnutls.p/connection.c.o -MF tls/tests/connection-gnutls.p/connection.c.o.d -o tls/tests/connection-gnutls.p/connection.c.o -c ../glib-networking-2.68.0/tls/tests/connection.c
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/glib-networking-2.68.0::gentoo failed (compile phase):
 *   ninja -v -j40 -l0 -C /var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3016:  Called multilib-minimal_src_compile
 *   environment, line 2056:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2326:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1991:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1989:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  522:  Called multilib-minimal_abi_src_compile
 *   environment, line 2050:  Called multilib_src_compile
 *   environment, line 2538:  Called meson_src_compile
 *   environment, line 1878:  Called eninja '-C' '/var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64'
 *   environment, line 1093:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=net-libs/glib-networking-2.68.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/glib-networking-2.68.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/glib-networking-2.68.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/glib-networking-2.68.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-networking-2.68.0'
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-21 08:12:14 UTC
Created attachment 692649 [details]
/var/log/portage/net-libs:glib-networking-2.68.0:20210321-075704.log

Please attach build logs in the future (attaching mine instead).
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-21 08:13:00 UTC
Portage 3.0.17 (python 3.9.2-final-0, !../../home/mgorny/git/gentoo/profiles/default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r8, 5.11.7-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.7-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.32
KiB Mem:    32898552 total,  20797928 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 21 Mar 2021 04:51:18 +0000
Head commit of repository gentoo: 4e8b85f112dbb8cdcec0426dba4717da1fb1c1b9

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.6.13::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo, 3.10.0_alpha6-r1::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.7::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.21::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

python
    location: /home/mgorny/git/python
    masters: gentoo

Installed sets: @mg_depends_cb_agent
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="UbuntuFontLicense-1.0 man-pages mplus-fonts myspell-en_CA-KevinAtkinson Texinfo-manual CC-PD man-pages-posix MaxMind2 wxWinFDL-3 man-pages-posix-2013 LDP-1 BAEKMUK quake1-textures BitstreamVera CC-SA-1.0 vlgothic CC-BY-SA-1.0 LDP-1a FDL-1.2+ FDL-1.2 FDL-1.1 FDL-1.3+ GPL-1 GPL-2 GPL-2+ GPL-3 CC-BY-SA-4.0 CC-BY-4.0 OFL-1.1 CC-BY-SA-2.5 CC-BY-3.0 CC-BY-SA-3.0 OFL OPL Arphic FreeArt CC-BY-2.0 CC-BY-2.5 IPAfont FDL-1.3 GPL-3+ GPL-1+ CC-BY-SA-2.0 FDL-1.1+ CPL-1.0 BSD-4 LGPL-2+ AGPL-3 MIT public-domain LGPL-2.1+ GPL-1 WTFPL-2 BSD-2 FSFAP GPL-2 GPL-2+ GPL-2-with-MySQL-FLOSS-exception PSF-2.4 SGI-B-2.0 gcc-runtime-library-exception-3.1 GPL-3 tanuki-community wxWinLL-3.1 GPL-3+-with-font-exception LGPL-2.1 ZLIB Ruby-BSD GPL-3-with-font-exception MPL-2.0 metapackage LGPL-3-with-linking-exception PSF-2.2 GPL-2-with-linking-exception Transmission-OpenSSL-exception FTL UPX-exception ISC PYTHON unicode UoI-NCSA ZPL ECL-2.0 CC0-1.0 OPENLDAP Clear-BSD LGPL-3+ PSF-2.3 Unlicense Artistic-2 libstdc++ BSD GPL-3-with-openssl-exception PSF-2 GPL-2-with-classpath-exception LGPL-2 Ruby vim Boost-1.0 GPL-2-with-exceptions Apache-2.0-with-LLVM-exceptions qwt Apache-2.0 libgcc LGPL-2-with-linking-exception GPL-3+ GPL-3+-with-autoconf-exception CeCILL-2 GPL-1+ IJG AGPL-3+ Clarified-Artistic GPL-2-with-font-exception Nokia-Qt-LGPL-Exception-1.1 GPL-2+-with-openssl-exception LGPL-2.1-with-linking-exception Sleepycat W3C HPND LGPL-3 FraunhoferFDK openssl PHP-3.01 Ms-PL NPL-1.1 APSL-2 IBM EPL-1.0 EUPL-1.1 OSL-1.1 MPL-1.1 Zend-2.0 OSL-2.1 QPL-1.0 CNRI AFL-3.0 LPPL-1.2 CDDL AFL-2.1 Apache-1.0 OSL-2.0 QPL EUPL-1.2 MPL-1.0 gnuplot EPL-2.0 CPAL-1.0 Apache-1.1 LGPL-2+ AGPL-3 MIT CPL-1.0 LGPL-2.1+ PHP-3.01 LPPL-1.3c Ms-PL APL-1.0 BSD-2 GPL-2 APSL-2 GPL-2+ NOSA GPL-3 IBM EPL-1.0 Watcom-1.0 LGPL-2.1 ZLIB EUPL-1.1 MPL-2.0 MPL-1.1 OSL-2.1 wxWinLL-3 OFL-1.1 CNRI ISC ZPL UoI-NCSA Sleepycat ECL-2.0 POSTGRESQL AFL-3.0 LGPL-3+ PHP-3 Artistic-2 nethack BSD PSF-2 CDDL Artistic Boost-1.0 Apache-2.0 IPAfont QPL GPL-3+ GPL-1+ AGPL-3+ EUPL-1.2 MPL-1.0 EPL-2.0 CPAL-1.0 W3C Apache-1.1 HPND LGPL-3 DES canfep htmlc UCAR-Unidata wm2 ErlPL-1.1 rwpng w3m libmng matplotlib LIBGLOSS URT Info-ZIP Allegro psutils CDDL-1.1 buddy Flashpix SSLeay ElementTree xboing bufexplorer.vim FLEX AIFFWriter.m scanlogd CeCILL-C JDOM sdlsasteroids SVFL CAOSL feh FVWM regexp-UofT otter Openwall icu Xdebug Emacs perforce PHP-2.02 par minpack FLTK Crypt-IDEA sash JOVE dom4j x2x libpng ZSH BEER-WARE mpich2 curl totd Time-modules JNIC tm-align docbook repoze symlinks LambdaMOO mm RSA xtrs imagemagick BSD-with-attribution bea.ri.jsr173 Mini-XML Sendmail ipadic torque-2.5 NCSA-HDF libpng2 CPL-0.5 Sendmail-Open-Source Old-MIT xbatt FastCGI HTML-Tidy BZIP2 tcp_wrappers_license TeX-other-free netcat BSD-1 CMake ngrep Princeton libtiff TeX SMAIL Interbase-1.0 PCRE File-MMagic Toyoda tablelist openafs-krb5-a pngnq CRACKLIB Ispell lsof photopc alternate gsm CDDL-Schily BSD-with-disclosure LPPL-1.3 AMPAS tcltk gd IDPL NEWLIB VTK freetts inner-net LPPL-1.3b rc Sympow-BSD MIT-with-advertising boehm-gc DUMB-0.9.3 Khronos-CLHPP rdisc iASL Snd Time-Format pngcrush the-Click-license XC flexmock -AGPL-3 -AGPL-3+"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-10.2.0"
CFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXX="x86_64-pc-linux-gnu-g++-10.2.0"
CXXFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/tmp/dist"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n --dynamic-deps=n --autounmask=n"
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=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.vectranet.pl/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/"
INSTALL_MASK="/test /usr/share/locale -/usr/share/locale/pl"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkg"
PORTAGE_BINHOST=" 	https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy 	https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel"
PORTAGE_COMPRESS="lzip"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS --exclude=/metadata/cache --omit-dir-times"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X a52 aac acl adns aio alsa amd64 ayatana bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr cli crypt cups curl dbus dist-kernel djvu dri dts dvb dvd dvdr egl emboss exif fftw flac fontconfig fortran gd gif glamor gmp gnuplot gnutls gphoto2 gstreamer gtk gui iconv icu idn ipv6 jpeg jpeg2k kate latex lcms libass libatomic libglvnd liblockfile libnotify libproxy libsamplerate libsecret libtiger libtirpc linguas_pl lz4 lzma lzo mad mmap mmxext mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg openal opengl openmp openvg opus osmesa pam pango pch pcre pcre-jit pdf plotutils png policykit postscript ppds pulseaudio qt3support qt5 readline sctp sdl seccomp slang smp sndfile speex spell split-usr sse3 ssl startup-notification svg systemd t1lib tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vaapi verify-sig vhosts vim-syntax vorbis vulkan wavpack wayland webp wmf wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel emu10k1 mpu401 pcsp virmidi" APACHE2_MODULES="socache_shmcb unixd actions alias deflate filter mime mime_magic negotiation rewrite" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a ssse3" 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" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" LLVM_TARGETS="*" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="gzip limit_conn limit_req rewrite spdy uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 *" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 mips mips64 mips64el mipsel ppc ppc64 ppc64abi32 x86_64" QEMU_USER_TARGETS="aarch64 arm ppc ppc64" RUBY_TARGETS="ruby26 *" SANE_BACKENDS="artec_eplus48u test" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi r600" 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:  CPPFLAGS, CTARGET, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

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

net-libs/gnutls-3.7.1::gentoo was built with the following:
USE="cxx idn nls openssl seccomp tls-heartbeat -dane -doc -examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test -test-full -tools -valgrind" ABI_X86="32 64 -x32"
FEATURES="assume-digests config-protect-if-modified sandbox usersync news unmerge-orphans ebuild-locks strict merge-sync multilib-strict userfetch cgroup distlocks userpriv protect-owned parallel-fetch preserve-libs qa-unresolved-soname-deps unknown-features-warn sfperms usersandbox ipc-sandbox sign unmerge-logs binpkg-logs fixlafiles strict-keepdir collision-protect binpkg-multi-instance pid-sandbox mount-sandbox buildpkg"
Comment 4 Ionen Wolkens gentoo-dev 2021-03-21 08:20:49 UTC
Interestingly gnutls[pkcs11] seems(?) is still only needed for tests, but they're built regardless and causing build failure now.

Likely related to NEWS':
 - Implement PKCS#11 API
Comment 5 Ionen Wolkens gentoo-dev 2021-03-21 08:33:48 UTC
(In reply to Ionen Wolkens from comment #4)
> Interestingly gnutls[pkcs11] seems(?) is still only needed for tests, but
> they're built regardless and causing build failure now.
This may be viable:

use test || sed -i "/^subdir('tls\/tests')/d" meson.build

But haven't tested much.
Comment 6 Bernd Feige 2021-03-21 09:16:43 UTC
(In reply to Ionen Wolkens from comment #5)
> (In reply to Ionen Wolkens from comment #4)
> > Interestingly gnutls[pkcs11] seems(?) is still only needed for tests, but
> > they're built regardless and causing build failure now.
> This may be viable:
> 
> use test || sed -i "/^subdir('tls\/tests')/d" meson.build
> 
> But haven't tested much.

I did now: Adding

src_prepare() {
    xdg_src_prepare
    use test || sed -i "/^subdir('tls\/tests')/d" meson.build
}

to the ebuild makes it compile, thanks!
Comment 7 Ionen Wolkens gentoo-dev 2021-03-21 09:25:28 UTC
(In reply to Bernd Feige from comment #6)
> [...]
For testing I was more worried if not having gnutls[pkcs11] has any runtime impact (now), not that I think it does.

(also, let's not forget the || die)
Comment 8 Geoff Madden 2021-03-21 10:20:52 UTC
(In reply to Sergey Ilinykh from comment #0)
> $ emerge --info net-libs/glib-networking
> Portage 3.0.17 (python 3.8.8-final-0,
> default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r8,
> 5.11.7-gentoo-r1-x86_64 x86_64)
> =================================================================
>                          System Settings
> =================================================================
> System uname:
> Linux-5.11.7-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.
> 60GHz-with-glibc2.2.5
> KiB Mem:    32713776 total,  16944820 free
> KiB Swap:          0 total,         0 free
> Head commit of repository gentoo: 94853ff8d481d3ec48f5ff40ef1cf7f126023236
> 
> sh bash 5.1_p4
> ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
> ccache version 4.2 [disabled]
> app-shells/bash:          5.1_p4::gentoo
> dev-java/java-config:     2.3.1::gentoo
> dev-lang/perl:            5.32.1::gentoo
> dev-lang/python:          2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
> dev-util/ccache:          4.2::gentoo
> dev-util/cmake:           3.19.7::gentoo
> sys-apps/baselayout:      2.7-r1::gentoo
> sys-apps/sandbox:         2.21::gentoo
> sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71::gentoo
> sys-devel/automake:       1.16.3-r1::gentoo
> sys-devel/binutils:       2.35.2::gentoo
> sys-devel/gcc:            10.2.0-r5::gentoo
> sys-devel/gcc-config:     2.4::gentoo
> sys-devel/libtool:        2.4.6-r6::gentoo
> sys-devel/make:           4.3::gentoo
> sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
> sys-libs/glibc:           2.32-r8::gentoo
> Repositories:
> 
> gentoo
>     location: /storage/gentoo/portage
>     sync-type: git
>     sync-uri: https://github.com/gentoo/gentoo.git
>     priority: -1000
> 
> ejabberd
>     location: /home/rion/projects/ejabberd-overlay
>     masters: gentoo
> 
> rion
>     location: /home/rion/projects/rion-overlay
>     masters: gentoo
> 
> flatpak-overlay
>     location: /var/lib/layman/flatpak-overlay
>     sync-type: laymansync
>     sync-uri: https://github.com/fosero/flatpak-overlay.git
>     masters: gentoo
>     priority: 50
> 
> qt
>     location: /var/lib/layman/qt
>     sync-type: laymansync
>     sync-uri: https://anongit.gentoo.org/git/proj/qt.git
>     masters: gentoo
>     priority: 50
> 
> snapd
>     location: /var/lib/layman/snapd
>     sync-type: laymansync
>     sync-uri: https://github.com/zigford/snapd.git
>     masters: gentoo
>     priority: 50
> 
> ACCEPT_KEYWORDS="amd64 ~amd64"
> ACCEPT_LICENSE="*"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-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="-O2 -pipe"
> DISTDIR="/storage/gentoo/distfiles"
> 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="-O2 -pipe"
> FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
> binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks
> fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news
> parallel-fetch 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="-O2 -pipe"
> GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles
> http://distfiles.gentoo.org"
> LANG="ru_RU.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> LINGUAS="ru en en_US"
> MAKEOPTS="-j3"
> PKGDIR="/storage/gentoo/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="/storage/gentoo/tmp"
> USE="X a52 aac acl acpi activities alsa amd64 appstream avahi berkdb
> bluetooth branding bzip2 cairo cdr cli crypt cuda cups dbus declarative
> designer dri dts dvd dvdr emboss emoji encode exif faad ffmpeg flac fuse
> gdbm gif gnome-keyring gpm gstreamer gtk gtk3 gui iconv icu idn ipv6 javafx
> jingle jpeg jpeg2k kde kipi kwallet ladspa lcms libass libglvnd libnotify
> libtirpc lm-sensors mad mng modemmanager modplug mp3 mp4 mpeg mtp multilib
> ncurses networkmanager nls nptl nsplugin nvenc offensive ogg opengl openmp
> pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 rdp
> readline rtmp samba sdl seccomp semantic-desktop spell split-usr srt ssl
> startup-notification svg symlink systemd systemtap tcpd theora threads tiff
> truetype udev udisks unicode upnp upower usb v4l vdpau vnc vorbis vpx webp
> widgets wxwidgets x264 xattr xcb xinerama xml xv xvid zlib zstd"
> ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp
> atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968
> fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
> via82xx-modem ymfpci" 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 sse3
> ssse3 sse4_1 sse4_2 aes avx avx2" 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 synaptics" KERNEL="linux" L10N="ru en en_US"
> 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-3 php7-4"
> POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8"
> PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU"
> VIDEO_CARDS="nvidia i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
> LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 
> =================================================================
>                         Package Settings
> =================================================================
> 
> net-libs/glib-networking-2.66.0::gentoo was built with the following:
> USE="gnome libproxy ssl -test" ABI_X86="(64) -32 (-x32)"
> FEATURES="usersync userpriv protect-owned preserve-libs news binpkg-logs
> strict xattr binpkg-dostrip assume-digests parallel-fetch network-sandbox
> unmerge-orphans qa-unresolved-soname-deps unmerge-logs distlocks userfetch
> ipc-sandbox multilib-strict config-protect-if-modified fixlafiles
> usersandbox binpkg-docompress sandbox ebuild-locks pid-sandbox
> unknown-features-warn merge-sync sfperms"
> 
> 
> 
> [29/36] x86_64-pc-linux-gnu-gcc  -o tls/tests/certificate-gnutls
> tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed
> -Wl,--no-undefined -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group
> /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so
> /usr/lib64/libglib-2.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so
> -pthread /usr/lib64/libgnutls.so -Wl,--end-group
> FAILED: tls/tests/certificate-gnutls 
> x86_64-pc-linux-gnu-gcc  -o tls/tests/certificate-gnutls
> tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed
> -Wl,--no-undefined -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group
> /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so
> /usr/lib64/libglib-2.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so
> -pthread /usr/lib64/libgnutls.so -Wl,--end-group
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/
> ld: tls/tests/certificate-gnutls.p/certificate.c.o: in function `main':
> certificate.c:(.text.startup+0xcd): undefined reference to
> `gnutls_pkcs11_init'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/
> ld: certificate.c:(.text.startup+0x106): undefined reference to
> `gnutls_pkcs11_add_provider'
> collect2: error: ld returned 1 exit status
> [30/36] x86_64-pc-linux-gnu-gcc -Itls/tests/file-database-gnutls.p
> -Itls/tests -I../glib-networking-2.68.0/tls/tests -I.
> -I../glib-networking-2.68.0 -Itls -I../glib-networking-2.68.0/tls
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid
> -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED
> '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56
> -Werror=declaration-after-statement -Werror=implicit-function-declaration
> -O2 -pthread
> '-DSRCDIR="/storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/work/
> glib-networking-2.68.0/tls/tests"'
> '-DTOP_BUILDDIR="/storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/
> work/glib-networking-2.68.0-abi_x86_64.amd64"' '-DBACKEND="gnutls"'
> -DBACKEND_IS_GNUTLS -MD -MQ
> tls/tests/file-database-gnutls.p/file-database.c.o -MF
> tls/tests/file-database-gnutls.p/file-database.c.o.d -o
> tls/tests/file-database-gnutls.p/file-database.c.o -c
> ../glib-networking-2.68.0/tls/tests/file-database.c
> [31/36] x86_64-pc-linux-gnu-gcc -Itls/tests/mock-pkcs11.so.p -Itls/tests
> -I../glib-networking-2.68.0/tls/tests -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include
> -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden
> -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> -std=c99 -DHAVE_CONFIG_H '-DG_LOG_DOMAIN="GLib-Net"' -DG_LOG_USE_STRUCTURED
> '-DLOCALE_DIR="/usr/share/locale"' -DG_DISABLE_DEPRECATED
> -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56
> -Werror=declaration-after-statement -Werror=implicit-function-declaration
> -O2 -fPIC -pthread -MD -MQ tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -MF
> tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o.d -o
> tls/tests/mock-pkcs11.so.p/mock-pkcs11.c.o -c
> ../glib-networking-2.68.0/tls/tests/mock-pkcs11.c
> ninja: build stopped: subcommand failed.
>  * ERROR: net-libs/glib-networking-2.68.0::gentoo failed (compile phase):
>  *   ninja -v -j3 -l0 -C
> /storage/gentoo/tmp/portage/net-libs/glib-networking-2.68.0/work/glib-
> networking-2.68.0-abi_x86_64.amd64 failed
> 
> Reproducible: Always
> 
> 
> 
> 
> `flaggie net-libs/gnutls +pkcs11` fixes the problem

that didnt work on my machine, but the previous version compiled up ok
Comment 9 jospezial 2021-03-21 11:11:18 UTC
Works for me after setting pkcs11 use flag and rebuilt gnutls.
Comment 10 Geoff Madden 2021-03-21 11:16:02 UTC
can confirm the change in comment 7 worked for me as well
Comment 11 Ionen Wolkens gentoo-dev 2021-03-21 11:19:20 UTC
*** Bug 777489 has been marked as a duplicate of this bug. ***
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-21 11:31:58 UTC
*** Bug 777498 has been marked as a duplicate of this bug. ***
Comment 13 Perfect Gentleman 2021-03-21 12:00:28 UTC
(In reply to Bernd Feige from comment #6)
 
> I did now: Adding
> 
> src_prepare() {
>     xdg_src_prepare
>     use test || sed -i "/^subdir('tls\/tests')/d" meson.build
> }
> 
> to the ebuild makes it compile, thanks!

Confirm that works.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-21 13:05:36 UTC
*** Bug 777519 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2021-03-21 13:16:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c0b6ffcebc589e9df56dafea59877ac9ef4c5f

commit 53c0b6ffcebc589e9df56dafea59877ac9ef4c5f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-21 13:15:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-21 13:16:29 +0000

    net-libs/glib-networking: build tests conditionally
    
    Closes: https://bugs.gentoo.org/777462
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/glib-networking/glib-networking-2.68.0.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 16 Ionen Wolkens gentoo-dev 2021-03-21 13:21:34 UTC
Will still take some time for the fix to propagate to mirrors so please wait (at least) an hour or so before trying again.
Comment 17 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-03-22 11:59:27 UTC
*** Bug 777699 has been marked as a duplicate of this bug. ***