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

Bug 716534

Summary: app-backup/snapper-0.8.6 : AppUtil.cc: error: invalid conversion from int to const char* [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: dlan, pastas4, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-backup:snapper-0.8.6:20200407-023637.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-07 07:29:20 UTC
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\/etc/conf.d\ -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -c AppUtil.cc  -fPIC -DPIC -o .libs/AppUtil.o
AppUtil.cc: In function std::string snapper::stringerror(int):
AppUtil.cc:233:31: error: invalid conversion from int to const char* [-fpermissive]
  233 |  const char* buf2 = strerror_r(errnum, buf1, sizeof(buf1) - 1);
      |                     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |

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

  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	Mon Apr  6 23:07:51 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO app-backup/snapper
[ebuild  N    ] app-backup/snapper-0.8.6  USE="pam xattr -lvm"
Comment 1 Toralf Förster gentoo-dev 2020-04-07 07:29:23 UTC
Created attachment 630998 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-07 07:29:26 UTC
Created attachment 631000 [details]
app-backup:snapper-0.8.6:20200407-023637.log
Comment 3 Toralf Förster gentoo-dev 2020-04-07 07:29:29 UTC
Created attachment 631002 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-07 07:29:32 UTC
Created attachment 631004 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-07 07:29:35 UTC
Created attachment 631006 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-07 07:29:39 UTC
Created attachment 631008 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-07 07:29:42 UTC
Created attachment 631010 [details]
temp.tbz2