Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716296 - dev-db/mongodb-4.2.3-r1 fails to build with musl: src/.../errno_util.cpp: error: invalid conversion from int to char* [-fpermissive]
Summary: dev-db/mongodb-4.2.3-r1 fails to build with musl: src/.../errno_util.cpp: err...
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: musl-porting
  Show dependency tree
 
Reported: 2020-04-05 11:18 UTC by Toralf Förster
Modified: 2021-12-19 11:54 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.89 KB, text/plain)
2020-04-05 11:18 UTC, Toralf Förster
Details
dev-db:mongodb-4.2.3-r1:20200405-083300.log.bz2 (dev-db:mongodb-4.2.3-r1:20200405-083300.log.bz2,27.00 KB, application/x-bzip)
2020-04-05 11:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,306.59 KB, text/plain)
2020-04-05 11:18 UTC, Toralf Förster
Details
environment (environment,128.19 KB, text/plain)
2020-04-05 11:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.34 KB, application/x-bzip)
2020-04-05 11:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.10 KB, application/x-bzip)
2020-04-05 11:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,56.08 KB, application/x-bzip)
2020-04-05 11:18 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-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