Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 714652

Summary: net-dns/resolv_wrapper-1.1.7 : /.../resolv_wrapper.c: error: implicit declaration of function res_randomid [-Wimplicit-function-de
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: leohdz172, samba
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702, 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dns:resolv_wrapper-1.1.5:20200325-014619.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-25 08:10:10 UTC
/var/tmp/portage/net-dns/resolv_wrapper-1.1.5/work/resolv_wrapper-1.1.5/src/resolv_wrapper.c: In function rwrap_fake_header:
/var/tmp/portage/net-dns/resolv_wrapper-1.1.5/work/resolv_wrapper-1.1.5/src/resolv_wrapper.c:411:10: error: implicit declaration of function res_randomid [-Wimplicit-function-declaration]
  411 |  h->id = res_randomid();  /* random query ID */
      |          ^~~~~~~~~~~~
/var/tmp/portage/net-dns/resolv_wrapper-1.1.5/work/resolv_wrapper-1.1.5/src/resolv_wrapper.c: In function libc_res_ninit:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *
  [2]   rust-bin-1.42.0

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Mar 25 00:08:54 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO net-dns/resolv_wrapper
[ebuild  N    ] net-dns/resolv_wrapper-1.1.5
Comment 1 Toralf Förster gentoo-dev 2020-03-25 08:10:13 UTC
Created attachment 625514 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-25 08:10:16 UTC
Created attachment 625516 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-25 08:10:18 UTC
Created attachment 625518 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-25 08:10:21 UTC
Created attachment 625520 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-25 08:10:24 UTC
Created attachment 625522 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-25 08:10:27 UTC
Created attachment 625524 [details]
net-dns:resolv_wrapper-1.1.5:20200325-014619.log
Comment 7 Toralf Förster gentoo-dev 2020-03-25 08:10:30 UTC
Created attachment 625526 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-01-31 09:48:51 UTC
tinderbox_musl has reproduced this issue with version 1.1.7 - Updating summary.
Comment 10 Leonardo Hernández Hernández 2023-12-11 22:42:37 UTC
The patch is in 1.1.8