Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828667 - app-admin/fam-2.7.0_p17_p3 - /.../Listener.c++: error: invalid conversion from caddr_t {aka char } to int [-fpermissive]
Summary: app-admin/fam-2.7.0_p17_p3 - /.../Listener.c++: error: invalid conversion fro...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 08:35 UTC by Toralf Förster
Modified: 2021-12-10 23:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.08 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
app-admin:fam-2.7.0_p17_p3:20211209-231741.log (app-admin:fam-2.7.0_p17_p3:20211209-231741.log,27.18 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,24.80 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
environment (environment,100.82 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.96 KB, application/x-bzip)
2021-12-10 08:35 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.70 KB, application/x-bzip)
2021-12-10 08:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.04 KB, application/x-bzip)
2021-12-10 08:35 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 2021-12-10 08:35:37 UTC
/var/tmp/portage/app-admin/fam-2.7.0_p17_p3/work/fam-2.7.0/src/Listener.c++:217:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  217 |     putenv("TMPDIR=");
      |            ^~~~~~~~~
/var/tmp/portage/app-admin/fam-2.7.0_p17_p3/work/fam-2.7.0/src/Listener.c++: In member function 'void Listener::dirty_ugly_hack()':
/var/tmp/portage/app-admin/fam-2.7.0_p17_p3/work/fam-2.7.0/src/Listener.c++:392:46: error: invalid conversion from 'caddr_t' {aka 'char*'} to 'int' [-fpermissive]
  392 |             msghdr msg = { NULL, 0, NULL, 0, (caddr_t) rights, sizeof rights };
      |                                              ^~~~~~~~~~~~~~~~
      |                                              |
      |                                              caddr_t {aka char*}

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 405da333b415c85be2ec5eb9b347a5e2ed74de71
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 9 22:22:06 2021 +0000

    2021-12-09 22:22:02 UTC

emerge -qpvO app-admin/fam
[ebuild  N    ] app-admin/fam-2.7.0_p17_p3  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 08:35:38 UTC
Created attachment 757887 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 08:35:39 UTC
Created attachment 757888 [details]
app-admin:fam-2.7.0_p17_p3:20211209-231741.log
Comment 3 Toralf Förster gentoo-dev 2021-12-10 08:35:40 UTC
Created attachment 757889 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-10 08:35:41 UTC
Created attachment 757890 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-10 08:35:42 UTC
Created attachment 757891 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 08:35:43 UTC
Created attachment 757892 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-10 08:35:44 UTC
Created attachment 757893 [details]
temp.tar.bz2