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

Bug 716296

Summary: dev-db/mongodb-4.2.3-r1 fails to build with musl: src/.../errno_util.cpp: error: invalid conversion from int to char* [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: hydrapolic, ultrabug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
dev-db:mongodb-4.2.3-r1:20200405-083300.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-05 11:18:36 UTC
Compiling build/opt/mongo/util/errno_util.o
src/mongo/util/errno_util.cpp: In function std::string mongo::errnoWithDescription(int):
src/mongo/util/errno_util.cpp:66:21: error: invalid conversion from int to char* [-fpermissive]
   66 |     msg = strerror_r(errNumber, buf, kBuflen);
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                     |

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

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

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

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 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  5 07:37:46 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 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-05 11:18:38 UTC
Created attachment 630368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-05 11:18:41 UTC
Created attachment 630370 [details]
dev-db:mongodb-4.2.3-r1:20200405-083300.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-04-05 11:18:44 UTC
Created attachment 630372 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-05 11:18:47 UTC
Created attachment 630374 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-05 11:18:50 UTC
Created attachment 630376 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-05 11:18:52 UTC
Created attachment 630378 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-05 11:18:55 UTC
Created attachment 630380 [details]
temp.tbz2