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

Re: Mozilla Software on Sparc64/Linux



Hello Adrian,

i went through all steps and when i finally try to start the building process, i get these errors:

onnor@SunUltra25:/work/firefox-build/firefox-62.0.3$ sbuild -d sid --arch=sparc64 --no-arch-all
hostname: Name or service not known
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/work/firefox-build/firefox-62.0.3'
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
rm -f debian/firefox-dev.links debian/firefox.1 debian/firefox.NEWS debian/firefox.README.Debian debian/firefox.bug-control debian/firefox.bug-presubj debian/firefox.bug-script debian/firefox.desktop debian/firefox.dirs debian/firefox.install debian/firefox.js debian/firefox.links debian/firefox.lintian-overrides debian/firefox.manpages debian/firefox.mime debian/firefox.mozconfig debian/firefox.postinst debian/firefox.prerm debian/noinstall debian/l10n/browser-l10n.control
rm -f configure js/src/configure old-configure js/src/old-configure
rm -rf stamps l10n
debian/rules debian/control TESTDIR=
make[2]: Entering directory '/work/firefox-build/firefox-62.0.3'
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
/bin/sh: 1: python: not found
python -B debian/l10n/gen  > debian/l10n/browser-l10n.control
/bin/sh: 1: python: not found
make[2]: *** [debian/rules:148: debian/l10n/browser-l10n.control] Error 127
make[2]: Leaving directory '/work/firefox-build/firefox-62.0.3'
make[1]: *** [debian/rules:255: override_dh_auto_clean] Error 2
make[1]: Leaving directory '/work/firefox-build/firefox-62.0.3'
make: *** [debian/rules:321: clean] Error 2
E: Failed to clean source directory /work/firefox-build/firefox-62.0.3 (/work/firefox-build/firefox_62.0.3-1.1.dsc)
connor@SunUltra25:/work/firefox-build/firefox-62.0.3$

What can i do to correct it?

Regards,
Connor

On Tue, Nov 16, 2021 at 9:37 AM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
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: