Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712468 - dev-libs/libpo6-0.8.0 : errno.cc: error: invalid conversion from int to const char* [-fpermissive]
Summary: dev-libs/libpo6-0.8.0 : errno.cc: error: invalid conversion from int to const...
Status: RESOLVED INVALID
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:
 
Reported: 2020-03-14 09:43 UTC by Toralf Förster
Modified: 2020-03-16 16:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.17 KB, text/plain)
2020-03-14 09:43 UTC, Toralf Förster
Details
dev-libs:libpo6-0.8.0:20200314-061235.log (dev-libs:libpo6-0.8.0:20200314-061235.log,10.42 KB, text/plain)
2020-03-14 09:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,58.89 KB, text/plain)
2020-03-14 09:43 UTC, Toralf Förster
Details
environment (environment,18.63 KB, text/plain)
2020-03-14 09:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.23 KB, application/x-bzip)
2020-03-14 09:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.57 KB, application/x-bzip)
2020-03-14 09:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.50 KB, application/x-bzip)
2020-03-14 09:43 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-03-14 09:43:14 UTC
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c errno.cc  -fPIC -DPIC -o .libs/errno.o
errno.cc: In function std::string po6::strerror(int):
errno.cc:51:28: error: invalid conversion from int to const char* [-fpermissive]
   51 |     strncpy(buf, strerror_r(err, buf, sizeof(buf)), sizeof(buf));
      |                  ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
      |                            |

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Mar 2020 05:08:51 +0000
emerge -qpvO dev-libs/libpo6
[ebuild  N    ] dev-libs/libpo6-0.8.0
Comment 1 Toralf Förster gentoo-dev 2020-03-14 09:43:16 UTC
Created attachment 618802 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-14 09:43:19 UTC
Created attachment 618804 [details]
dev-libs:libpo6-0.8.0:20200314-061235.log
Comment 3 Toralf Förster gentoo-dev 2020-03-14 09:43:22 UTC
Created attachment 618806 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-14 09:43:25 UTC
Created attachment 618808 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-14 09:43:28 UTC
Created attachment 618810 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-14 09:43:31 UTC
Created attachment 618812 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-14 09:43:34 UTC
Created attachment 618814 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:42 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.