NetBSD Problem Report #53429

From  Sun Jul  8 00:29:16 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 1936A7A158
	for <>; Sun,  8 Jul 2018 00:29:16 +0000 (UTC)
Message-Id: <>
Date: Sun, 8 Jul 2018 09:28:46 +0900 (JST)
From: Izumi Tsutsui <>
Subject: pkgsrc/www/firefox 61.0.1 doesn't start on NetBSD/amd64 8.0_RC2
X-Send-Pr-Version: 3.95

>Number:         53429
>Category:       pkg
>Synopsis:       pkgsrc/www/firefox 61.0.1 doesn't start on NetBSD/amd64 8.0_RC2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 08 00:30:00 +0000 2018
>Closed-Date:    Fri Nov 16 15:05:04 +0000 2018
>Last-Modified:  Fri Nov 16 15:05:04 +0000 2018
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0_RC2 + pkgsrc-2018Q2 + firefox updates
System: NetBSD mirage 8.0_RC2 NetBSD 8.0_RC2 (GENERIC) #0: Mon Jun 25 13:01:26 UTC 2018 i386
Architecture: i386
Machine: i386
firefox 61.0.1 built on NetBSD/amd64 8.0_RC2 (which has gcc 5.5.0
so pkgsrc firefox requires pkgsrc pkgsrc/lang/gcc6) fails to start
as following:

% /usr/pkg/bin/firefox
/usr/lib/ version CXXABI_1.3 required by /usr/pkg/lib/firefox/firefox not defined

Note /usr/lib/ comes from NetBSD 7.1.2 before 8.0_RC2

- cvs checkout pkgsrc-2018Q2
- apply following updates for firefox 61.0.1 builds
- make package-install
- exec /usr/pkg/bin/firefox

No idea, but I've been suggested as the following:

>> netbsd>=8 gcc is built with --disable-libstdcxx-dual-abi and
>> has a major number of 8, pkgsrc should probably follow the same.

>> libstdc++ had to break backwards compatibility for C++11, and
>> they tried to provide a library which does the old code and
>> the new at the same time. it is very hard to comprehend problems
>> that arise from it. so joerg increased the major number by 1.
>> pkgsrc gcc didn't yet

On the other hand, firefox package doesn't seem to have a dependency
against gcc6-libs.  I wonder if USE_PKGSRC_GCC_RUNTIME (defined in
pkgsrc/mk/compiler/ is necessary of not.



Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-When: Sun, 08 Jul 2018 08:23:56 +0000
Ryo, can you please give it a look?
(over to MAINTAINER)

From: Izumi Tsutsui <>
Subject: Re: pkg/53429: pkgsrc/www/firefox 61.0.1 doesn't start on NetBSD/amd64
Date: Wed, 11 Jul 2018 01:07:10 +0900

 Adding "USE_PKGSRC_GCC_RUNTIME= yes" in
 works around, i.e. /usr/pkg/lib/firefox pulls
 /usr/lib/ rather than /usr/lib/
 from NetBSD 7.x.
 (I'm not sure if it's intended behavior though)

From: "Ryo ONODERA" <>
Subject: PR/53429 CVS commit: pkgsrc/www/firefox
Date: Sun, 15 Jul 2018 23:15:02 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun Jul 15 23:15:02 UTC 2018

 Modified Files:
 	pkgsrc/www/firefox: Makefile

 Log Message:
 Fix PR pkg/53429. Use libstdc++ from pkgsrc gcc61-libs to fix runtime error

 To generate a diff of this commit:
 cvs rdiff -u -r1.337 -r1.338 pkgsrc/www/firefox/Makefile
 cvs rdiff -u -r1.111 -r1.112 pkgsrc/www/firefox/

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->needs-pullups
State-Changed-When: Sat, 21 Jul 2018 18:04:57 +0000
Need this in 2018Q2.

State-Changed-From-To: needs-pullups->closed
State-Changed-When: Fri, 16 Nov 2018 15:05:04 +0000
No problem on pkgsrc-2018Q3.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.