Amir Goldstein <amir73il@xxxxxxxxx> 于2018年7月2日周一 下午3:27写道: > > On Mon, Jul 2, 2018 at 10:19 AM, Eryu Guan <guaneryu@xxxxxxxxx> wrote: > > On Mon, Jul 02, 2018 at 10:42:19AM +0800, Lu Fengqi wrote: > >> Zorro Lang <zlang@xxxxxxxxxx> 于2018年7月2日周一 上午10:25写道: > >> > > >> > On Sun, Jul 01, 2018 at 09:07:51PM +0800, Eryu Guan wrote: > >> > > Hi all, > >> > > > >> > > The master branch of the xfstests repository at: > >> > > > >> > > git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git > >> > > > >> > > have just been updated. This update contains 8 new tests mainly for xfs and > >> > > btrfs, but they all should pass with latest Linus tree. Others are random > >> > > updates including license update to src/log-writes/* and fixes to build > >> > > infrastructure. > >> > > > >> > > Thanks, > >> > > Eryu > >> > > > >> > > The new head of the master branch is commit: > >> > > > >> > > 42b851446ff1 build: remove <attr/xattr.h> check > >> > > > >> > > New commits: > >> > > > >> > > Darrick J. Wong (2): > >> > > [e04c7b7e3021] xfs/365: fuzz inobt in ag 1 > >> > > [494b07e34015] xfs: regression test for rmapbt fdblocks accounting problems > >> > > > >> > > Filipe Manana (1): > >> > > [89ee377df5f2] btrfs: test power failure while qgroups rescan is in progress > >> > > > >> > > Josef Bacik (1): > >> > > [a0f89557ca46] fstests: add SPDX license comments for src/log-writes/* > >> > > > >> > > Lu Fengqi (3): > >> > > [d61c29d32fab] fsstress: remove include <attr/xattr.h> > >> > > [652fda3ee172] src/t_immutable: use sys/xattr.h instead of attr/xattr.h > >> > > [42b851446ff1] build: remove <attr/xattr.h> check > >> > > >> > The current xfstests-dev always fails on building time: > >> > > >> > configure.ac:56: error: possibly undefined macro: AC_PACKAGE_NEED_GETXATTR_LIBATTR > >> > If this token and others are legitimate, please use m4_pattern_allow. > >> > See the Autoconf documentation. > >> > make: *** [configure] Error 1 > >> > > >> > After reverting "[42b851446ff1] build: remove <attr/xattr.h> check", everything > >> > goes well. > >> > > >> > Is there following fix about this? Or did I do something wrong? > > > > That's weird, I didn't see compiling errors in my release testing on any > > of the three distros I tested (CentOS7.4, Debian sid and Fedora 28). But > > now I did see the errors.. > > > > My experience is that 'make' failed but 'make clean; make' did fine. > The btrfs-progs have the following targets to check build infrastructure, may we create the similar target for xfstests? test-build: test-build-pre test-build-real test-build-pre: $(MAKE) $(MAKEOPTS) clean-all ./autogen.sh ./configure test-build-real: $(MAKE) $(MAKEOPTS) library-test -$(MAKE) $(MAKEOPTS) library-test.static $(MAKE) $(MAKEOPTS) -j 8 all -$(MAKE) $(MAKEOPTS) -j 8 static $(MAKE) $(MAKEOPTS) -j 8 $(progs_extra) ------------------------------------------------------------- Thanks, Lu > Thanks, > Amir. -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html