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

Bug 829236

Summary: net-libs/gsoap-2.8.114-r1 - stdsoap2_cpp.cpp: 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: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:gsoap-2.8.114:20211215-033515.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-12-15 09:36:52 UTC
16683 |       *p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
      |                   ^~~~~~~~
      |                   strtok_r
stdsoap2_cpp.cpp: In function 'const char* soap_strerror(soap*)':
stdsoap2_cpp.cpp:22566:22: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
22566 |     return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */
      |            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      |
      |                      int

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211213-184654

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

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-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 71f374d346a2db5c029d26ee2ec35a819e659f22
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 02:22:01 2021 +0000

    2021-12-15 02:22:00 UTC

emerge -qpvO net-libs/gsoap
[ebuild  N    ] net-libs/gsoap-2.8.114  USE="ipv6 ssl -debug -doc -examples -gnutls"
Comment 1 Toralf Förster gentoo-dev 2021-12-15 09:36:53 UTC
Created attachment 759046 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 09:36:54 UTC
Created attachment 759047 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-15 09:36:56 UTC
Created attachment 759048 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-15 09:36:57 UTC
Created attachment 759049 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-15 09:36:58 UTC
Created attachment 759050 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-15 09:36:59 UTC
Created attachment 759051 [details]
net-libs:gsoap-2.8.114:20211215-033515.log
Comment 7 Toralf Förster gentoo-dev 2021-12-15 09:37:00 UTC
Created attachment 759052 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-06-04 11:54:48 UTC
tinderbox_musl has reproduced this issue with version 2.8.114-r1 - Updating summary.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-04 20:31:10 UTC
'dom_cpp.cpp' || echo './'`dom_cpp.cpp
stdsoap2.c: In function 'soap_s2float':
stdsoap2.c:16683:19: warning: implicit declaration of function 'strtod_l'; did you mean 'strtok_r'? [-Wimplicit-function-declaration]
16683 |       *p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
      |                   ^~~~~~~~
      |                   strtok_r
stdsoap2_cpp.cpp: In function 'const char* soap_strerror(soap*)':
stdsoap2_cpp.cpp:22566:22: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
22566 |     return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */
      |            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      |
      |                      int
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..       -DWITH_IPV6  -DLINUX -DWITH_COOKIES -pipe -march=native -fno-diagnostics-color -O2 -c -o libgsoapck_a-stdsoap2_ck.o `test -f 'stdsoap2_ck.c' || echo './'`stdsoap2_ck.c
stdsoap2_ck.c: In function 'soap_s2float':
stdsoap2_ck.c:16683:19: warning: implicit declaration of function 'strtod_l'; did you mean 'strtok_r'? [-Wimplicit-function-declaration]
16683 |       *p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
      |                   ^~~~~~~~
      |                   strtok_r
make[4]: *** [Makefile:939: libgsoap___a-stdsoap2_cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....