Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863581 - mail-filter/opendmarc-1.4.1.1-r5 - opendmarc.c:(.text+<snip>): undefined reference to smfi_getpriv
Summary: mail-filter/opendmarc-1.4.1.1-r5 - opendmarc.c:(.text+<snip>): undefined refe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-04 10:12 UTC by Toralf Förster
Modified: 2022-08-13 19:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.34 KB, text/plain)
2022-08-04 10:12 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,113.34 KB, application/x-bzip)
2022-08-04 10:12 UTC, Toralf Förster
Details
environment (environment,80.42 KB, text/plain)
2022-08-04 10:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.86 KB, application/x-bzip)
2022-08-04 10:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.38 KB, application/x-bzip)
2022-08-04 10:12 UTC, Toralf Förster
Details
mail-filter:opendmarc-1.4.1.1-r5:20220804-074749.log (mail-filter:opendmarc-1.4.1.1-r5:20220804-074749.log,33.66 KB, text/plain)
2022-08-04 10:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.96 KB, application/x-bzip)
2022-08-04 10:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-04 10:12:02 UTC
too long lines were shrinked:

libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/opendmarc-check opendmarc_check-opendmarc-check.o  -Wl,--as-needed ../libopendmarc/.libs/libopendmarc.so -lm -lbsd -lrt -lidn
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -pthread -pipe -march=native -fno-diagnostics-color -O2  -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arca
libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/opendmarc opendmarc-config.o opendmarc-opendmarc.o opendmarc-opendmarc-ar.o opendmarc-opendmarc-arcares.o opendmarc-opendmarc-arcseal.o opendmarc-opendmarc-d
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: opendmarc-opendmarc.o: in function `mlfi_helo':
opendmarc.c:(.text+0x443): undefined reference to `smfi_getpriv'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: opendmarc-opendmarc.o: in function `dmarcf_cleanup':
opendmarc.c:(.text+0x4d1): undefined reference to `smfi_getpriv'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220725-070016

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.1
 [2] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 0098cb568cc73c9ba1e61fd9da5c459ae72e6580
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 4 06:46:59 2022 +0000

    2022-08-04 06:46:59 UTC

emerge -qpvO mail-filter/opendmarc
[ebuild  N    ] mail-filter/opendmarc-1.4.1.1-r5  USE="reports -spf"
Comment 1 Toralf Förster gentoo-dev 2022-08-04 10:12:03 UTC
Created attachment 797587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-04 10:12:04 UTC
Created attachment 797590 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-04 10:12:06 UTC
Created attachment 797593 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-04 10:12:07 UTC
Created attachment 797596 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-04 10:12:08 UTC
Created attachment 797599 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-04 10:12:09 UTC
Created attachment 797602 [details]
mail-filter:opendmarc-1.4.1.1-r5:20220804-074749.log
Comment 7 Toralf Förster gentoo-dev 2022-08-04 10:12:10 UTC
Created attachment 797605 [details]
temp.tar.bz2
Comment 8 Reuben Farrelly 2022-08-06 12:32:38 UTC
A rebuild of mail-filter/libmilter seemed to fix this for me.  But if that is the required fix then perhaps libmilter should have been bumped at some stage to trigger a rebuild?
Comment 9 Fabian Groffen gentoo-dev 2022-08-06 14:06:17 UTC
Guess we need a slotdep? but that doesn't explain the tinderbox problem
Comment 10 Larry the Git Cow gentoo-dev 2022-08-13 19:24:40 UTC
The bug has been closed via the following commit(s):

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

commit f67f7c6453fdd128489ea675935302099d66c1f5
Author:     Thomas Bracht Laumann Jespersen <t@laumann.xyz>
AuthorDate: 2022-08-11 07:26:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-13 19:24:13 +0000

    mail-filter/libmilter: fix symlink order
    
    The extra symlink setup in src_install would produce something like:
    
        libmilter.so -> libmilter.so.1.0.2
        libmilter.so.1.0.2_p2 -> libmilter.so.1.0.2
    
    but from reading ldconfig(8) it reads as if the links should go from
    least specific to most specific versions, so in a chain like this:
    
        libmilter.so -> libmilter.so.1.0.2 -> libmilter.so.1.0.2_p2
    
    Swapping the shared object and symlink fixes the referenced bugs.
    
    Closes: https://bugs.gentoo.org/863455
    Closes: https://bugs.gentoo.org/863407
    Closes: https://bugs.gentoo.org/862642
    Closes: https://bugs.gentoo.org/863578
    Closes: https://bugs.gentoo.org/863575
    Closes: https://bugs.gentoo.org/863572
    Closes: https://bugs.gentoo.org/863581
    Closes: https://bugs.gentoo.org/864563
    Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
    Closes: https://github.com/gentoo/gentoo/pull/26819
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/libmilter/libmilter-1.0.2_p2-r1.ebuild |  94 ++++++++++++++
 mail-filter/libmilter/libmilter-1.0.2_p3-r2.ebuild | 136 +++++++++++++++++++++
 2 files changed, 230 insertions(+)