NetBSD Problem Report #58700

From martin@aprisoft.de  Thu Sep 26 14:31:35 2024
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8208B1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Sep 2024 14:31:35 +0000 (UTC)
Message-Id: <20240926143126.140D15CC795@emmas.aprisoft.de>
Date: Thu, 26 Sep 2024 16:31:26 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: www/firefox52 does not work on big endian machines
X-Send-Pr-Version: 3.95

>Number:         58700
>Category:       pkg
>Synopsis:       www/firefox52 does not work on big endian machines
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 26 14:35:00 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD big-apple.aprisoft.de 10.99.12 NetBSD 10.99.12 (POWERMAC_G5.MP) #121: Wed Sep 25 13:34:14 CEST 2024 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/macppc/compile/POWERMAC_G5.MP macppc
Architecture: powerpc
Machine: macppc
>Description:

The www/firefox52 package has been switched to use its internal ICU library.
This change broke the pkg at runtime for big endian machines.

The problem is the hard coded ICU_DATA_FILE, see

build/autoconf/icu.m4:

    MOZ_ICU_VERSION="$version"

    # TODO: the l is actually endian-dependent
    # We could make this set as 'l' or 'b' for little or big, respectively,
    # but we'd need to check in a big-endian version of the file.
    ICU_DATA_FILE="icudt${version}l.dat"

So we would need to add a icudt58b.dat after extraction and make that
line depend on endianess. We also probably will need a PLIST variable for
this.

>How-To-Repeat:

Try to start firefox52 on any big endian machine.

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.