Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721892 - net-libs/wvstreams-4.6.1_p14-r1 : xplc/moduleloader.cc: error: narrowing conversion of -1 from int to unsigned int [-Wnarrowing]
Summary: net-libs/wvstreams-4.6.1_p14-r1 : xplc/moduleloader.cc: error: narrowing conv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 16:52 UTC by Toralf Förster
Modified: 2020-07-08 06:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2020-05-09 16:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,268.08 KB, text/plain)
2020-05-09 16:52 UTC, Toralf Förster
Details
environment (environment,82.18 KB, text/plain)
2020-05-09 16:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.72 KB, application/x-bzip)
2020-05-09 16:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.71 KB, application/x-bzip)
2020-05-09 16:52 UTC, Toralf Förster
Details
net-libs:wvstreams-4.6.1_p14-r1:20200509-145404.log (net-libs:wvstreams-4.6.1_p14-r1:20200509-145404.log,40.14 KB, text/plain)
2020-05-09 16:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.55 KB, application/x-bzip)
2020-05-09 16:53 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-05-09 16:52:38 UTC
x86_64-pc-linux-gnu-g++ -c -o xplc/moduleloader.o xplc/moduleloader.cc -MMD -MF xplc/.moduleloader.d -MP -MQ xplc/moduleloader.o -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iyes/include -DDEBUG=0 -I./include -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -O2 -pipe -march=native -fno-common -Wformat -Werror=format-security -fno-strict-aliasing -fno-tree-dce -fno-optimize-sibling-calls -fPIC -Wall -Woverloaded-virtual
xplc/moduleloader.cc: In static member function static Module* Module::loadModule(const char*):
xplc/moduleloader.cc:67:9: error: narrowing conversion of -1 from int to unsigned int [-Wnarrowing]
   67 |   case -1:
      |         ^
make: *** [wvrules.mk:163: xplc/moduleloader.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200502-233152

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
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.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 09 May 2020 02:05:19 PM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO net-libs/wvstreams
[ebuild  N    ] net-libs/wvstreams-4.6.1_p14-r1  USE="dbus libressl pam -boost -debug -doc"
Comment 1 Toralf Förster gentoo-dev 2020-05-09 16:52:41 UTC
Created attachment 637082 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-09 16:52:45 UTC
Created attachment 637084 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-09 16:52:48 UTC
Created attachment 637086 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-09 16:52:51 UTC
Created attachment 637088 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-09 16:52:53 UTC
Created attachment 637090 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-09 16:52:57 UTC
Created attachment 637092 [details]
net-libs:wvstreams-4.6.1_p14-r1:20200509-145404.log
Comment 7 Toralf Förster gentoo-dev 2020-05-09 16:53:00 UTC
Created attachment 637094 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-07-08 06:49:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228b062df44bcc02818187a0e2730b9053ebf659

commit 228b062df44bcc02818187a0e2730b9053ebf659
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-07 12:20:42 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-08 06:49:44 +0000

    net-libs/wvstreams: Fix xplc/moduleloader major_version signedness
    
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/721892
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/wvstreams-4.6.1_p14-xplc-module.patch    | 25 ++++++++++++++++++++++
 net-libs/wvstreams/wvstreams-4.6.1_p14-r1.ebuild   |  1 +
 2 files changed, 26 insertions(+)