Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
[opensuse-buildservice] Re: Cross Build Failure to Raspbian_9.0 arm7l

Some further information:

As we know the build starts to fail with:-
[ 5s] [71/72] preinstalling sysv-rc...
[ 5s] [72/72] preinstalling initscripts...
[ 5s]
[ 5s] running base-passwd preinstall script
[ 5s] chroot: failed to run command
'.init_b_cache/scripts/base-passwd.pre': No such file or directory
[ 5s] running base-passwd postinstall script [ 5s] chroot: failed
to run command '.init_b_cache/scripts/base-passwd.post': No such file
or directory [ 5s] running user-setup postinstall script [ 5s]
chroot: failed to run command '.init_b_cache/scripts/user-setup.post':
No such file or directory [ 5s] running base-files postinstall
script [ 5s] chroot: failed to run command
'.init_b_cache/scripts/base-files.post': No such file or directory
[ 5s] running gawk postinstall script [ 5s] chroot: failed to run
command '.init_b_cache/scripts/gawk.post': No such file or directory

The contents of the directory at this time are:-
/var/tmp/build-root/Raspbian_9.0-armv7l> ls -l .init_b_cache/scripts/
total 0
-rw-r--r-- 1 root root 0 Nov 29 10:25 base-files.run
-rw-r--r-- 1 root root 0 Nov 29 10:25 base-passwd.run
-rw-r--r-- 1 root root 0 Nov 29 10:25 gawk.run
-rw-r--r-- 1 root root 0 Nov 29 10:25 user-setup.run
IOW the files are all 0 bytes in size.

Regards,
Mark


On Mon, 25 Nov 2019 14:57:52 +0000, Mark Grant wrote:

Further to my submission below, I have been on the forums but alas no
answer except to refer me back to this list. I have searched endlessly
for documentation etc but have found nothing specific to this
situation.


On Tue, 22 Oct 2019 07:57:52 +0100, Mark Grant wrote:

Hi,

On an x86-64 openSUSE Leap 15.1 system I am trying to cross-build a
package with osc to Raspbian 9.0 armv7l using the following command

osc build Raspbian_9.0 armv7l

It fails with the following build log.

https://pastebin.com/raw/yQp0Kfyc

An attempt for Raspbian_10 fails in the same manner.
I should also point out that:-
osc build debian_{10,9.0}
works fine.

I have also tried adding the Raspbian qemu-user-{static, } package as
a preinstall in the prjconf, but it does not fix the problem. What I
used was:-
%ifarch armv5el armv7l armv7hl
Hostarch: x86_64
Preinstall: qemu-user-static
%endif
Although I think this may be incorrect for the long-term.


Any help would be appreciated.

Regards,
Mark
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
References