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

Bug 649804

Summary: media-libs/libsidplay-2.1.1-r4 xsid.cpp:101:1: error: narrowing conversion of ''\200'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: StabilizationAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: Normal Flags: stable-bot: sanity-check+
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
media-libs/libsidplay-2.1.1-r5
Runtime testing required: ---
Attachments:
Description Flags
build.log.xz
none
emerge --info
none
build.log
none
build.log
none
build.log (ppc64) none

Description ernsteiswuerfel archtester 2018-03-06 22:50:32 UTC
Created attachment 522634 [details]
build.log.xz

powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -O2 -pipe -DHAVE_UNIX -I../../include -I../../include/sidplay -MT xsid.lo -MD -MP -MF .deps/xsid.Tpo -c xsid.cpp  -fPIC -DPIC -o .libs/xsid.o
xsid.cpp:101:1: error: narrowing conversion of ''\200'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
 };
 ^
xsid.cpp:101:1: error: narrowing conversion of ''\224'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
xsid.cpp:101:1: error: narrowing conversion of ''\251'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
xsid.cpp:101:1: error: narrowing conversion of ''\274'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
xsid.cpp:101:1: error: narrowing conversion of ''\316'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
xsid.cpp:101:1: error: narrowing conversion of ''\341'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
xsid.cpp:101:1: error: narrowing conversion of ''\362'' from 'char' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
make[3]: *** [Makefile:264: xsid.lo] Error 1
Comment 1 ernsteiswuerfel archtester 2018-03-06 22:51:22 UTC
Created attachment 522636 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-07 08:11:35 UTC
Comment on attachment 522634 [details]
build.log.xz

 * Package:    sys-apps/systemd-236-r5
 * Repository: gentoo
 * Maintainer: systemd@gentoo.org
 * USE:        abi_ppc_32 acl cryptsetup elfutils elibc_glibc kernel_linux kmod lz4 lzma pam policykit ppc seccomp ssl sysv-utils test userland_GNU

It looks like you uploaded the wrong build.log.
Comment 3 ernsteiswuerfel archtester 2018-03-07 15:45:49 UTC
Seems I did, oops! Thanks for pointing out.
Comment 4 ernsteiswuerfel archtester 2018-03-07 15:46:24 UTC
Created attachment 522872 [details]
build.log
Comment 5 ernsteiswuerfel archtester 2018-03-07 16:11:37 UTC
Created attachment 522874 [details]
build.log
Comment 6 ernsteiswuerfel archtester 2018-10-11 16:13:45 UTC
Created attachment 550584 [details]
build.log (ppc64)

Same on ppc64.
Comment 7 Larry the Git Cow gentoo-dev 2019-02-09 20:58:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78c098995b8818447e70e06437d01058aff568c6

commit 78c098995b8818447e70e06437d01058aff568c6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-02-09 19:55:19 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-09 20:57:45 +0000

    media-libs/libsidplay: EAPI-7 bump, fix arm64/ppc64 build with GCC-6
    
    Patch kindly borrowed from Debian.
    
    Reported-by: ernsteiswuerfel <erhard_f@mailbox.org>
    Bug: https://bugs.gentoo.org/649804
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../libsidplay/files/libsidplay-2.1.1-gcc6.patch   | 22 ++++++++
 media-libs/libsidplay/libsidplay-2.1.1-r5.ebuild   | 61 ++++++++++++++++++++++
 2 files changed, 83 insertions(+)
Comment 8 Rolf Eike Beer archtester 2019-02-11 18:28:22 UTC
sparc stable
Comment 9 ernsteiswuerfel archtester 2019-02-12 01:21:12 UTC
Looking good on ppc.

# cat /mnt/mychroot/root/tatt/libsidplay-649804.report 
USE tests started on Di 12. Feb 00:58:53 CET 2019

FEATURES=' test' USE='' succeeded for =media-libs/libsidplay-2.1.1-r5
USE='-static-libs' succeeded for =media-libs/libsidplay-2.1.1-r5
USE='static-libs' succeeded for =media-libs/libsidplay-2.1.1-r5

revdep tests started on Di 12. Feb 01:20:04 CET 2019

FEATURES=' test' USE='' succeeded for media-sound/sidplay
FEATURES=' test' USE='sid' succeeded for media-sound/moc
FEATURES=' test' USE='sid' succeeded for media-sound/mp3blaster
FEATURES=' test' USE='sid' succeeded for media-video/vlc
FEATURES=' test' USE='' succeeded for media-plugins/gst-plugins-sidplay
Comment 10 ernsteiswuerfel archtester 2019-02-12 02:04:02 UTC
Looking good on ppc64.

# cat libsidplay-649804.report 
USE tests started on Di 12. Feb 02:12:59 CET 2019

FEATURES=' test' USE='' succeeded for =media-libs/libsidplay-2.1.1-r5
USE='-static-libs' succeeded for =media-libs/libsidplay-2.1.1-r5
USE='static-libs' succeeded for =media-libs/libsidplay-2.1.1-r5

revdep tests started on Di 12. Feb 02:22:29 CET 2019

FEATURES=' test' USE='sid' succeeded for media-sound/moc
FEATURES=' test' USE='sid' succeeded for media-sound/mp3blaster
FEATURES=' test' USE='sid' succeeded for media-video/vlc
FEATURES=' test' USE='' succeeded for media-plugins/gst-plugins-sidplay
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-12 21:32:28 UTC
ia64 stable
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-12 21:33:23 UTC
hppa stable
Comment 13 Thomas Deutschmann (RETIRED) gentoo-dev 2019-02-15 15:48:39 UTC
x86 stable
Comment 14 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-02-22 10:51:37 UTC
amd64 stable
Comment 15 Sergei Trofimovich (RETIRED) gentoo-dev 2019-03-16 19:44:53 UTC
ppc/ppc64 stable thanks to ernsteiswuerfel!
Comment 16 Larry the Git Cow gentoo-dev 2019-05-06 15:25:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922543f920f826ab45043a56f0a8b559c06a4890

commit 922543f920f826ab45043a56f0a8b559c06a4890
Author:     Tobias Klausmann <klausman@gentoo.org>
AuthorDate: 2019-05-06 15:24:46 +0000
Commit:     Tobias Klausmann <klausman@gentoo.org>
CommitDate: 2019-05-06 15:24:46 +0000

    media-libs/libsidplay-2.1.1-r5: alpha stable
    
    Bug: http://bugs.gentoo.org/649804
    Signed-off-by: Tobias Klausmann <klausman@gentoo.org>

 media-libs/libsidplay/libsidplay-2.1.1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 17 Larry the Git Cow gentoo-dev 2020-10-05 11:22:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5250c494250ac4a4ca6b61d5df04a569b2b2537f

commit 5250c494250ac4a4ca6b61d5df04a569b2b2537f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-10-05 09:02:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-10-05 11:05:16 +0000

    profiles: ppc32: Drop obsolete media-video/vlc[sid] p.use.stable.mask
    
    Bug: https://bugs.gentoo.org/649804
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.stable.mask | 4 ----
 1 file changed, 4 deletions(-)