Running phase: unpackPhase unpacking source archive /nix/store/hx22wmg4vkwpbjdx57wky0km8idr619d-vobcopy-1.2.0.tar.bz2 source root is vobcopy-1.2.0 setting SOURCE_DATE_EPOCH to timestamp 1244492268 of file "vobcopy-1.2.0/vobcopy.spec" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash DESTDIR=\$\(out\) PREFIX=/ gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local//include -c vobcopy.c vobcopy.c: In function 'main': vobcopy.c:776:36: error: passing argument 1 of 'get_longest_title' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 776 | titleid = get_longest_title( &dvd ); | ^~~~ | | | dvd_reader_t ** {aka struct dvd_reader_s **} In file included from vobcopy.h:217, from vobcopy.c:53: dvd.h:9:24: note: expected 'dvd_reader_t *' {aka 'struct dvd_reader_s *'} but argument is of type 'dvd_reader_t **' {aka 'struct dvd_reader_s **'} 9 | int get_longest_title( dvd_reader_t * ); | ^~~~~~~~~~~~~~ vobcopy.c:1295:48: warning: format '%lli' expects argument of type 'long long int', but argument 6 has type '__off_t' {aka 'long int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 1295 | fprintf( stderr, _("[Info] Vob %d %d (%s) has a size of %lli\n"), title_nr, subvob, input_file, buf.st_size ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vobcopy.h:8:17: note: in definition of macro '_' 8 | #define _(Text) Text | ^~~~ vobcopy.c:1295:88: note: format string is defined here 1295 | fprintf( stderr, _("[Info] Vob %d %d (%s) has a size of %lli\n"), title_nr, subvob, input_file, buf.st_size ); | ~~~^ | | | long long int | %li vobcopy.c:1828:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'off_t' {aka 'long int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 1828 | fprintf( stderr, _("[Warn] Had to skip (couldn't read) %d blocks (before block %d)! \n "), skipped_blocks, offset ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vobcopy.h:8:17: note: in definition of macro '_' 8 | #define _(Text) Text | ^~~~ vobcopy.c:1828:93: note: format string is defined here 1828 | fprintf( stderr, _("[Warn] Had to skip (couldn't read) %d blocks (before block %d)! \n "), skipped_blocks, offset ); | ~^ | | | int | %ld make: *** [Makefile:20: vobcopy.o] Error 1