[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1105708: tstools: FTBFS with make --shuffle=reverse: Fatal error: can't create obj/ipv4.o: No such file or directory



Source: tstools
Version: 1.13~git20151030-6
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/tstools-1.13~git20151030'
> Makefile:353: update target 'obj/ipv4.o' due to: target does not exist
> gcc -c ipv4.c -o obj/ipv4.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/ethernet.o' due to: target does not exist
> gcc -c ethernet.c -o obj/ethernet.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/pcap.o' due to: target does not exist
> gcc -c pcap.c -o obj/pcap.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:394: update target 'obj/tswrite.o' due to: target does not exist
> gcc -c tswrite.c -o obj/tswrite.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/tsplay_innards.o' due to: target does not exist
> gcc -c tsplay_innards.c -o obj/tsplay_innards.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/ts.o' due to: target does not exist
> gcc -c ts.c -o obj/ts.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/reverse.o' due to: target does not exist
> gcc -c reverse.c -o obj/reverse.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> Makefile:353: update target 'obj/printing.o' due to: target does not exist
> gcc -c printing.c -o obj/printing.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tstools-1.13~git20151030=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -I.  -fPIC -DTSTOOLS_VERSION=1.13
> tsplay_innards.c: In function ‘play_buffered_TS_packets’:
> tsplay_innards.c:448:11: warning: ‘read_buffered_TS_packet’ accessing 1504 bytes in a region of size 8 [-Wstringop-overflow=]
>   448 |     err = read_buffered_TS_packet(tsreader,&count,&data,&pid,&pcr,
>       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   449 |                                   max,loop,start_posn,start_count,quiet);
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> tsplay_innards.c:448:11: note: referencing argument 3 of type ‘byte *[188]’ {aka ‘unsigned char *[188]’}
> In file included from tsplay_innards.c:48:
> ts_fns.h:479:12: note: in a call to function ‘read_buffered_TS_packet’
>   479 | extern int read_buffered_TS_packet(TS_reader_p  tsreader,
>       |            ^~~~~~~~~~~~~~~~~~~~~~~
> tsplay_innards.c: In function ‘play_TS_packets’:
> tsplay_innards.c:553:11: warning: ‘read_TS_packet’ accessing 1504 bytes in a region of size 8 [-Wstringop-overflow=]
>   553 |     err = read_TS_packet(tsreader,&count,&data,&pid,&got_pcr,&pcr,
>       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   554 |                          max,loop,start_posn,start_count,quiet);
>       |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> tsplay_innards.c:553:11: note: referencing argument 3 of type ‘byte *[188]’ {aka ‘unsigned char *[188]’}
> tsplay_innards.c:82:12: note: in a call to function ‘read_TS_packet’
>    82 | static int read_TS_packet(TS_reader_p  tsreader,
>       |            ^~~~~~~~~~~~~~
> ts.c:2074:54: warning: argument 2 of type ‘byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
>  2074 |                                       byte           data[],
>       |                                       ~~~~~~~~~~~~~~~^~~~~~
> In file included from ts.c:41:
> ts_fns.h:579:54: note: previously declared as ‘byte[184]’ {aka ‘unsigned char[184]’}
>   579 |                                       byte           payload[MAX_TS_PAYLOAD_SIZE],
>       |                                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Assembler messages:
> Fatal error: can't create obj/ipv4.o: No such file or directory
> make[1]: *** [Makefile:353: obj/ipv4.o] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/tstools_1.13~git20151030-6_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects


Reply to: