pkgsrc-Bugs archive

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

pkg/53429: pkgsrc/www/firefox 61.0.1 doesn't start on NetBSD/amd64 8.0_RC2



>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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 08 00:30:00 +0000 2018
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0_RC2 + pkgsrc-2018Q2 + firefox updates
>Organization:
>Environment:
System: NetBSD mirage 8.0_RC2 NetBSD 8.0_RC2 (GENERIC) #0: Mon Jun 25 13:01:26 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
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/libstdc++.so.7: version CXXABI_1.3 required by /usr/pkg/lib/firefox/firefox not defined
%

Note /usr/lib/libstdc++.so.7 comes from NetBSD 7.1.2 before 8.0_RC2
updates.

>How-To-Repeat:
- cvs checkout pkgsrc-2018Q2
- apply following updates for firefox 61.0.1 builds
 http://mail-index.netbsd.org/pkgsrc-changes/2018/07/06/msg178009.html
 http://mail-index.netbsd.org/pkgsrc-changes/2018/07/06/msg178010.html
- make package-install
- exec /usr/pkg/bin/firefox

>Fix:
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/gcc.mk) is necessary of not.



Home | Main Index | Thread Index | Old Index