[Debian-on-mobile-maintainers] Bug#1105676: umtp-responder: FTBFS with make --shuffle=reverse: Fatal error: can't create obj/mtp_op_opensession.o: No such file or directory

Lucas Nussbaum lucas at debian.org
Tue May 13 20:17:42 BST 2025


Source: umtp-responder
Version: 1.3.10-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at 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/umtp-responder-1.3.10'
> Makefile:19: update target 'obj/mtp_ops_helpers.o' due to: target does not exist
> cc -o obj/mtp_ops_helpers.o src/mtp_operations/mtp_ops_helpers.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_truncateobject.o' due to: target does not exist
> cc -o obj/mtp_op_truncateobject.o src/mtp_operations/mtp_op_truncateobject.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_setobjectpropvalue.o' due to: target does not exist
> cc -o obj/mtp_op_setobjectpropvalue.o src/mtp_operations/mtp_op_setobjectpropvalue.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_sendobjectinfo.o' due to: target does not exist
> cc -o obj/mtp_op_sendobjectinfo.o src/mtp_operations/mtp_op_sendobjectinfo.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_sendobject.o' due to: target does not exist
> cc -o obj/mtp_op_sendobject.o src/mtp_operations/mtp_op_sendobject.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_opensession.o' due to: target does not exist
> cc -o obj/mtp_op_opensession.o src/mtp_operations/mtp_op_opensession.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_getstorageinfo.o' due to: target does not exist
> cc -o obj/mtp_op_getstorageinfo.o src/mtp_operations/mtp_op_getstorageinfo.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Makefile:19: update target 'obj/mtp_op_getstorageids.o' due to: target does not exist
> cc -o obj/mtp_op_getstorageids.o src/mtp_operations/mtp_op_getstorageids.c -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/umtp-responder-1.3.10=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I./inc -lpthread -Wall -O3
> Assembler messages:
> Fatal error: can't create obj/mtp_op_opensession.o: No such file or directory
> make[1]: *** [Makefile:19: obj/mtp_op_opensession.o] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/umtp-responder_1.3.10-1_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



More information about the Debian-on-mobile-maintainers mailing list