Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716534 - app-backup/snapper-0.8.6 : AppUtil.cc: error: invalid conversion from int to const char* [-fpermissive]
Summary: app-backup/snapper-0.8.6 : AppUtil.cc: error: invalid conversion from int to ...
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:
 
Reported: 2020-04-07 07:29 UTC by Toralf Förster
Modified: 2020-04-07 07:29 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2020-04-07 07:29 UTC, Toralf Förster
Details
app-backup:snapper-0.8.6:20200407-023637.log (app-backup:snapper-0.8.6:20200407-023637.log,16.85 KB, text/plain)
2020-04-07 07:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,347.66 KB, text/plain)
2020-04-07 07:29 UTC, Toralf Förster
Details
environment (environment,61.13 KB, text/plain)
2020-04-07 07:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.02 KB, application/x-bzip)
2020-04-07 07:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.06 KB, application/x-bzip)
2020-04-07 07:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.35 KB, application/x-bzip)
2020-04-07 07:29 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-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