On 08/04/2011 05:10 AM, Dieter Plaetinck wrote:
Hi, I've been updating the releng scripts for the new archiso (all my changes are in this commit: http://pastie.org/2318603) Good! It seems to build the i686 iso's succesfully, but fails for x86_64 and I have no idea why. I only know `./build.sh all_iso_single` failed (exited>0) in the x86_64 chroot, but it doesn't give me any errors. See below. Could it be because I do a `./build.sh clean_single` and `./build.sh clean_dual` first? (before doing x86_64, after i686). I know you gave instructions at http://mailman.archlinux.org/pipermail/arch-releng/2011-June/001835.html, but they don't mention when exactly i should do which clean commands. clean commands remove files created by build commands on current architecture.
clean_single $workdir/$arch + $arch.iso clean_dual $workdir/dual + dual.iso
Here is the tail of my logfile: [mkarchiso] INFO: Creating SquashFS image for 'work/i686/core-any-pkgs', This may take some time... [mkarchiso] INFO: Image creation done in 00:22 minutes
[mkarchiso] INFO: Configuration settings [mkarchiso] INFO: Command: iso [mkarchiso] INFO: Architecture: i686 [mkarchiso] INFO: Working directory: work/i686 [mkarchiso] INFO: Installation directory: arch [mkarchiso] INFO: Image name: archlinux-2011.08.04-core-i686.iso [mkarchiso] INFO: Disk label: ARCH_201108 [mkarchiso] INFO: Disk publisher: Arch Linux<http://www.archlinux.org> [mkarchiso] INFO: Disk application: Arch Linux Live/Rescue CD
[mkarchiso] INFO: Target 'archlinux-2011.08.04-core-i686.iso' does not exist, making it from 'work/i686/iso' [mkarchiso] INFO: Creating ISO image... [mkarchiso] INFO: Done! | 367M archlinux-2011.08.04-core-i686.iso ===================================== =============== RELENG-REBUILD-IMAGES x86_64 =============== ===================================== cleaning build dir for x86_64 building images for x86_64
[mkarchiso] INFO: Configuration settings [mkarchiso] INFO: Command: create [mkarchiso] INFO: Architecture: x86_64 [mkarchiso] INFO: Working directory: work/x86_64 [mkarchiso] INFO: Installation directory: arch [mkarchiso] INFO: Pacman config file: /etc/pacman.conf [mkarchiso] INFO: Packages: base
[mkarchiso] INFO: Installing packages to 'work/x86_64/root-image/'... [mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings [mkarchiso] INFO: Command: create [mkarchiso] INFO: Architecture: x86_64 [mkarchiso] INFO: Working directory: work/x86_64 [mkarchiso] INFO: Installation directory: arch [mkarchiso] INFO: Pacman config file: /etc/pacman.conf [mkarchiso] INFO: Packages: memtest86+ syslinux mkinitcpio-nfs-utils nbd
[mkarchiso] INFO: Installing packages to 'work/x86_64/root-image/'... [mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings [mkarchiso] INFO: Command: create [mkarchiso] INFO: Architecture: x86_64 [mkarchiso] INFO: Working directory: work/x86_64 [mkarchiso] INFO: Installation directory: arch [mkarchiso] INFO: Pacman config file: /etc/pacman.conf [mkarchiso] INFO: Packages: aif b43-fwcutter btrfs-progs-unstable crda curl ddrescue dhclient dialog dmraid dnsmasq dnsutils dosfstools elinks gnu-netcat hdparm inetutils ipw2100-fw ipw2200-fw lftp lilo netcfg nfs-utils nilfs-utils nmap ntfs-3g ntfsprogs ntp openconnect openssh openvpn parted pptpclient rp-pppoe rsync speedtouch tcpdump vpnc wireless_tools wpa_actiond zd1211-firmware
[mkarchiso] INFO: Installing packages to 'work/x86_64/root-image/'... ERROR: ./build.sh all_iso_single FAILED
There is no message "[mkarchiso] INFO: Packages installed successfully!" so pacman failed, enable verbose mode in build.sh to see exact error. (free space OK?) I build OK all images here. [mkarchiso] INFO: Done! | 179M archlinux-2011.08.04-netinstall-i686.iso [mkarchiso] INFO: Done! | 368M archlinux-2011.08.04-core-i686.iso [mkarchiso] INFO: Done! | 183M archlinux-2011.08.04-netinstall-x86_64.iso [mkarchiso] INFO: Done! | 375M archlinux-2011.08.04-core-x86_64.iso [mkarchiso] INFO: Done! | 304M archlinux-2011.08.04-netinstall-dual.iso [mkarchiso] INFO: Done! | 670M archlinux-2011.08.04-core-dual.iso Image size are reduced since elinks does not depend anymore on smbclient, and other few things :) About 4% on single and 8% on dual. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1