[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mozilla Software on Sparc64/Linux



Hello!

On 11/15/21 23:20, Connor McLaughlan wrote:
> i have read through the sbuild page and it is very long and looks very
> complicated and not tailored to a sparc64 machine.
> Is really everything on that page needed to get it running?

No, it's actually very simple and works on any architecture.

As root:

# apt install sbuild devscripts
# sbuild-createchroot unstable /srv/chroot/sid-sparc64-sbuild --alias=sid \
  --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \
  http://ftp.ports.debian.org/debian-ports
# sbuild-adduser $YOURUSER

Then, as your normal user ($YOURUSER):

$ mkdir firefox-build
# cd firefox-build
# dget -u http://snapshot.debian.org/archive/debian/20181003T162948Z/pool/main/f/firefox/firefox_62.0.3-1.dsc
# wget https://bug1434726.bmoattachments.org/attachment.cgi?id=8947275 -O align-fix.diff
# cd firefox-62.0.3
# patch -p1 < ../align-fix.diff
# dpkg-source --commit (enter a desired patch name, then opens an editor; just save and close)
# dch -i 'Add patch to fix alignment on sparc64'
# dch -r ''
# sbuild -d sid --arch=sparc64 --no-arch-all

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: