Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921302 - net-libs/ldns-1.8.3-r1 - [slibtool] ldns_wrapper.c:(.text+<snip>): undefined reference to SWIG_Python_str_AsChar
Summary: net-libs/ldns-1.8.3-r1 - [slibtool] ldns_wrapper.c:(.text+<snip>): undefined ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-03 18:27 UTC by Toralf Förster
Modified: 2024-02-06 05:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.39 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
environment (environment,124.61 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.41 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,15.44 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
net-libs:ldns-1.8.3-r1:20240103-175058.log (net-libs:ldns-1.8.3-r1:20240103-175058.log,211.40 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,99.69 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.44 KB, application/x-xz)
2024-01-03 18:27 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 2024-01-03 18:27:50 UTC
too long lines were shrinked:

rdlibtool: link: ln -s _ldns.so.def .libs/_ldns.so.def.linux
rdlibtool: link: ln -s _ldns.so.def.linux .libs/_ldns.so.def.host
rdlibtool: link: ln -s /dev/null .libs/_ldns.a.disabled
rdlibtool: link: ln -s /usr/lib/python3.11/site-packages .libs/_ldns.so.slibtool.rpath
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/ldns_wrapper.o -DOPENSSL_API_COMPAT=10100 -fno-strict-aliasing -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -pipe -march=native -fno-diagnostics-color -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/ldns_wrapper.o: in function `_wrap_ldns_dname_is_wildcard':
ldns_wrapper.c:(.text+0x5641c): undefined reference to `SWIG_Python_str_AsChar'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ldns_wrapper.c:(.text+0x56455): undefined reference to `SWIG_Python_str_DelForPy3'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ldns_wrapper.c:(.text+0x5653e): undefined reference to `SWIG_Python_str_DelForPy3'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20240103-002006

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit a97a53baaf6b27a9cdf6e95437e5ae7691e77780
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 3 16:49:01 2024 +0000

    2024-01-03 16:49:00 UTC

emerge -qpvO net-libs/ldns
[ebuild  N    ] net-libs/ldns-1.8.3-r1  USE="python -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-01-03 18:27:51 UTC
Created attachment 881386 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-03 18:27:52 UTC
Created attachment 881387 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-03 18:27:53 UTC
Created attachment 881388 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-03 18:27:54 UTC
Created attachment 881389 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-03 18:27:55 UTC
Created attachment 881390 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-03 18:27:57 UTC
Created attachment 881391 [details]
net-libs:ldns-1.8.3-r1:20240103-175058.log
Comment 7 Toralf Förster gentoo-dev 2024-01-03 18:27:58 UTC
Created attachment 881392 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-01-03 18:27:59 UTC
Created attachment 881393 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-02-06 05:18:11 UTC
The bug has been closed via the following commit(s):

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

commit c64d638808ee411e7aad895d4883a66801509328
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-06 05:13:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-06 05:13:56 +0000

    net-libs/ldns: fix build w/ swig-4.2.0
    
    Closes: https://bugs.gentoo.org/921302
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch | 101 ++++++++++++++++++++++++
 net-libs/ldns/ldns-1.8.3-r2.ebuild              |  91 +++++++++++++++++++++
 2 files changed, 192 insertions(+)