Skip to contentSkip to conversation

xfsdump: Building inventory: gcc: fatal error: no input files

DISCUSSION Thomas Deutschmann 2 participants 2 messages Feb 12, 2020 – Oct 2, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

not sure if anybody has noticed yet but when building xfsdump, there seems to be a non-fatal build error:

Quoted 4 lines

Building inventory

    [LTDEP]

gcc: fatal error: no input files
compilation terminated.

With remake I see

Quoted 8 lines

~/sys-fs/xfsdump-3.1.9/work/xfsdump-3.1.9/inventory $ remake --trace=read Reading makefile 'Makefile'...
Reading makefile '../include/builddefs' (search path) (no ~ expansion)... Reading makefile '../include/buildmacros' (search path) (no ~ expansion)... Reading makefile '../include/buildrules' (search path) (no ~ expansion)... Reading makefile '../include/builddefs' (search path) (no ~ expansion)... Reading makefile '.ltdep' (search path) (don't care) (no ~ expansion)...

    [LTDEP]
Quoted 10 lines

x86_64-pc-linux-gnu-gcc -MM -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=clobbered -Wno-error=format-overflow -Wno-error=unused-function -Wno-error=implicit-function-declaration -Wno-error=maybe-uninitialized -frecord-gcc-switches -D_GNU_SOURCE -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=clobbered -Wno-error=format-overflow -Wno-error=unused-function -Wno-error=implicit-function-declaration -Wno-error=maybe-uninitialized -frecord-gcc-switches -DNDEBUG -DVERSION=\"3.1.9\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"xfsdump\" -I../include -DENABLE_GETTEXT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -fno-strict-aliasing -Wall | /bin/sed -e 's,^\([^:]*\)\.o,\1.lo,' > .ltdep
x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated.
Reading makefile 'Makefile'...
Reading makefile '../include/builddefs' (search path) (no ~ expansion)... Reading makefile '../include/buildmacros' (search path) (no ~ expansion)... Reading makefile '../include/buildrules' (search path) (no ~ expansion)... Reading makefile '../include/builddefs' (search path) (no ~ expansion)... Reading makefile '.ltdep' (search path) (don't care) (no ~ expansion)...
remake: Nothing to be done for 'default'.

Seen in xfsdump-3.1.6-3.1.9.

Not just in Gentoo, it's also present in Debian, see
https://buildd.debian.org/status/fetch.php?pkg=xfsdump&arch=amd64&ver=3.1.6%2Bnmu2%2Bb2&stamp=1526577413&raw=0

Signature · 3 lines
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5
#1 lore raw
Quoted 9 lines · Thomas Deutschmann

Hi,

not sure if anybody has noticed yet but when building xfsdump, there seems to be a non-fatal build error:

Quoted 4 lines

Building inventory

    [LTDEP]

gcc: fatal error: no input files
compilation terminated.

Thanks - sorry for the very slow response here. The files in inventory/ get shared between dump/ and restore/ and get built in those dirs; I'll figure out how to suppress this error.

-Eric