arnaud gaboury
2014-Aug-12 14:52 UTC
Re: [Libguestfs] issue when building/making package from git
> > Apparently this: > > https://wiki.manjaro.org/index.php?title=Pacman_troubleshooting#.22Unable_to_lock_database.22_Error >I didn't mentioned it, but I already ran # rm /var/lib/pacman/db.lck I even tried building with make -j1 just in case some other thread was locking the DB. In fact, some process during the build is already locking the DB.
arnaud gaboury
2014-Aug-12 15:01 UTC
Re: [Libguestfs] issue when building/making package from git
Please find below the failed test-build-bash log: ---------------------------------- supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: prepare: bash supermin: packages specified on the command line: - bash-4.3.022-1.x86_64 supermin: writing /tmp/tmp.16BVLSCCqj/d1.9qkm5gcz/packages error: package 'bash' not found supermin: after resolving dependencies there are 1 packages: - bash-4.3.022-1.x86_64 supermin: writing /tmp/tmp.16BVLSCCqj/d1.9qkm5gcz/base.tar.gz supermin: renaming /tmp/tmp.16BVLSCCqj/d1.9qkm5gcz to /tmp/tmp.16BVLSCCqj/d1 supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: build: /tmp/tmp.16BVLSCCqj/d1 supermin: build: visiting /tmp/tmp.16BVLSCCqj/d1/base.tar.gz type gzip base image (tar) supermin: build: visiting /tmp/tmp.16BVLSCCqj/d1/packages type uncompressed packages error: package 'bash' not found supermin: build: 1 packages, including dependencies supermin: build: 135 files supermin: build: 135 files, after removing unreadable files supermin: build: 135 files, after matching excludefiles supermin: build: 135 files, after adding hostfiles supermin: build: 135 files, after munging supermin: renaming /tmp/tmp.16BVLSCCqj/d2.o82qppzs to /tmp/tmp.16BVLSCCqj/d2 supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: build: /tmp/tmp.16BVLSCCqj/d1 supermin: build: visiting /tmp/tmp.16BVLSCCqj/d1/base.tar.gz type gzip base image (tar) supermin: build: visiting /tmp/tmp.16BVLSCCqj/d1/packages type uncompressed packages error: package 'bash' not found supermin: build: 1 packages, including dependencies supermin: build: 135 files supermin: build: 135 files, after removing unreadable files supermin: build: 135 files, after matching excludefiles supermin: build: 135 files, after adding hostfiles supermin: build: 135 files, after munging supermin: kernel: SUPERMIN_KERNEL environment variable /boot/vmlinuz-linux supermin: kernel: SUPERMIN_KERNEL version 3.15.8-1-ARCH supermin: kernel: picked modules path /lib/modules/3.15.8-1-ARCH supermin: kernel: kernel_version 3.15.8-1-ARCH supermin: kernel: modules /lib/modules/3.15.8-1-ARCH supermin: ext2: creating empty ext2 filesystem '/tmp/tmp.16BVLSCCqj/d2.hea593cr/root' supermin: ext2: populating from base image supermin: ext2: copying files from host filesystem supermin: ext2: copying kernel modules supermin: *** parent directory not found *** supermin: When reporting this error: supermin: please include ALL the debugging information below supermin: AND tell us what system you are running this on. src=/lib/modules dest=/lib/modules dirname=/usr/lib basename=modules supermin: ext2fs_namei: parent directory not found: /usr/lib: File not found by ext2_lookup supermin: failure: ext2fs_namei: parent directory not found
arnaud gaboury
2014-Aug-12 15:24 UTC
Re: [Libguestfs] issue when building/making package from git
> Please find below the failed test-harder.sh log: > ----------------------------------supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: prepare: hivex supermin: packages specified on the command line: - hivex-1.3.10-1.x86_64 supermin: writing /tmp/tmp.S7jYEyTv34/d1.k34uqvoy/packages error: package 'hivex' not found supermin: after resolving dependencies there are 1 packages: - hivex-1.3.10-1.x86_64 supermin: writing /tmp/tmp.S7jYEyTv34/d1.k34uqvoy/base.tar.gz supermin: renaming /tmp/tmp.S7jYEyTv34/d1.k34uqvoy to /tmp/tmp.S7jYEyTv34/d1 supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: build: /tmp/tmp.S7jYEyTv34/d1 supermin: /tmp/tmp.S7jYEyTv34/d1/base.tar.gz: unknown file type in supermin directory> Please find below the failed test-build-bash-network.sh log:----------------------------------------------- supermin: version: 5.1.9 supermin: package handler: arch/pacman supermin: prepare: bash supermin: packages specified on the command line: - bash-4.3.022-1.x86_64 supermin: writing /tmp/tmp.Kd4XbT33YA/d1.b94j2xoc/packages error: package 'bash' not found supermin: after resolving dependencies there are 1 packages: - bash-4.3.022-1.x86_64 :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date resolving dependencies... Packages (1): bash-4.3.022-1 Total Download Size: 0.00 MiB :: Proceed with download? [Y/n] checking keyring... checking package integrity... tar: /tmp/superminaa5b69.tmpdir/70oix1dk/*.pkg.tar.xz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now supermin: umask 0000 for f in '/tmp/superminaa5b69.tmpdir/70oix1dk'/*.pkg.tar.xz; do tar -xf "$f" -C '/tmp/superminaa5b69.tmpdir/prepare.d'; done : command failed, see earlier errors --------------------------------- I see in both logs some /tmp/ issues. Could this missing package genext2fs [1] be the culprit ? [1]http://genext2fs.sourceforge.net/