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

Re: Mozilla Software on Sparc64/Linux



Hello Adrian,

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?

I tried to follow this page instead to build the package:
https://wiki.debian.org/BuildingTutorial

But i here i am unable to solve the build dependencies for firefox-62.0.3 on my install:

dpkg-checkbuilddeps: error: Unmet build dependencies: python-minimal (>= 2.6.6-13~) llvm-6.0-dev libclang-6.0-dev clang-6.0

These are not available from the current repo and fetching from snapshot leads to dependency conflicts:

root@SunUltra25:/work/firefox62/build# dpkg -i python-minimal_2.7.17-2_sparc64.deb
Selecting previously unselected package python-minimal.
(Reading database ... 281832 files and directories currently installed.)
Preparing to unpack python-minimal_2.7.17-2_sparc64.deb ...
Unpacking python-minimal (2.7.17-2) ...
dpkg: dependency problems prevent configuration of python-minimal:
 python-minimal depends on python2-minimal (= 2.7.17-2); however:
  Version of python2-minimal on system is 2.7.18-3.
 python3-six (1.16.0-2) breaks python-minimal (<< 2.7.18) and is installed.
  Version of python-minimal to be configured is 2.7.17-2.
 python2.7-minimal (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
  Version of python-minimal to be configured is 2.7.17-2.
 python2.7 (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
  Version of python-minimal to be configured is 2.7.17-2.
 libpython2.7-stdlib:sparc64 (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
  Version of python-minimal to be configured is 2.7.17-2.
 libpython2.7-minimal:sparc64 (2.7.18-9) breaks python-minimal (<< 2.7.18) and is installed.
  Version of python-minimal to be configured is 2.7.17-2.


I am unsure on how to proceed.

Regards,
Connor

On Mon, Nov 15, 2021 at 3:44 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hi!

On 11/15/21 15:00, Connor McLaughlan wrote:
> i installed firefox_62.0.3-1_sparc64.deb. On start i get a bus error, no
> window comes up.
> (...)
> Thread 1 "firefox" received signal SIGBUS, Bus error.
> HashIIDPtrKey (key=0xfff000010a7cfe4c <xpt::detail::sInterfaces+30352>)
>     at /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp:26
> 26 /build/firefox-YyDH69/firefox-62.0.3/js/xpconnect/src/XPCMaps.cpp: No
> such file or directory.

That's this bug [1]. It got fixed in Firefox 68. So you need to cherry-pick
this patch and rebuild the package as I explained in one of my previous
mails.

I can maybe do that later this week if you can't do it yourself.

Adrian

> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1434726

--
 .''`.  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: