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

Bug 715832

Summary: dev-db/mongodb-4.2.3-r1 fails to build with musl: src/.../dns_query_posix-impl.h: error: res_nsearch was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: ultrabug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-db:mongodb-4.2.3-r1:20200401-201859.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-02 07:15:31 UTC
In file included from src/mongo/util/dns_query.cpp:57:
src/mongo/util/dns_query_posix-impl.h: In member function std::vector<unsigned char> mongo::dns::{anonymous}::DNSQueryState::raw_lookup(const string&, mongo::dns::{anonymous}::DNSQueryClass, mongo::dns::{anonymous}::DNSQueryType):
src/mongo/util/dns_query_posix-impl.h:318:26: error: res_nsearch was not declared in this scope; did you mean res_search?
  318 |         const int size = res_nsearch(
      |                          ^~~~~~~~~~~
      |                          res_search

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

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

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

  Please see the tracker bug for details.

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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 19:37:27 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-db/mongodb
[ebuild  N    ] dev-db/mongodb-4.2.3-r1  USE="ssl tools -debug -kerberos -libressl -lto -test"
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:15:36 UTC
Created attachment 628626 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:15:42 UTC
Created attachment 628628 [details]
dev-db:mongodb-4.2.3-r1:20200401-201859.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:15:47 UTC
Created attachment 628630 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:15:50 UTC
Created attachment 628632 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:15:53 UTC
Created attachment 628634 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:15:57 UTC
Created attachment 628636 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-02 07:16:00 UTC
Created attachment 628638 [details]
temp.tbz2