On Wed, Sep 14, 2022 at 10:32 AM Bo YU <
[email protected]> wrote:
Hi,
On Wed, Sep 14, 2022 at 09:45:45AM -0400, Aaron Boxer wrote:
Hello,
I currently have failed builds on mipsel and armel archs.
For these systems, it appears that I need to link explicitly
to libatomic. I've added the link flag, but the failures persist.
Any suggestions on setting up VMs for these architectures so
I can directly debug my builds ?
I just setup they some day ago on x86 pc:
(maybe it need binfmt-support or qemu-binfmt)
```
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=mipsel \
--make-sbuild-tarball=/srv/sid-mipsel-sbuild.tgz \
sid /tmp/chroots/sid-mipsel-sbuild/ \
http://ftp.debian.org/debian/
# and
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=armel \
--make-sbuild-tarball=/srv/sid-armel-sbuild.tgz \
sid /tmp/chroots/sid-armel-sbuild/ \
http://ftp.debian.org/debian/
```
They will setup their arch chroot then can use sbuild to build the
package.
`sbuild --arch=mipsel -c sid-mipsel-sbuild `
Thanks, I wasn't able to get that working, but I did find away following
these instructions
https://www.antixforum.com/forums/topic/use-sbuild-to-automate-deb-package-building/
This helped me create the chroot for mipsel, run the chroot, and build the package.
Thanks,
Aaron
--
Regards,
--
Bo YU
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 14, 2022 at 10:32 AM Bo YU <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_
quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
On Wed, Sep 14, 2022 at 09:45:45AM -0400, Aaron Boxer wrote:<br>
>Hello,<br>
>I currently have failed builds on mipsel and armel archs.<br>
>For these systems, it appears that I need to link explicitly<br>
>to libatomic. I've added the link flag, but the failures persist.<br> ><br>
>Any suggestions on setting up VMs for these architectures so<br>
>I can directly debug my builds ?<br>
I just setup they some day ago on x86 pc:<br>
(maybe it need binfmt-support or qemu-binfmt)<br>
```<br>
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=mipsel \<br>
--make-sbuild-tarball=/srv/sid-mipsel-sbuild.tgz \<br>
sid /tmp/chroots/sid-mipsel-sbuild/ \<br>
<a href="
http://ftp.debian.org/debian/" rel="noreferrer" target="_blank">
http://ftp.debian.org/debian/</a><br>
# and <br>
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=armel \<br>
--make-sbuild-tarball=/srv/sid-armel-sbuild.tgz \<br>
sid /tmp/chroots/sid-armel-sbuild/ \<br>
<a href="
http://ftp.debian.org/debian/" rel="noreferrer" target="_blank">
http://ftp.debian.org/debian/</a><br>
```<br>
They will setup their arch chroot then can use sbuild to build the<br> package.<br>
`sbuild --arch=mipsel -c sid-mipsel-sbuild `<br></blockquote><div><br></div><div><br></div><div>Thanks, I wasn't able to get that working, but I did find away following these instructions</div><div><br></div><div><br></div><div><a href="
https://www.
antixforum.com/forums/topic/use-sbuild-to-automate-deb-package-building/">
https://www.antixforum.com/forums/topic/use-sbuild-to-automate-deb-package-building/</a><br></div><div><br></div><div>This helped me create the chroot for mipsel, run the chroot,
and build the package.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
>Thanks,<br>
>Aaron<br>
-- <br>
Regards,<br>
--<br>
Bo YU<br>
</blockquote></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)