When attempting to build postfix-3.9.0 I get a build failure; /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/libpostfix-global.so: undefined reference to `mongoc_client_new_from_uri_with_error' Reproducible: Always Steps to Reproduce: 1. Attempt to build 2. See error Actual Results: Build fail Expected Results: Build success $ emerge --info Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.47-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.6.47-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-glibc2.39 KiB Mem: 98757652 total, 23348508 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 09 Sep 2024 17:00:00 +0000 Head commit of repository gentoo: 05fe329f382bc90d5ce1271f174643d4a5b39b7b Timestamp of repository fidonet: Fri, 05 Jul 2024 21:06:54 +0000 Head commit of repository fidonet: 5035c4317f574a2484e778060615bc9243931871 Timestamp of repository kde: Mon, 09 Sep 2024 16:33:49 +0000 Head commit of repository kde: 48cf24ac950dcc216c4b8edfd410f1e69a76bffe Timestamp of repository linuxunderground-overlay: Sun, 08 Sep 2024 18:36:53 +0000 Head commit of repository linuxunderground-overlay: a2a0fc4bd7099ebd1b620847705da7e91248712b Timestamp of repository zugaina: Mon, 26 Aug 2024 13:19:02 +0000 Head commit of repository zugaina: 734a75fbd164c4d13bad7c1b19fe8ea3b64175bd sh bash 5.2_p26-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.2::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 2.7.18_p16-r2::gentoo, 3.10.14_p1-r1::gentoo, 3.11.9_p2::gentoo, 3.12.3-r1::gentoo dev-lang/rust: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 18.1.8::gentoo sys-devel/gcc: 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes fidonet location: /var/db/repos/fidonet sync-type: git sync-uri: https://github.com/gentoo-mirror/fidonet.git masters: gentoo volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: False linuxunderground-overlay location: /var/db/repos/linuxunderground-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/linuxunderground-overlay.git masters: gentoo volatile: False zugaina location: /var/db/repos/zugaina sync-type: git sync-uri: https://github.com/gentoo-mirror/zugaina.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver2" 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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /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" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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="-O2 -pipe" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirrors.evowise.com/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j20" PKGDIR="/usr/portage/packages" 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="/tmp" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi activities alsa amd64 aom apache2 archive aribsub base bash-completion bazaar bidi bl bluetooth bluez bluray boost branding bs2b btrfs bzip2 cacert cairo calendar cdda cddb cdparanoia cdr cet chromaprint chromecast cloud conntrack cpudetection cpumining crypt cryptsetup cups curl cvs cycles dav1d dbus dc1394 declarative device-mapper dia discord dmraid dri dropbox dts dv dvb dvd dvdr ecdh efi egl elogind encode exif extra f2fs faac faad fat fbcon fdk fdt ffmpeg firmware flac fluidsynth fontconfig fontforge fping ftp fuse gadu gd gdbm geoip geolocation ggi gif gimp git gles2 glusterfs gme gnomekeyring google gps graphite groupwise gsm gstreamer gtk gui hamlib harfbuzz hfs history http2 iconv icq icu ieee1394 inkjar iptables ipv6 iscsi java jfs jingle jpeg jpeg2k kate kde kdesu kf6compat kinesis kwallet l2tp ladspa latex lcms libass libcaca libmpeg2 libnotify librsync-bundled libtar libtiger libtirpc linsys lirc live lm-sensors lm_sensors logrotate lua lvm lzo mad matroska md5sum mdadm meanwhile mercurial midi mng modminer modplug mongodb monitor mp3 mp4 mpeg mplayer msn mtp multilib musepack mysql mysqli nas ncat ncurses ndiff netlink networkmanager nfacct nfs nls nmap-update nodejs nowlistening nping ntfs ntp numa nut nvme ocr ofono ogg omxil openal opencl openconnect opengl openimageio openmp opus oscar otr pam pango pcap pcre pdf pdo pipes pipewire plasma png pnm policykit portaudio postgres postscript ppds pptp projectm prometheus pulseaudio pvr python qml qrcode qt5 qt6 radio radioreference rar rdp readline redistributable rpc rtc rtlsdr samba sasl savedconfig scanner screencast scrypt sdl sdl2 sdlimage seccomp semantic-desktop sensord sensors sftp shout sid sip sipe skins snappy snmp soap sockets sound soxr speex spell spice split-usr sqlite srt ssh ssl startup-notification statistics subtitles subversion svg systemtap systray taglib tci tcl test-rust testbed tga theora threads tidy tiff tk toolame tools translator tremor truetype tty-helpers twolame udev udisks unicode unknown-license update_drivedb upnp upower usb usbredir v4l vaapi vde vdpau vhost-net virgl virtfs visio vnc vorbis vpnc vpx vte vulkan wayland webp webpresence widgets wifi winpopup wispr wpg wxwidgets x264 x265 xattr xcb xfs xft xine xinerama xinetd xml xmpp xnest xrandr xv xvid yahoo yuv4mpeg zenmap zeroconf zip zlib zoran zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core 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 socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest authn_dbd authz_dbd cache_disk cache_socache cern_meta charset_lite dbd dumpio http2 ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_forensic macro proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout slotmem_shm substitute version xml2enc" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="radeon radeonsi amdgpu" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS Additional files will be uploaded shortly...
Created attachment 902490 [details] Build log
Created attachment 902491 [details] emerge -pqv '=mail-mta/postfix-3.9.0::gentoo
From the log: > dict_mongodb.c: In function ‘dict_mongodb_open’: > dict_mongodb.c:556:28: warning: implicit declaration of function ‘mongoc_client_new_from_uri_with_error’; did you mean ‘mongoc_client_new_from_uri’? [-Wimplicit-function-declaration] > 556 | dict_mongodb->client = mongoc_client_new_from_uri_with_error(uri, &error); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | mongoc_client_new_from_uri > /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/libpostfix-global.so: undefined reference to `mongoc_client_new_from_uri_with_error'
What version of dev-libs/mongo-c-driver is installed?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6369df4fd2f032ba9c20039ed35cb9fbf3f08cc commit d6369df4fd2f032ba9c20039ed35cb9fbf3f08cc Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2024-09-10 07:09:49 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2024-09-10 07:10:52 +0000 mail-mta/postfix: Fix mongodb dependencies Closes: https://bugs.gentoo.org/939398 Signed-off-by: Eray Aslan <eras@gentoo.org> mail-mta/postfix/postfix-3.9.0-r1.ebuild | 311 +++++++++++++++++++++++++++++++ 1 file changed, 311 insertions(+)