Dave Chinner
2014-10-20 01:47:50 UTC
I'm getting the sources from https://kernel.googlesource.com/pub/scm/fs/xfs/xfstests-dev (as I can't use git directly, only over HTTP(s) due to company policy)
== dist, log is Logs/dist
make: Entering directory `/var/jenkins/workspace/xfstests-build/build'
/bin/tar: xfstests-1.1.1/m4/general_headers.m4: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
Wrote: /var/jenkins/workspace/xfstests-build/build/xfstests-1.1.1.src.tar.gz
=== install ===
gmake[1]: Entering directory `/var/jenkins/workspace/xfstests-build'
Building include
Building lib
Building ltp
Building src
Building aio-dio-regress
Building m4
Building common
Building tests
...
gmake[1]: Leaving directory `/var/jenkins/workspace/xfstests-build'
=== tar ===
Wrote: /var/jenkins/workspace/xfstests-build/build/tar/xfstests-1.1.1.tar.gz
=== rpm ===
-e'/^BuildRoot: *$/d' \
/usr/bin/rpmbuild -ba --rcfile ./rpm-4.rc xfstests.spec
error: File /root/rpmbuild/SOURCES/xfstests-1.1.1.src.tar.gz: No such file or directory
gmake[1]: *** [dist] Error 1
I've never tried to build xfstests packages, so I'd make the== dist, log is Logs/dist
make: Entering directory `/var/jenkins/workspace/xfstests-build/build'
/bin/tar: xfstests-1.1.1/m4/general_headers.m4: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
Wrote: /var/jenkins/workspace/xfstests-build/build/xfstests-1.1.1.src.tar.gz
=== install ===
gmake[1]: Entering directory `/var/jenkins/workspace/xfstests-build'
Building include
Building lib
Building ltp
Building src
Building aio-dio-regress
Building m4
Building common
Building tests
...
gmake[1]: Leaving directory `/var/jenkins/workspace/xfstests-build'
=== tar ===
Wrote: /var/jenkins/workspace/xfstests-build/build/tar/xfstests-1.1.1.tar.gz
=== rpm ===
-e'/^BuildRoot: *$/d' \
/usr/bin/rpmbuild -ba --rcfile ./rpm-4.rc xfstests.spec
error: File /root/rpmbuild/SOURCES/xfstests-1.1.1.src.tar.gz: No such file or directory
gmake[1]: *** [dist] Error 1
assumption that the package build infrastructure is broken and needs
fixing. That's looking for the tarball in the wrong place. My naive
reading of that is rpmbuild is expecting to run as root, not as a
jenkins user....
Eric, you're the local RPM expert - any ideas?
FWIW, I'll take whatever patches you guys come up with that make it
build rpms properly. ;)
Cheers,
Dave.
--
Dave Chinner
***@fromorbit.com
Dave Chinner
***@fromorbit.com