Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672818 - app-arch/lrzip-0.621: libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] 0,0}; // 0,0 = end of list
Summary: app-arch/lrzip-0.621: libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 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: 694474
Blocks:
  Show dependency tree
 
Reported: 2018-12-09 14:29 UTC by ernsteiswuerfel
Modified: 2019-11-02 00:04 UTC (History)
0 users

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


Attachments
build.log (lrzip-0.621:20181209-140830.log,29.79 KB, text/plain)
2018-12-09 14:29 UTC, ernsteiswuerfel
Details
emerge --info (file_672818.txt,6.31 KB, text/plain)
2018-12-09 14:30 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-12-09 14:29:49 UTC
Created attachment 557402 [details]
build.log

0.631-r1 builds fine, but 0.621 throws up this bug. Perhaps 0.631-r1 would be a better stable candidat?

[...]
libzpaq/libzpaq.cpp: In member function 'void libzpaq::Compressor::startBlock(int)':
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
   0,0}; // 0,0 = end of list
      ^
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-49' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-60' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-96' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-73' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-17' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-25' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-122' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-105' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-33' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-113' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-44' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-113' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-40' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-81' from 'int' to 'char' inside { } [-Wnarrowing]
libzpaq/libzpaq.cpp:1480:6: error: narrowing conversion of '-49' from 'int' to 'char' inside { } [-Wnarrowing]
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c runzip.c -o runzip.o >/dev/null 2>&1
make[2]: *** [Makefile:813: libzpaq.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c aes.c -o aes.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c util.c -o util.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c liblrzip.c -o liblrzip.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c lrzip.c -o lrzip.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c rzip.c -o rzip.o >/dev/null 2>&1
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I lzma/C -DNDEBUG -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -c stream.c -o stream.o >/dev/null 2>&1
make[2]: Leaving directory '/var/tmp/portage/app-arch/lrzip-0.621/work/lrzip-0.621'
make[1]: *** [Makefile:915: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-arch/lrzip-0.621/work/lrzip-0.621'
make: *** [Makefile:531: all] Error 2
 * ERROR: app-arch/lrzip-0.621::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2018-12-09 14:30:34 UTC
Created attachment 557404 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2019-11-02 00:04:30 UTC
Fixed with app-arch/lrzip-0.631_p20190619 going stable (bug #624462).