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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Jan de Groot (JGC)
Sunday, 31 May 2009, 13:19 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Saturday, 23 May 2009, 09:24 GMT
The getline function needs to be renamed to something like get_line. This function is new since glibc 2.10.
Comment by Emmanuel (bkk_drs) - Saturday, 23 May 2009, 10:13 GMT
That fixed it. Thanks Jan.
Comment by Roman Kyrylych (Romashka) - Sunday, 31 May 2009, 11:53 GMT
@ 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?)

Loading...