FS#51926 - [smpeg][smpeg2] Build failed with gcc 6

Attached to Project: Arch Linux
Opened by Li (orzogc) - Tuesday, 22 November 2016, 16:54 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 11 December 2018, 14:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Failed to build smpeg and smpeg2 in a clean chroot.

Additional info:
* package version(s)
smpeg 0.4.5-2
smpeg2 1:2.0.0-2

* config and/or log files etc.
Build error log:
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
};
^
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
make: *** [Makefile:868: hufftable.lo] Error 1

Attach a patch to fix it.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 11 December 2018, 14:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  smpeg 0.4.5-3
Comment by Rikard Falkeborn (Herk) - Tuesday, 23 January 2018, 22:23 GMT
smpeg 0.4.5-3 builds fine in a clean chroot. smpeg2 1:2.0.0-2 still doesn't.

Loading...