On 08/03/2016 07:23 AM, Facundo Curti wrote:
> El martes, 2 de agosto de 2016, 12:25:38 (UTC), Facundo Curti  escribió:
>> Hi there. Someone can help me?
>> I'm trying to make an archlinux template on qubes 3.2. But i'm having 
>> troubles to compile.
>>
>> When I do:
>> $ make vmm-xen-vm
>>
>> I get:
>> /home/user/qubes-src/vmm-xen/PKGBUILD: line 49: autoreconf: command not found
>>
>> But autoreconf is already installed:
>> $ whereis autoreconf
>> autoreconf: /usr/bin/autoreconf /usr/share/man/man1/autoreconf.1.gz
>>
>> Here is the complete output:
>>
>> [user@development qubes-builder]$ make vmm-xen-vm
>> Currently installed dependencies:
>> git-2.5.5-1.fc23.x86_64
>> rpmdevtools-8.9-1.fc23.noarch
>> rpm-build-4.13.0-0.rc1.13.fc23.x86_64
>> createrepo-0.10.3-3.fc21.noarch
>> debootstrap-1.0.81-1.fc23.noarch
>> dpkg-dev-1.17.25-6.fc23.noarch
>> python-sh-1.11-1.fc23.noarch
>> dialog-1.3-4.20160424.fc23.x86_64
>> --> Archlinux dist-prepare-chroot (makefile):
>>   --> Checking mounting of dev/proc/sys on build chroot...
>>   --> Synchronize resolv.conf, in case it changed since last run...
>> -> Building vmm-xen (archlinux) for archlinux vm (logfile: 
>> build-logs/vmm-xen-vm-archlinux.log)
>> --> build failed!
>> ==> Retrieving sources...
>>   -> Found xen-4.6.1.tar.gz
>>   -> Found series-vm.conf
>>   -> Found apply-patches
>> ==> WARNING: Skipping all source file integrity checks.
>> ==> Extracting sources...
>>   -> Extracting xen-4.6.1.tar.gz with bsdtar
>> bsdtar: Failed to set default locale
>> ==> Starting build()...
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/qemu-tls-1.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/qemu-tls-2.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.qubes/xen-shared-loop-losetup.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.qubes/xen-no-downloads.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.qubes/xen-hotplug-external-store.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.qubes/xen-tools-qubes-vm.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.qubes/vm-0001-hotplug-do-not-attempt-to-remove-containing-xenstore.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/libxc-fix-xc_gntshr_munmap-semantic.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/libvchan-Fix-cleanup-when-xc_gntshr_open-failed.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/0101-libvchan-create-xenstore-entries-in-one-transaction.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/0001-configure-Fix-when-no-libsystemd-compat-lib-are-avai.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/0001-libxc-prefer-using-privcmd-character-device.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/0001-tools-hotplug-Add-native-systemd-xendriverdomain.ser.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.security/xsa155-xen-0003-libvchan-Read-prod-cons-only-once.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.libxl/0001-libxl-trigger-attach-events-for-devices-attached-bef.patch
>> + patch -s -F0 -E -p1 --no-backup-if-mismatch -i 
>> ./patches.misc/0001-systemd-use-standard-dependencies-for-xendriverdomai.patch
>> /home/user/qubes-src/vmm-xen/PKGBUILD: line 49: autoreconf: command not found
>> ==> ERROR: A failure occurred in build().
>>     Aborting...
>> /home/user/qubes-builder/qubes-src/builder-archlinux/Makefile.archlinux:120: 
>> recipe for target 'dist-package' failed
>> make[2]: *** [dist-package] Error 2
>> Makefile.generic:139: recipe for target 'packages' failed
>> make[1]: *** [packages] Error 1
>> Makefile:208: recipe for target 'vmm-xen-vm' failed
>> make: *** [vmm-xen-vm] Error 1
>>
>>
>> Some ideas? :P
> 
> Someone? :S
> I'm still having the problem. I tried making everything from fresh in a new 
> VM, but i get the same error :P
> 

I have never tried to build a template but if this could help...

If the script can't find the autoreconf binary maybe it has a bad PATH
or it's being executed in a chroot/VM where autoreconf doesn't exist...

You could try to add some debug lines before the error, try to dump the
value of PATH. If PATH is right, try to determine if it's being executed
on a chroot or VM and if it has autoreconf installed in.

Look at the code of:
--> Archlinux dist-prepare-chroot (makefile):

It seems that it uses a chroot where doing the build. Try to find it.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6522af60-57d1-477f-0086-10136e785e4b%40riseup.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to