Subject: automake btrf inode problem

From: aotto <[email-masked]>
Date: Mon, 3 Apr 2017 22:45:23 +0200

Hi… an automake build fails with the following error…

libtool: compile:  /usr/bin/ccache gcc … -MP -MF 
.deps/libmsgque_la-sqlite3.Tpo -c /XXX/libmsgque/../sqlite/sqlite3.c -o 
libmsgque_la-sqlite3.o >/dev/null 2>&1
mv -f .deps/libmsgque_la-sqlite3.Tpo .deps/libmsgque_la-sqlite3.Plo
mv: '.deps/libmsgque_la-sqlite3.Tpo' und 
'.deps/libmsgque_la-sqlite3.Plo' sind die gleiche Datei (same file)
Makefile:769: recipe for target 'libmsgque_la-sqlite3.lo' failed
make: *** [libmsgque_la-sqlite3.lo] Error 1

XXX/libmsgque> ls -i .deps/libmsgque_la-sqlite3.Tpo 
.deps/libmsgque_la-sqlite3.Plo
515890 .deps/libmsgque_la-sqlite3.Plo  515890 .deps/libmsgque_la-sqlite3.Tpo

the problem seems to me that in btrf both files share the SAME inode… !! 
515890 !!

→ mv complain about it and build fails…

what can I do… ??