Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715832 - 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
Summary: dev-db/mongodb-4.2.3-r1 fails to build with musl: src/.../dns_query_posix-imp...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-02 07:15 UTC by Toralf Förster
Modified: 2021-12-19 09:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.64 KB, text/plain)
2020-04-02 07:15 UTC, Toralf Förster
Details
dev-db:mongodb-4.2.3-r1:20200401-201859.log.bz2 (dev-db:mongodb-4.2.3-r1:20200401-201859.log.bz2,26.47 KB, application/x-bzip)
2020-04-02 07:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.54 KB, text/plain)
2020-04-02 07:15 UTC, Toralf Förster
Details
environment (environment,126.87 KB, text/plain)
2020-04-02 07:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.02 KB, application/x-bzip)
2020-04-02 07:15 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.12 KB, application/x-bzip)
2020-04-02 07:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,55.06 KB, application/x-bzip)
2020-04-02 07: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 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