Created attachment 489452 [details] config.log from failed emerge It seems that the current version of xfsprogs doesn't provide a suitable xfs.h file for sys-fs/xfsdump-3.1.3. This is the latest output from the failed configure process: checking xfs/xfs.h usability... no checking xfs/xfs.h presence... yes configure: WARNING: xfs/xfs.h: present but cannot be compiled configure: WARNING: xfs/xfs.h: check for missing prerequisite headers? configure: WARNING: xfs/xfs.h: see the Autoconf documentation configure: WARNING: xfs/xfs.h: section "Present But Cannot Be Compiled" configure: WARNING: xfs/xfs.h: proceeding with the compiler's result checking for xfs/xfs.h... no FATAL ERROR: cannot find a valid <xfs/xfs.h> header file. Install or upgrade the XFS development package. Alternatively, run "make install-dev" from the xfsprogs source.
(In reply to MaurizioB from comment #0) > Created attachment 489452 [details] > config.log from failed emerge > > It seems that the current version of xfsprogs doesn't provide a suitable > xfs.h file for sys-fs/xfsdump-3.1.3. > > This is the latest output from the failed configure process: > > checking xfs/xfs.h usability... no > checking xfs/xfs.h presence... yes > configure: WARNING: xfs/xfs.h: present but cannot be compiled > configure: WARNING: xfs/xfs.h: check for missing prerequisite headers? > configure: WARNING: xfs/xfs.h: see the Autoconf documentation > configure: WARNING: xfs/xfs.h: section "Present But Cannot Be Compiled" > configure: WARNING: xfs/xfs.h: proceeding with the compiler's result > checking for xfs/xfs.h... no > > FATAL ERROR: cannot find a valid <xfs/xfs.h> header file. > Install or upgrade the XFS development package. > Alternatively, run "make install-dev" from the xfsprogs source. 4.x series requires xfsdump-3.1.6
Thanks Jory for pointing it out, I didn't know that. Where is the source of this problem, then?
Please just update to xfsdump-3.1.7 which has just been release. It fixes build issues with xfsprogs-4.9.0 and later versions: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.7.tar.xz Fix in git: https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/commit/?id=71860dc900fe92c1cdf08febb40c551dc10371a3
I edited the existing ebuild in the official tree, modifying package version and url. I can confirm that the issue is resolved and the emerge was completed successfully. Thank you.
Created attachment 490032 [details] Updated ebuild for sys-fs/xfsdump-3.1.7
Given stable xfsdump is build-broken on 32-bit systems let's stable newer version.
ppc/ppc64 stable
ia64 stable
amd64 stable
x86 stable
Stable on alpha.
hppa stable