W/ commit 4d2c63a9bc3accd7b852b1c8b2089c6296fee156: supermin fails to create temporary dir
That's the current commit head I am at (on 'master' branch): $ git log | head -2 commit 4d2c63a9bc3accd7b852b1c8b2089c6296fee156 Author: Richard W.M. Jones <rjones@redhat.com> I invoked: $ git pull ; ./autogen.sh && make clean && make -j 7 \ && time make -k extra-tests LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 \ | tee /var/tmp/make-extra-check-libguestfs-24-may.log . . . . extracting /usr/lib64/gconv/gconv-modules from glibc-2.17-11.fc19.x86_64.rpm ... Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermin66a2e1c4c95a0e7fb53c3122f449b299.tmp/root//var/run") make[2]: *** [stamp-supermin] Error 2 make[2]: Leaving directory `/home/kashyap/src/libguestfs/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kashyap/src/libguestfs' make: *** [all] Error 2 Hints? -- /kashyap
On Wed, Jul 24, 2013 at 06:15:32PM +0530, Kashyap Chamarthy wrote:
That's the current commit head I am at (on 'master' branch):
$ git log | head -2 commit 4d2c63a9bc3accd7b852b1c8b2089c6296fee156 Author: Richard W.M. Jones <rjones@redhat.com>
I invoked:
$ git pull ; ./autogen.sh && make clean && make -j 7 \ && time make -k extra-tests LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 \ | tee /var/tmp/make-extra-check-libguestfs-24-may.log
. . . . extracting /usr/lib64/gconv/gconv-modules from glibc-2.17-11.fc19.x86_64.rpm n... Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermin66a2e1c4c95a0e7fb53c3122f449b299.tmp/root//var/run") make[2]: *** [stamp-supermin] Error 2 make[2]: Leaving directory `/home/kashyap/src/libguestfs/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kashyap/src/libguestfs' make: *** [all] Error 2
This is actually a supermin bug, fixed by the following commit (in supermin.git): commit ee7eec04fe5be5387168e43e546ec05f1c4372fe Author: Richard W.M. Jones <rjones@redhat.com> Date: Wed Jun 26 21:40:26 2013 +0100 Ignore ghost non-regular files. RPMs in Fedora 20 contain /var/run and /var/lock, as symlinks, marked %ghost. The old code would create these as regular files which would then cause a failure if something was created inside them. You would see an error like this: Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermineab65b098ad It's fixed in Fedora >= 18 if you have the supermin >= 4.1.1-2. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
. . . extracting /usr/lib64/gconv/gconv-modules from glibc-2.17-11.fc19.x86_64.rpm n... Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermin66a2e1c4c95a0e7fb53c3122f449b299.tmp/root//var/run") make[2]: *** [stamp-supermin] Error 2 make[2]: Leaving directory `/home/kashyap/src/libguestfs/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kashyap/src/libguestfs' make: *** [all] Error 2
This is actually a supermin bug, fixed by the following commit (in supermin.git):
commit ee7eec04fe5be5387168e43e546ec05f1c4372fe Author: Richard W.M. Jones <rjones@redhat.com> Date: Wed Jun 26 21:40:26 2013 +0100
Ignore ghost non-regular files.
RPMs in Fedora 20 contain /var/run and /var/lock, as symlinks, marked %ghost. The old code would create these as regular files which would then cause a failure if something was created inside them.
You would see an error like this:
Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermineab65b098ad
It's fixed in Fedora >= 18 if you have the supermin >= 4.1.1-2.
Thanks, I had the below version supermin-4.1.1-1.fc19.x86_64 Updated and re-invoked the tests. -- /kashyap
participants (2)
-
Kashyap Chamarthy -
Richard W.M. Jones