Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829236 - net-libs/gsoap-2.8.114-r1 - stdsoap2_cpp.cpp: error: invalid conversion from int to const char [-fpermissive]
Summary: net-libs/gsoap-2.8.114-r1 - stdsoap2_cpp.cpp: error: invalid conversion from ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-15 09:36 UTC by Toralf Förster
Modified: 2023-06-04 20:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2021-12-15 09:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.12 KB, text/plain)
2021-12-15 09:36 UTC, Toralf Förster
Details
environment (environment,69.71 KB, text/plain)
2021-12-15 09:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.59 KB, application/x-bzip)
2021-12-15 09:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.61 KB, application/x-bzip)
2021-12-15 09:36 UTC, Toralf Förster
Details
net-libs:gsoap-2.8.114:20211215-033515.log (net-libs:gsoap-2.8.114:20211215-033515.log,19.06 KB, text/plain)
2021-12-15 09:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.53 KB, application/x-bzip)
2021-12-15 09:37 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-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....