Re: [opensuse-arm] armv5 build broken?
Le 11/03/2013 08:39, Adrian Schröter a écrit :
On Freitag, 8. März 2013, 17:14:40 wrote Guillaume Gardet:
Hi,
I just tried a local armv5 build for Factory, and I get this error :
[ 7s] running aaa_base preinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] running aaa_base postinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] running qemu-accel-armv5tel postinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] initializing rpm db...
[ 7s] chroot: failed to run command '/usr/bin/rpmdb': No such file or directory
A --clean build just works here.
It does not here.
You may need to manually call /usr/sbin/qemu-binfmt-conf.sh as root, it should
not be needed though ...
In /var/tmp/build-root, I have no usr/sbin/qemu-binfmt-conf.sh, but: ./usr/bin/qemu-arm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0xbfd9d561bd8b4255f340474425b14f0e94100e46, stripped ./usr/bin/qemu-arm-binfmt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x3e65f1f3c937d713d77fb712c0f520326b6a1bf1, stripped Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 11.03.2013 um 10:23 schrieb Guillaume Gardet <guillaume.gardet@free.fr>:
Le 11/03/2013 08:39, Adrian Schröter a écrit :
On Freitag, 8. März 2013, 17:14:40 wrote Guillaume Gardet:
Hi,
I just tried a local armv5 build for Factory, and I get this error :
[ 7s] running aaa_base preinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] running aaa_base postinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] running qemu-accel-armv5tel postinstall script
[ 7s] chroot: failed to run command 'sh': No such file or directory
[ 7s] initializing rpm db...
[ 7s] chroot: failed to run command '/usr/bin/rpmdb': No such file or directory
A --clean build just works here.
It does not here.
You may need to manually call /usr/sbin/qemu-binfmt-conf.sh as root, it should
not be needed though ...
In /var/tmp/build-root, I have no usr/sbin/qemu-binfmt-conf.sh, but: ./usr/bin/qemu-arm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0xbfd9d561bd8b4255f340474425b14f0e94100e46, stripped ./usr/bin/qemu-arm-binfmt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x3e65f1f3c937d713d77fb712c0f520326b6a1bf1, stripped
For armv7, we rewrite the binfmt path to /qemu some times. Please check your binfmt arm handler if it points there. I don't think we provide a qemu-linux-user-arm package that puts qemu in /qemu in the target tree. Alex
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 11/03/2013 10:29, Alexander Graf a écrit :
Am 11.03.2013 um 10:23 schrieb Guillaume Gardet <guillaume.gardet@free.fr>:
Le 11/03/2013 08:39, Adrian Schröter a écrit :
On Freitag, 8. März 2013, 17:14:40 wrote Guillaume Gardet:
Hi, I just tried a local armv5 build for Factory, and I get this error : [ 7s] running aaa_base preinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running aaa_base postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running qemu-accel-armv5tel postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] initializing rpm db... [ 7s] chroot: failed to run command '/usr/bin/rpmdb': No such file or directory A --clean build just works here. It does not here.
You may need to manually call /usr/sbin/qemu-binfmt-conf.sh as root, it should
not be needed though ...
In /var/tmp/build-root, I have no usr/sbin/qemu-binfmt-conf.sh, but: ./usr/bin/qemu-arm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0xbfd9d561bd8b4255f340474425b14f0e94100e46, stripped ./usr/bin/qemu-arm-binfmt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x3e65f1f3c937d713d77fb712c0f520326b6a1bf1, stripped
For armv7, we rewrite the binfmt path to /qemu some times. Please check your binfmt arm handler if it points there. I don't think we provide a qemu-linux-user-arm package that puts qemu in /qemu in the target tree.
find -name \*qemu* returns only: ./.init_b_cache/rpms/qemu-accel-armv5tel.rpm ./.init_b_cache/scripts/qemu-accel-armv5tel.run ./usr/bin/qemu-arm-binfmt ./usr/bin/qemu-arm I tried qemu* packages in version 1.1.1 and 1.1.0 on my host computer but it is the same error. Maybe you could try to reproduce with an armv5 build. For example: osc build armv5el armv5el raspberrypi-firmware.spec For openSUSE:Factory:ARM:Contrib:RaspberryPi repo. Guillaume
Alex
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 03/11/2013 11:06 AM, Guillaume Gardet wrote:
Le 11/03/2013 10:29, Alexander Graf a écrit :
Am 11.03.2013 um 10:23 schrieb Guillaume Gardet <guillaume.gardet@free.fr>:
Le 11/03/2013 08:39, Adrian Schröter a écrit :
On Freitag, 8. März 2013, 17:14:40 wrote Guillaume Gardet:
Hi, I just tried a local armv5 build for Factory, and I get this error : [ 7s] running aaa_base preinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running aaa_base postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running qemu-accel-armv5tel postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] initializing rpm db... [ 7s] chroot: failed to run command '/usr/bin/rpmdb': No such file or directory A --clean build just works here. It does not here.
You may need to manually call /usr/sbin/qemu-binfmt-conf.sh as root, it should
not be needed though ...
In /var/tmp/build-root, I have no usr/sbin/qemu-binfmt-conf.sh, but: ./usr/bin/qemu-arm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0xbfd9d561bd8b4255f340474425b14f0e94100e46, stripped ./usr/bin/qemu-arm-binfmt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x3e65f1f3c937d713d77fb712c0f520326b6a1bf1, stripped
For armv7, we rewrite the binfmt path to /qemu some times. Please check your binfmt arm handler if it points there. I don't think we provide a qemu-linux-user-arm package that puts qemu in /qemu in the target tree.
find -name \*qemu* returns only: ./.init_b_cache/rpms/qemu-accel-armv5tel.rpm ./.init_b_cache/scripts/qemu-accel-armv5tel.run ./usr/bin/qemu-arm-binfmt ./usr/bin/qemu-arm
I tried qemu* packages in version 1.1.1 and 1.1.0 on my host computer but it is the same error.
Please do: $ cat /proc/sys/fs/binfmt_misc/arm Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 11/03/2013 13:14, Alexander Graf a écrit :
On 03/11/2013 11:06 AM, Guillaume Gardet wrote:
Le 11/03/2013 10:29, Alexander Graf a écrit :
Am 11.03.2013 um 10:23 schrieb Guillaume Gardet <guillaume.gardet@free.fr>:
Le 11/03/2013 08:39, Adrian Schröter a écrit :
On Freitag, 8. März 2013, 17:14:40 wrote Guillaume Gardet:
Hi, I just tried a local armv5 build for Factory, and I get this error : [ 7s] running aaa_base preinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running aaa_base postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] running qemu-accel-armv5tel postinstall script [ 7s] chroot: failed to run command 'sh': No such file or directory [ 7s] initializing rpm db... [ 7s] chroot: failed to run command '/usr/bin/rpmdb': No such file or directory A --clean build just works here. It does not here.
You may need to manually call /usr/sbin/qemu-binfmt-conf.sh as root, it should
not be needed though ...
In /var/tmp/build-root, I have no usr/sbin/qemu-binfmt-conf.sh, but: ./usr/bin/qemu-arm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0xbfd9d561bd8b4255f340474425b14f0e94100e46, stripped ./usr/bin/qemu-arm-binfmt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=0x3e65f1f3c937d713d77fb712c0f520326b6a1bf1, stripped
For armv7, we rewrite the binfmt path to /qemu some times. Please check your binfmt arm handler if it points there. I don't think we provide a qemu-linux-user-arm package that puts qemu in /qemu in the target tree.
find -name \*qemu* returns only: ./.init_b_cache/rpms/qemu-accel-armv5tel.rpm ./.init_b_cache/scripts/qemu-accel-armv5tel.run ./usr/bin/qemu-arm-binfmt ./usr/bin/qemu-arm
I tried qemu* packages in version 1.1.1 and 1.1.0 on my host computer but it is the same error.
Please do:
$ cat /proc/sys/fs/binfmt_misc/arm
Seems to be fixed now. No idea why! I made an update of my 12.2 yesterday. That is maybe the reason. Guillaume
Alex
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Alexander Graf
-
Guillaume Gardet