Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863578 - mail-filter/milter-regex-2.7-r1 - /.../ld: cannot find -lmilter: No such file or directory
Summary: mail-filter/milter-regex-2.7-r1 - /.../ld: cannot find -lmilter: No such file...
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: 864563
Blocks:
  Show dependency tree
 
Reported: 2022-08-04 10:11 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.60 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,113.37 KB, application/x-bzip)
2022-08-04 10:11 UTC, Toralf Förster
Details
environment (environment,59.63 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.82 KB, application/x-bzip)
2022-08-04 10:11 UTC, Toralf Förster
Details
mail-filter:milter-regex-2.7-r1:20220804-074531.log (mail-filter:milter-regex-2.7-r1:20220804-074531.log,3.04 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.99 KB, application/x-bzip)
2022-08-04 10:11 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:11:43 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_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/milter-regex
[ebuild     U ] mail-filter/milter-regex-2.7-r1 [2.7]
Comment 1 Toralf Förster gentoo-dev 2022-08-04 10:11:44 UTC
Created attachment 797569 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-04 10:11:45 UTC
Created attachment 797572 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-04 10:11:46 UTC
Created attachment 797575 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-04 10:11:47 UTC
Created attachment 797578 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-04 10:11:48 UTC
Created attachment 797581 [details]
mail-filter:milter-regex-2.7-r1:20220804-074531.log
Comment 6 Toralf Förster gentoo-dev 2022-08-04 10:11:49 UTC
Created attachment 797584 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-08-13 19:24:39 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(+)