Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863575 - dev-python/pymilter-1.0.4-r3 - /.../ld: cannot find -lmilter: No such file or directory
Summary: dev-python/pymilter-1.0.4-r3 - /.../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: 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.34 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
dev-python:pymilter-1.0.4-r3:20220804-074228.log (dev-python:pymilter-1.0.4-r3:20220804-074228.log,6.57 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,113.17 KB, application/x-bzip)
2022-08-04 10:11 UTC, Toralf Förster
Details
environment (environment,133.70 KB, text/plain)
2022-08-04 10:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.79 KB, application/x-bzip)
2022-08-04 10:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.64 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:21 UTC
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 build/temp.linux-x86_64-cpython-310/miltermodule.o -L/usr/lib/libmilter -L/usr/lib64 -lmilter -o build/lib.linux-x86_64-cpython-310/milter.cpython-310-x86_64-linux-gnu.so
/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
error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 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 dev-python/pymilter
[ebuild  N    ] dev-python/pymilter-1.0.4-r3  USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-08-04 10:11:23 UTC
Created attachment 797551 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-04 10:11:23 UTC
Created attachment 797554 [details]
dev-python:pymilter-1.0.4-r3:20220804-074228.log
Comment 3 Toralf Förster gentoo-dev 2022-08-04 10:11:25 UTC
Created attachment 797557 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-08-04 10:11:26 UTC
Created attachment 797560 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-04 10:11:27 UTC
Created attachment 797563 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-04 10:11:28 UTC
Created attachment 797566 [details]
temp.tar.bz2
Comment 7 satmd 2022-08-13 18:53:55 UTC
I had the very same problem and solved by rebuilding libmilter.
Comment 8 Larry the Git Cow gentoo-dev 2022-08-13 19:24:38 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(+)