On 2011-06-16, at 8:31 PM, Ted Ts'o wrote: > On Thu, Jun 16, 2011 at 03:39:07PM -0500, Eric Sandeen wrote: >>> Hm, now in a "make rpm" build which has source in one place and rpm build >>> area in another: >>> >>> /bin/ln: creating hard link `/home/sandeen/rpmbuild/BUILDROOT/e2fsprogs-1.41.14-0.x86_64/usr/include/com_err.h' => `/usr/include/et/com_err.h': Invalid cross-device link >>> >>> so I'm not quite sure how to work around this. >>> >>> Maybe in the end it does have to be packaging-specific, with the >>> link created by the distro pkg scripts...? >> >> Ted, your change broke any builds span 2 different filesystems. > > I thought I fixed this with commit 1e082c62? > > Which Makefile is breaking? Is this the one in lib/et/Makefile.in? > It currently reads: > > $(Q) (cd $(DESTDIR)$(includedir) ;\ > $(LN) $(LINK_INSTALL_FLAGS) et/com_err.h . ) > > and I don't see how that could have generated the error you've cited > above... I had to return the "-s" back as well, but the current code looks OK. The chance of separate filesystems for /usr/include and /usr/include/et being used seems vanishingly small. Cheers, Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html