NetBSD Problem Report #56144

From jdbaker@consolidated.net  Tue May  4 16:16:21 2021
Return-Path: <jdbaker@consolidated.net>
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))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id BFAC51A923F
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  4 May 2021 16:16:20 +0000 (UTC)
Message-Id: <20210504161607.D4E11870509B@plex760.technoskunk.fur>
Date: Tue,  4 May 2021 11:16:07 -0500 (CDT)
From: jdbaker@consolidated.net
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: firefox52 build fails on NetBSD/amd64-9.99.82
X-Send-Pr-Version: 3.95

>Number:         56144
>Category:       pkg
>Synopsis:       firefox52 build fails on NetBSD/amd64-9.99.82
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 04 16:20:00 +0000 2021
>Last-Modified:  Fri May 07 00:35:01 +0000 2021
>Originator:     John D. Baker
>Release:        NetBSD/amd64 9.99.82, pkgsrc-HEAD (202105021200Z)
>Organization:
>Environment:
System: NetBSD plex760.technoskunk.fur 9.99.82 NetBSD 9.99.82 (PLEX760) #450: Fri Apr 30 06:19:15 CDT 2021 sysop@yggdrasil.technoskunk.fur:/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64
Architecture: x86_64
Machine: amd64
>Description:
Building "www/firefox52" on NetBSD/amd64-9.99.82 fails with:

[...]
gmake[3]: Entering directory '/tmp/pkgsrc/www/firefox52/work/build/toolkit/libra
ry'
libxul.so
rm -f libxul.so
/tmp/pkgsrc/www/firefox52/work/build/_virtualenv/bin/python /tmp/pkgsrc/www/fire
fox52/work/firefox-52.9.0esr/config/link.py --uselist --  /tmp/pkgsrc/www/firefo
[...]
/tmp/pkgsrc/www/firefox52/work/build/toolkit/library/tmpA9P5qX.list:
    INPUT("StaticXULComponentsStart.o")
    INPUT("../../memory/volatile/Unified_cpp_memory_volatile0.o")
    INPUT("../../media/kiss_fft/kiss_fft.o")
    INPUT("../../media/kiss_fft/kiss_fftr.o")
    INPUT("../../media/libstagefright/fake_log_device.o")
    INPUT("../../media/libstagefright/Unified_c_media_libstagefright0.o")
[...]
    INPUT("../../media/psshparser/Unified_cpp_media_psshparser0.o")
    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

ld: ../../gfx/thebes/Unified_cpp_gfx_thebes1.o: in function `gfxTextRun::SetSpac
eGlyph(gfxFont*, mozilla::gfx::DrawTarget*, unsigned int, unsigned short)':
Unified_cpp_gfx_thebes1.cpp:(.text+0x13be3): undefined reference to `gfxShapedWo
rd* gfxFont::GetShapedWord<unsigned char>(mozilla::gfx::DrawTarget*, unsigned ch
ar const*, unsigned int, unsigned int, mozilla::unicode::Script, bool, int, unsi
gned int, gfxTextPerfMetrics*)'
ld: libxul.so: hidden symbol `_ZN7gfxFont13GetShapedWordIhEEP13gfxShapedWordPN7m
ozilla3gfx10DrawTargetEPKT_jjNS3_7unicode6ScriptEbijP18gfxTextPerfMetrics' isn't
 defined
ld: final link failed: bad value
gmake[3]: *** [/tmp/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/rules.mk:
802: libxul.so] Error 1
gmake[3]: Leaving directory '/tmp/pkgsrc/www/firefox52/work/build/toolkit/librar
y'
gmake[2]: *** [/tmp/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/recurse.m
k:71: toolkit/library/target] Error 2
gmake[2]: Leaving directory '/tmp/pkgsrc/www/firefox52/work/build'
gmake[1]: *** [/tmp/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/recurse.m
k:33: compile] Error 2
gmake[1]: Leaving directory '/tmp/pkgsrc/www/firefox52/work/build'
gmake: *** [/tmp/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/rules.mk:523
: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/www/firefox52
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/www/firefox52



Also seen here:

  https://us-east.manta.joyent.com/pkgsrc/public/reports/NetBSD/trunk/x86_64/20210430.2232/firefox52-52.9.0nb37/build.log


The first error about an undefined reference seems to point to the recent
update of various native xorg components.  Not sure about the second error
about the hidden symbol--possibly related to the first?
>How-To-Repeat:
S/A
>Fix:

>Audit-Trail:
From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56144: firefox52 build fails on NetBSD/amd64-9.99.82
Date: Thu, 6 May 2021 18:13:38 -0500 (CDT)

 Same failure on i386-current.

 NetBSD thinkcentre.technoskunk.fur 9.99.82 NetBSD 9.99.82 (GX260A) #314: Fri Apr 30 11:40:01 CDT 2021  sysop@plex760.technoskunk.fur:/r0/build/current/obj/i386/sys/arch/i386/compile/GX260A i386


 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.