FS#50754 - [musicbrainz] “error: narrowing conversion of '181' from 'int' to 'char' inside { }”
Attached to Project:
Arch Linux
Opened by Nikos Theodorou (GordonGR) - Monday, 12 September 2016, 15:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 05 January 2019, 13:30 GMT
Opened by Nikos Theodorou (GordonGR) - Monday, 12 September 2016, 15:34 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 05 January 2019, 13:30 GMT
|
Details
Greetings.
The package refuses to build —even in a clean chroot—, stating: [code] signature.cpp:49:76: error: narrowing conversion of '181' from 'int' to 'char' inside { } [-Wnarrowing] 0xb5, 0x8b, 0x06, 0x66, 0x82, 0x6c, 0x2b, 0xac, 0x00 }; ^ signature.cpp:49:76: error: narrowing conversion of '174' from 'int' to 'char' inside { } [-Wnarrowing] signature.cpp:49:76: error: narrowing conversion of '181' from 'int' to 'char' inside { } [-Wnarrowing] signature.cpp:49:76: error: narrowing conversion of '139' from 'int' to 'char' inside { } [-Wnarrowing] signature.cpp:49:76: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing] signature.cpp:49:76: error: narrowing conversion of '172' from 'int' to 'char' inside { } [-Wnarrowing] [/code] As a result, aur/lib32-musicbrainz won't build either, with the same output. I suspect it has to do with gcc, but I cannot know, alas I'm not a programmer. I attach the full log, though. Thank you. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 05 January 2019, 13:30 GMT
Reason for closing: Not a bug
Additional comments about closing: package has been dropped https://git.archlinux.org/svntogit/packa ges.git/commit/?id=ea3d2780e634421041a4f 735a992253317baee9b
Saturday, 05 January 2019, 13:30 GMT
Reason for closing: Not a bug
Additional comments about closing: package has been dropped https://git.archlinux.org/svntogit/packa ges.git/commit/?id=ea3d2780e634421041a4f 735a992253317baee9b
Comment by
Nikos Theodorou (GordonGR) -
Sunday, 16 October 2016, 14:23 GMT
OpenSuSE has come up with the attached patch, that does solve the
problems. Perhaps you would like to incorporate it? More info at
https://en.opensuse.org/Move_to_Gcc6
and the patch itself at
https://build.opensuse.org/package/view_file/openSUSE:Factory/libmusicbrainz/gcc6-fix-errors.patch
.