FS#14805 - Transcode (subtitleripper) fails to build
Attached to Project:
Arch Linux
Opened by Emmanuel (bkk_drs) - Saturday, 23 May 2009, 04:50 GMT
Last edited by Jan de Groot (JGC) - Sunday, 31 May 2009, 13:19 GMT
Opened by Emmanuel (bkk_drs) - Saturday, 23 May 2009, 04:50 GMT
Last edited by Jan de Groot (JGC) - Sunday, 31 May 2009, 13:19 GMT
|
Details
Description: Transcode (subtitleripper) fails to build.
Up-to-date machine using [testing]
Compiling subtitle2vobsub.c subtitle2vobsub.c: In function ‘main’: subtitle2vobsub.c:422: warning: pointer targets in passing argument 8 of ‘vobsub_parse_ifo’ differ in signedness vobsub.h:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ subtitle2vobsub.c:444: warning: pointer targets in passing argument 5 of ‘vobsub_out_open’ differ in signedness vobsub.h:11: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ subtitle2vobsub.c:537: warning: dereferencing type-punned pointer will break strict-aliasing rules subtitle2vobsub.c:588: warning: pointer targets in passing argument 2 of ‘vobsub_out_output’ differ in signedness vobsub.h:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ Compiling vobsub.c vobsub.c:59: error: static declaration of ‘getline’ follows non-static declaration /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here make: *** [vobsub.o] Error 1 ==> ERROR: Build Failed. Aborting... Obviously an upstream bug but subtitleripper tracker is a very scary place. |
This task depends upon
Comment by Jan de Groot (JGC) -
Saturday, 23 May 2009, 09:24 GMT
Comment by Emmanuel (bkk_drs) -
Saturday, 23 May 2009, 10:13 GMT
Comment by
Roman Kyrylych (Romashka) - Sunday,
31 May 2009, 11:53 GMT
The getline function needs to be renamed to something like
get_line. This function is new since glibc 2.10.
That fixed it. Thanks Jan.
@ JGC: transcode is orphan, but you was the last to modify it, can
you add some sed line to the PKGBUILD? ( == can this bug be
closed?)