Mailinglist Archive: opensuse-buildservice (63 mails)

< Previous Next >
[opensuse-buildservice] building armv7l on Debian8
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I try to build for Debian8/armv7l on a x86-worker on the latest obs 2.6
release using a kvm machine.
Both obs builds and local builds (on the obs itself) do not work and end
in the error below.
Building the same package on Debian8/x86_64, openSUSE13.2/x86_64 and
openSUSE_Factory_ARM/armv7l works fine.

The package would be this:
https://build.opensuse.org/package/show/home:waldt:branches:devel:tools/tidy-html5
I cannot build/show you this on build.opensuse.org, because your Debian8
repo seems not to work for armv7l.

What am I doing wrong?

error message:
obs:/tmp/pyra:Debian:8:arm/tidy-html5 # osc build Debian_8_standard
armv7l tidy-html5.dsc --clean
Building tidy-html5.dsc for Debian_8_standard/armv7l
Getting buildinfo from server and store to
/tmp/pyra:Debian:8:arm/tidy-html5/.osc/_buildinfo-Debian_8_standard-armv7l.xml
Getting buildconfig from server and store to
/tmp/pyra:Debian:8:arm/tidy-html5/.osc/_buildconfig-Debian_8_standard-armv7l
Updating cache of required packages
0.0% cache miss. 231/231 dependencies cached.

Skipping verification of package signatures due to secure VM build
Writing build configuration
Running build
VM_IMAGE: /var/tmp/build-root/Debian_8_standard-armv7l/img, VM_SWAP:
/var/tmp/build-root/Debian_8_standard-armv7l/swap
Creating ext4 filesystem on /var/tmp/build-root/Debian_8_standard-armv7l/img
/var/tmp/build-root/Debian_8_standard-armv7l/img contains a ext4 file system
last mounted on /var/tmp/build-root/Debian_8_standard-armv7l/.mount on
Tue Jan 5 14:14:08 2016
tune2fs 1.42.12 (29-Aug-2014)
Setting maximal mount count to -1
logging output to /var/tmp/build-root/Debian_8_standard-armv7l/.build.log...
[ 0s] Using
BUILD_ROOT=/var/tmp/build-root/Debian_8_standard-armv7l/.mount
[ 0s] Using BUILD_ARCH=armv7l:armv6l:armv5tel
[ 0s] Doing kvm build in /var/tmp/build-root/Debian_8_standard-armv7l/img
[ 0s]
[ 0s]
[ 0s] obs started "build tidy-html5.dsc" at Tue Jan 5 14:17:27 UTC 2016.
[ 0s]
[ 0s]
[ 0s] processing recipe
/tmp/pyra:Debian:8:arm/tidy-html5/tidy-html5.dsc ...
[ 0s] running changelog2spec --target debian --file
/tmp/pyra:Debian:8:arm/tidy-html5/tidy-html5.dsc
[ 0s] don't know how to convert changelog to format 'debian'
[ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir
/var/cache/build --prepare --clean --rpmlist /tmp/rpmlist.0lhCw3
/tmp/pyra:Debian:8:arm/tidy-html5/tidy-html5.dsc ...
[ 0s] cycle: libc6 -> libgcc1
[ 0s] breaking dependency libgcc1 -> libc6
[ 0s] cycle: libc6 -> libgcc1 -> multiarch-support
[ 0s] breaking dependency multiarch-support -> libc6
[ 0s] [1/71] preinstalling gcc-4.9-base...
[ 0s] [2/71] preinstalling libsemanage-common...
[ 0s] [3/71] preinstalling lsb-base...
[ 0s] [4/71] preinstalling ncurses-base...
[ 0s] [5/71] preinstalling qemu-user-binfmt...
[ 0s] [6/71] preinstalling sensible-utils...
[ 0s] [7/71] preinstalling multiarch-support...
[ 0s] [8/71] preinstalling libgcc1...
[ 0s] [9/71] preinstalling libc6...
[ 0s] [10/71] preinstalling base-passwd...
[ 0s] [11/71] preinstalling bsdutils...
[ 0s] [12/71] preinstalling diffutils...
[ 0s] [13/71] preinstalling findutils...
[ 0s] [14/71] preinstalling hostname...
[ 0s] [15/71] preinstalling insserv...
[ 0s] [16/71] preinstalling libc-bin...
[ 0s] [17/71] preinstalling debianutils...
[ 0s] [18/71] preinstalling e2fslibs...
[ 0s] [19/71] preinstalling libattr1...
[ 0s] [20/71] preinstalling libbz2-1.0...
[ 0s] [21/71] preinstalling libcomerr2...
[ 0s] [22/71] preinstalling libdb5.3...
[ 0s] [23/71] preinstalling liblzma5...
[ 0s] [24/71] preinstalling libpcre3...
[ 0s] [25/71] preinstalling libsepol1...
[ 0s] [26/71] preinstalling libsigsegv2...
[ 0s] [27/71] preinstalling libslang2...
[ 0s] [28/71] preinstalling libsmartcols1...
[ 0s] [29/71] preinstalling libtinfo5...
[ 1s] [30/71] preinstalling libustr-1.0-1...
[ 1s] [31/71] preinstalling zlib1g...
[ 1s] [32/71] preinstalling ncurses-bin...
[ 1s] [33/71] preinstalling libacl1...
[ 1s] [34/71] preinstalling libncurses5...
[ 1s] [35/71] preinstalling libselinux1...
[ 1s] [36/71] preinstalling libss2...
[ 1s] [37/71] preinstalling sysvinit-utils...
[ 1s] [38/71] preinstalling sysvinit...
[ 1s] [39/71] preinstalling tar...
[ 1s] [40/71] preinstalling coreutils...
[ 1s] [41/71] preinstalling libsemanage1...
[ 1s] [42/71] preinstalling dpkg...
[ 1s] [43/71] preinstalling readline-common...
[ 1s] [44/71] preinstalling gzip...
[ 1s] [45/71] preinstalling perl-base...
[ 1s] [46/71] preinstalling dash...
[ 1s] [47/71] preinstalling grep...
[ 1s] [48/71] preinstalling sed...
[ 1s] [49/71] preinstalling debconf...
[ 1s] [50/71] preinstalling libreadline6...
[ 1s] [51/71] preinstalling perl...
[ 1s] [52/71] preinstalling tzdata...
[ 1s] [53/71] preinstalling gawk...
[ 1s] [54/71] preinstalling libpam0g...
[ 1s] [55/71] preinstalling sysv-rc...
[ 1s] [56/71] preinstalling libpam-modules-bin...
[ 1s] [57/71] preinstalling initscripts...
[ 1s] [58/71] preinstalling libpam-modules...
[ 1s] [59/71] preinstalling libpam-runtime...
[ 1s] [60/71] preinstalling passwd...
[ 1s] [61/71] preinstalling user-setup...
[ 1s] [62/71] preinstalling libuuid1...
[ 1s] [63/71] preinstalling login...
[ 2s] [64/71] preinstalling base-files...
[ 2s] [65/71] preinstalling libblkid1...
[ 2s] [66/71] preinstalling qemu-system-arm...
[ 2s] [67/71] preinstalling libmount1...
[ 2s] [68/71] preinstalling bash...
[ 2s] [69/71] preinstalling mount...
[ 2s] [70/71] preinstalling util-linux...
[ 2s] [71/71] preinstalling e2fsprogs...
[ 2s]
[ 2s] [1/1] preinstalling libdevmapper1.02.1...
[ 2s] copying packages...
[ 3s] reordering...cycle: libc6 -> libgcc1
[ 3s] breaking dependency libgcc1 -> libc6
[ 3s] cycle: libc6 -> libgcc1 -> multiarch-support
[ 3s] breaking dependency multiarch-support -> libc6
[ 3s] cycle: libdevmapper1.02.1 -> dmsetup
[ 3s] breaking dependency libdevmapper1.02.1 -> dmsetup
[ 3s] done
[ 3s] BFD: /.build.kernel.kvm: Warning: Ignoring section flag
IMAGE_SCN_MEM_NOT_PAGED in section .bss
[ 7s] booting kvm...
[ 7s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none
- -cpu host -net none -kernel /.build.kernel.kvm -initrd
/.build.initrd.kvm -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4
rootflags=noatime panic=1 quiet no-kvmclock nmi_watchdog=0 rw
rd.driver.pre=binfmt_misc elevator=noop console=ttyS0
init=/.build/initvm.x86_64 -m 2048 -drive
file=/var/tmp/build-root/Debian_8_standard-armv7l/img,format=raw,if=none,id=disk,serial=0,cache=unsafe
- -device virtio-blk-pci,drive=disk -drive
file=/var/tmp/build-root/Debian_8_standard-armv7l/swap,format=raw,if=none,id=swap,serial=1,cache=unsafe
- -device virtio-blk-pci,drive=swap -serial stdio -smp 6
[ 10s] [ 0.000000] tsc: Fast TSC calibration failed
[ 12s] [FAILED] Failed to start Load Kernel Modules.
[ 12s] See "systemctl status systemd-modules-load.service" for details.
[ 12s] [ 1.197793] systemd[1]: Failed to start Load Kernel Modules.
[ 12s] Starting Apply Kernel Variables...
[ 12s] Starting Create static device nodes in /dev...
[ 12s] [ OK ] Started Apply Kernel Variables.
[ 12s] [ OK ] Started Create static device nodes in /dev.
[ 12s] [ OK ] Started dracut cmdline hook.
[ 12s] Starting dracut pre-udev hook...
[ 12s] [ OK ] Started Journal Service.
[ 13s] [ OK ] Started dracut pre-udev hook.
[ 13s] Starting udev Kernel Device Manager...
[ 13s] [ OK ] Started udev Kernel Device Manager.
[ 13s] Starting udev Coldplug all Devices...
[ 13s] [ OK ] Started udev Coldplug all Devices.
[ 13s] Starting dracut initqueue hook...
[ 13s] [ OK ] Reached target System Initialization.
[ 13s] [ OK ] Reached target Basic System.
[ 13s] [ OK ] Found device /dev/disk/by-id/virtio-0.
[ 13s] [ OK ] Started dracut initqueue hook.
[ 13s] Mounting /sysroot...
[ 13s] [ OK ] Reached target Remote File Systems (Pre).
[ 13s] [ OK ] Reached target Remote File Systems.
[ 13s] [ OK ] Mounted /sysroot.
[ 13s] [ OK ] Reached target Initrd Root File System.
[ 13s] Starting Reload Configuration from the Real Root...
[ 14s] [ OK ] Started Reload Configuration from the Real Root.
[ 14s] [ OK ] Reached target Initrd File Systems.
[ 14s] [ OK ] Reached target Initrd Default Target.
[ 14s] No such file or directory
[ 14s] execve of /.build/build: Exec format error
[ 14s] [ 2.724434] Kernel panic - not syncing: Attempted to kill
init! exitcode=0x00000100
[ 14s] [ 2.724434]
[ 14s] [ 2.728434] CPU: 0 PID: 1 Comm: initvm.x86_64 Not tainted
3.16.7-29-default #1
[ 14s] [ 2.728434] Hardware name: QEMU Standard PC (i440FX + PIIX,
1996), BIOS by qemu-project.org 04/01/2014
[ 14s] [ 2.728434] ffff88007cbe3ed8 ffffffff815cb1c2
ffffffff8180def0 ffffffff815c5d86
[ 14s] [ 2.728434] 0000000000000010 ffff88007cbe3ee8
ffff88007cbe3e88 ffffffff81135d32
[ 14s] [ 2.728434] 0000000000000100 ffff88007cbc24e8
0000000000000018 0000000000000001
[ 14s] [ 2.728434] Call Trace:
[ 14s] [ 2.728434] [<ffffffff810050e6>] dump_trace+0x86/0x330
[ 14s] [ 2.728434] [<ffffffff81005424>] show_stack_log_lvl+0x94/0x170
[ 14s] [ 2.728434] [<ffffffff81006a81>] show_stack+0x21/0x50
[ 14s] [ 2.728434] [<ffffffff815cb1c2>] dump_stack+0x41/0x51
[ 14s] [ 2.728434] [<ffffffff815c5d86>] panic+0xc8/0x1fc
[ 14s] [ 2.728434] [<ffffffff8105e81f>] do_exit+0xa4f/0xa50
[ 14s] [ 2.728434] [<ffffffff8105e899>] do_group_exit+0x39/0xa0
[ 14s] [ 2.728434] [<ffffffff8105e910>] SyS_exit_group+0x10/0x10
[ 14s] [ 2.728434] [<ffffffff815d194d>] system_call_fastpath+0x1a/0x1f
[ 14s] [ 2.728434] [<0000000000432789>] 0x432788
[ 14s] [ 2.728434] Kernel Offset: 0x0 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffff9fffffff)
[ 15s] [ 2.728434] Rebooting in 1 seconds..No buildstatus set,
either the base system is broken (kernel/initrd/udev/glibc/bash/perl)
[ 15s] or the build host has a kernel or hardware problem...
The buildroot was: /var/tmp/build-root/Debian_8_standard-armv7l/.mount


local build conf:
obs:/srv/obs/build/Debian:8/standard/armv7l # cat /root/.oscrc |grep -v '^#'
[general]
...
build-type = kvm
build-kernel = /.build.kernel.kvm
build-initrd = /.build.initrd.kvm
build-memory = 2048
build-vmdisk-filesystem = ext4
...


prj-conf:
%ifarch armv7l armv7hl
HostArch: x86_64
#VMinstall: !kernel-obs-build
%if 0%{?suse_version}
Preinstall: qemu-linux-user qemu-arm build
%else
Preinstall: qemu-system-arm qemu-user-binfmt
%endif

#Target: armv7hl-suse-linux
%endif

%ifarch armv7l armv7hl
ExportFilter: ^kernel-obs-build.*\.x86_64\.rpm$ . armv7l armv7hl
ExportFilter: ^qemu-user.*\.x86_64.rpm$ . armv7l armv7hl
ExportFilter: ^qemu-system-arm.*\.x86_64.rpm$ . armv7l armv7hl
ExportFilter: ^qemu-accel-armv7.*\.x86_64\.rpm$ . armv7l armv7hl

ExportFilter: \.i686\.rpm$ i686
ExportFilter: \.armv6l\.rpm$ armv6l
ExportFilter: \.armv6hl\.rpm$ armv6l
ExportFilter: \.armv7l\.rpm$ armv7l
ExportFilter: \.armv7hl\.rpm$ armv7l
ExportFilter: \.aarch64\.rpm$ aarch64

Ignore: pesign-obs-integration
%endif


Regards,
Eike Waldt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWi9DxAAoJEA+geifTNNO0TZcP/14r9HNPDCDbjKtC7vhXmxt6
CdBwwdvd22//GEVITUAqFqKBn5aEsJxco/owj/ESaH/qlJnKtPBh7lLtTH7TWXdk
2V+7qC78Mr6IHkmi9HyATRjM1HHV5V9Rk2h2lRZ/llQ7PEfLeGq+QvwzJBDUD1KI
WD+8HPDlaTwy55Zzq5EsJt/1jOpuuKPYbm6IjquBdL2Kgln41e2ksYQmUh+mtrvt
s+UTldBrxAoIt7hIPrId7diODxZdezXBQU53IeYAdIYX0lOBGK47Y0OobTAwRnfe
OG9Z7Mezg2ulwDM+oZlY/jTvG+H3WMJ+aOFXWEnUfouX6jiW0sMQR9UvcZL9AsWn
EctC1/7AzAMD7nCaWT7hkww+69EOGH+HVpoy4fBSJMjbchEKIBinKWsyESWOerDy
u26BCfdl99olUhFH0Eczd+sI7mHXPHNgvoNnM5w68rHJ1oTLfZZhkRoOwS/oun6c
EUIeJsWdAm/oc8vIqO+7UMkwcucpx7mLIf+/ZTqrcVElTdGYoj1+Cj1ZDh0EXtLG
EE2kO0WokIhpzfuj2/87BwzjsJ1Z1/G0kx1Dkosg6nrYMyB3A0CnFHskv7tfBSdw
l9cWjAI9NSpHm4bPP/sYZsY006b7S4567hVFI7fiyN7vGkr6MME907Fxxzf8gJN/
eSaU2t+aBa4QbWTknnbE
=ylqP
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups