Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919260 - net-libs/udns-0.4-r2 - ex-rdns.c:(<snip>) undefined reference to dns_pton
Summary: net-libs/udns-0.4-r2 - ex-rdns.c:(<snip>) undefined reference to dns_pton
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 10:16 UTC by Toralf Förster
Modified: 2023-12-16 08:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.76 KB, text/plain)
2023-12-05 10:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,78.26 KB, application/x-xz)
2023-12-05 10:16 UTC, Toralf Förster
Details
environment (environment,59.94 KB, text/plain)
2023-12-05 10:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-05 10:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.30 KB, application/x-xz)
2023-12-05 10:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.00 KB, application/x-xz)
2023-12-05 10:16 UTC, Toralf Förster
Details
net-libs:udns-0.4-r2:20231205-100211.log (net-libs:udns-0.4-r2:20231205-100211.log,5.22 KB, text/plain)
2023-12-05 10:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,80.07 KB, application/x-xz)
2023-12-05 10:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.47 KB, application/x-xz)
2023-12-05 10:16 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 2023-12-05 10:16:00 UTC
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c ex-rdns.c
x86_64-pc-linux-gnu-gcc -shared -Wl,--soname,libudns.so.0 -o libudns.so.0 udns_dn.lo udns_dntosp.lo udns_parse.lo udns_resolver.lo udns_init.lo udns_misc.lo udns_XtoX.lo udns_rr_a.lo udns_rr_ptr.lo udns_rr_mx.lo udns_rr_txt.lo udns_bl.lo udns_rr_srv.lo udns_rr_naptr.lo udns_codes.lo udns_jran.lo -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 
rm -f libudns_s.so
ln -s libudns.so.0 libudns_s.so
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ex-rdns_s ex-rdns.o -L. -ludns_s
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ex-rdns.o: in function `main':
ex-rdns.c:(.text.startup+0x173): undefined reference to `dns_pton'
collect2: error: ld returned 1 exit status
make: *** [Makefile:197: ex-rdns_s] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231127-152538

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 21.0.1_p12 [openjdk-21]
3)	OpenJDK 8.382_p05 [openjdk-8]
4)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-21 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit a4651668089837239eb29cf0fe5302b976ade798
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 08:31:59 2023 +0000

    2023-12-05 08:31:58 UTC

emerge -qpvO net-libs/udns
[ebuild  N    ] net-libs/udns-0.4-r2  USE="ipv6 tools -static"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 10:16:01 UTC
Created attachment 877346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 10:16:02 UTC
Created attachment 877347 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 10:16:04 UTC
Created attachment 877348 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 10:16:04 UTC
Created attachment 877349 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 10:16:05 UTC
Created attachment 877350 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 10:16:06 UTC
Created attachment 877351 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 10:16:07 UTC
Created attachment 877352 [details]
net-libs:udns-0.4-r2:20231205-100211.log
Comment 8 Toralf Förster gentoo-dev 2023-12-05 10:16:08 UTC
Created attachment 877353 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 10:16:09 UTC
Created attachment 877354 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-16 08:24:51 UTC
The bug has been closed via the following commit(s):

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

commit fdc52315cd216a96a9956991d21f06348ef9de6e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-16 08:11:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-16 08:23:54 +0000

    net-libs/udns: fix (another) modern C issue
    
    Bug: https://bugs.gentoo.org/874759
    Bug: https://bugs.gentoo.org/883285
    Closes: https://bugs.gentoo.org/919260
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/udns/files/udns-0.4-configure-c99.patch | 33 +++++++++++++++++
 net-libs/udns/udns-0.4-r3.ebuild                 | 46 ++++++++++++++++++++++++
 2 files changed, 79 insertions(+)