Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863407 - mail-filter/milter-regex-2.7 - /.../ld: cannot find -lmilter: No such file or directory
Summary: mail-filter/milter-regex-2.7 - /.../ld: cannot find -lmilter: No such file or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ralph Seichter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-03 16:34 UTC by Toralf Förster
Modified: 2022-08-13 19:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.98 KB, text/plain)
2022-08-03 16:34 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,88.69 KB, application/x-bzip)
2022-08-03 16:34 UTC, Toralf Förster
Details
environment (environment,60.16 KB, text/plain)
2022-08-03 16:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,53.75 KB, application/x-bzip)
2022-08-03 16:34 UTC, Toralf Förster
Details
mail-filter:milter-regex-2.7:20220803-143811.log (mail-filter:milter-regex-2.7:20220803-143811.log,3.00 KB, text/plain)
2022-08-03 16:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.12 KB, application/x-bzip)
2022-08-03 16:34 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-03 16:34:32 UTC
y.tab.c:1137:16: warning: implicit declaration of function yylex [-Wimplicit-function-declaration]
 1137 |       yychar = yylex ();
      |                ^~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o -lmilter -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmilter: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile.linux:14: milter-regex] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220730-040725

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

gcc-config -l:
 [1] 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 Ruby profiles:
  (none found)
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]
2)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	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  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit 3d3392e7497f8270b9e3ee74515bf25d86544964
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 3 09:16:59 2022 +0000

    2022-08-03 09:16:58 UTC

emerge -qpvO mail-filter/milter-regex
[ebuild  N    ] mail-filter/milter-regex-2.7
Comment 1 Toralf Förster gentoo-dev 2022-08-03 16:34:33 UTC
Created attachment 797269 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-03 16:34:34 UTC
Created attachment 797272 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-03 16:34:36 UTC
Created attachment 797275 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-03 16:34:37 UTC
Created attachment 797278 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-03 16:34:38 UTC
Created attachment 797281 [details]
mail-filter:milter-regex-2.7:20220803-143811.log
Comment 6 Toralf Förster gentoo-dev 2022-08-03 16:34:39 UTC
Created attachment 797284 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-03 19:07:03 UTC
hm, can't reproduce yet.
Comment 8 Larry the Git Cow gentoo-dev 2022-08-03 21:53:52 UTC
The bug has been closed via the following commit(s):

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

commit 137b645237ba9852530fae57d691114dccb37782
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-03 21:52:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-03 21:53:41 +0000

    mail-filter/libmilter: change subslot to ${PV} instead given ABI instability
    
    I don't think libmilter preserves ABI stability even between sendmail
    releases always.
    
    Closes: https://bugs.gentoo.org/862642
    Closes: https://bugs.gentoo.org/863407
    Closes: https://bugs.gentoo.org/863455
    Signed-off-by: Sam James <sam@gentoo.org>

 ...libmilter-1.0.2_p3.ebuild => libmilter-1.0.2_p3-r1.ebuild} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2022-08-13 19:24:41 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(+)