NetBSD Problem Report #54904

From triaxx@netbsd.org  Tue Jan 28 12:32:55 2020
Return-Path: <triaxx@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 124837A18F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 Jan 2020 12:32:55 +0000 (UTC)
Message-Id: <20200128123253.D1E4F7A1DD@mollari.NetBSD.org>
Date: Tue, 28 Jan 2020 12:32:53 +0000 (UTC)
From: triaxx@netbsd.org
Reply-To: triaxx@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: www/firefox building fails on FreeBSD
X-Send-Pr-Version: 3.95

>Number:         54904
>Category:       pkg
>Synopsis:       www/firefox building fails on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 28 12:35:00 +0000 2020
>Closed-Date:    Thu Oct 15 06:30:42 +0000 2020
>Last-Modified:  Thu Oct 15 06:30:42 +0000 2020
>Originator:     Frédéric Fauberteau
>Release:        FreeBSD 12.0-RELEASE-p12
>Organization:
>Environment:
System: FreeBSD cocoon.triaxx.org 12.0-RELEASE-p12 FreeBSD 12.0-RELEASE-p12 GENERIC  amd64
Architecture: x86_64
Machine: amd64
>Description:
The build set of www/firefox fails with the following log::
===> Building for firefox-72.0.2
[...]
/usr/pkgsrc/www/firefox/work/.cwrapper/bin/clang++ -o Compression.o -c  -I/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers -include /usr/pkgsrc/www/firefox/work/firefox-72.0.2/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DIMPL_MFBT -DLZ4LIB_VISIBILITY= -I/usr/pkgsrc/www/firefox/work/firefox-72.0.2/mfbt -I/usr/pkgsrc/www/firefox/work/build/mfbt -I/usr/pkgsrc/www/firefox/work/firefox-72.0.2/mfbt/double-conversion -I/usr/pkgsrc/www/firefox/work/build/dist/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/usr/pkgsrc/www/firefox/work/build/dist/include/nss -I/usr/pkg/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /usr/pkgsrc/www/firefox/work/build/mozilla-config.h -Qunused-arguments -I/usr/pkg/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg
 /lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2 -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-sized-deallocation -fno-aligned-new -O
 2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -I/usr/pkg/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2 -D__HAVE_INLINE___ISINF -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -funwind-tables  -MD -MP -MF .deps/Compression.o.pp   /usr/pkgsrc/www/firefox/work/firefox-72.0.2/mfbt/Compression.cpp
In file included from /usr/pkgsrc/www/firefox/work/firefox-72.0.2/mfbt/Compression.cpp:7:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Compression.h:14:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Result.h:18:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/Variant.h:14:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/HashFunctions.h:53:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/include/mozilla/MathAlgorithms.h:15:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/cmath:4:
In file included from /usr/include/c++/v1/cmath:305:
In file included from /usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/math.h:4:
In file included from /usr/include/c++/v1/math.h:301:
/usr/include/math.h:187:5: error: conflicting types for '__builtin_isinf'
int     __isinf(double) __pure2;
        ^
/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/sys/cdefs.h:2:20: note: expanded from macro '__isinf'
#define __isinf(x) __builtin_isinf(x)
                   ^
/usr/include/math.h:187:5: note: '__builtin_isinf' is a builtin with type 'int (...) noexcept'
/usr/pkgsrc/www/firefox/work/build/dist/system_wrappers/sys/cdefs.h:2:20: note: expanded from macro '__isinf'
#define __isinf(x) __builtin_isinf(x)
                   ^
1 error generated.
gmake[3]: *** [/usr/pkgsrc/www/firefox/work/firefox-72.0.2/config/rules.mk:806: Compression.o] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/mfbt'
gmake[2]: *** [/usr/pkgsrc/www/firefox/work/firefox-72.0.2/config/recurse.mk:74: mfbt/target-objects] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox/work/firefox-72.0.2/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake: *** [/usr/pkgsrc/www/firefox/work/firefox-72.0.2/config/rules.mk:394: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/firefox

The complete log is available here: http://pkg.triaxx.org/pub/pkgsrc/logs/devel/firefox/firefox-72.0.2/build.log
>How-To-Repeat:
cd /usr/pkgsrc/www/firefox && make build
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->freebsd-pkg-people
Responsible-Changed-By: triaxx@NetBSD.org
Responsible-Changed-When: Tue, 28 Jan 2020 12:36:43 +0000
Responsible-Changed-Why:
FreeBSD problem.


From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
Date: Wed, 27 May 2020 10:10:45 +0200

 cGtnc3JjIGJ1bGsgYnVpbGQgZm9yIEZyZWVCU0QgMTIuMS94ODZfNjQNCj09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoNCkxvY2F0aW9uICAgICAgICBQYWNr
 YWdlICAgICAgICAgQnJlYWtzICBNYWludGFpbmVyICAgICAgICAgICAgICBTdGF0dXMNCnd3
 dy9maXJlZm94ICAgICBmaXJlZm94LTc2LjAuMSAgMSAgICAgICByeW9vbkBOZXRCU0Qub3Jn
 ICAgICAgICBmYWls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yOiAndHlwZV90cmFpdHMnIGZpbGUgbm90IGZvdW5kDQpbbW96Z2x1ZS1z
 dGF0aWMgMC4xLjBdIGNhcmdvOndhcm5pbmc9I2luY2x1ZGVfbmV4dCA8dHlwZV90cmFpdHM+
 DQpbbW96Z2x1ZS1zdGF0aWMgMC4xLjBdIGNhcmdvOndhcm5pbmc9ICAgICAgICAgICAgICBe
 fn5+fn5+fn5+fn5+DQpbbW96Z2x1ZS1zdGF0aWMgMC4xLjBdIGNhcmdvOndhcm5pbmc9MSBl
 cnJvciBnZW5lcmF0ZWQuDQpbbW96Z2x1ZS1zdGF0aWMgMC4xLjBdIGV4aXQgY29kZTogMQ0K

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
Date: Wed, 27 May 2020 10:54:39 +0200

 Hello Frédéric, 

 Frédéric Fauberteau writes:
 > I tried to add a reply to this PR by sending a mail to gnats-bugs@netbsd.org but the result is unreadable. Is there a problem with gnats? Or I may have mishandled...

 That's good to just mail gnats-bugs@ but when replying via gnats MIME
 encoded messages should be avoided because they are not handled
 gracefully (with mail/nmh just adding a `mhbuild:  -maxunencoded 998' in
 ~/.mh_profile is usually enough, I think that other MUA has probably
 something similar that could help). 

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
Date: Wed, 27 May 2020 11:03:12 +0200

 Frédéric Fauberteau writes:
 > The following reply was made to PR pkg/54904; it has been noted by GNATS.
 >
 > From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx@NetBSD.org>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
 > Date: Wed, 27 May 2020 10:10:45 +0200
 >
 >  cGtnc3JjIGJ1bGsgYnVpbGQgZm9yIEZyZWVCU0QgMTIuMS94ODZfNjQNCj09PT09PT09PT09
 >  [...]
 >  cnJvciBnZW5lcmF0ZWQuDQpbbW96Z2x1ZS1zdGF0aWMgMC4xLjBdIGV4aXQgY29kZTogMQ0K
 >  

 Corresponding base64-decoded version, please note that the clang++
 invocation was too long and was manually splitted in multiple lines all
 of them <900 characters.


 -------------------------8<------------------8<------------------------
 pkgsrc bulk build for FreeBSD 12.1/x86_64
 =========================================

 Location        Package         Breaks  Maintainer              Status
 www/firefox     firefox-76.0.1  1       ryoon@NetBSD.org        failed

 Full log:
 http://pkg.triaxx.org/pub/pkgsrc/reports/FreeBSD/x86_64/12.1/cocoon/20200526.0926/firefox-76.0.1/build.log

 Selected extract:
 [mozglue-static 0.1.0] CRATE_CC_NO_DEFAULTS = None 
 [mozglue-static 0.1.0] DEBUG = Some("false")
 [mozglue-static 0.1.0] running: "/var/pkgsrc/work/www/firefox/work/.cwrapper/bin/clang++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-unknown-freebsd" "-I/var/pkgsrc/work/www/firefox/work/build/dist/stl_wrappers" "-I/var/pkgsrc/work/www/firefox/work/build/dist/system_wrappers" "-include" "/var/pkgsrc/work/www/firefox/work/firefox-76.0.1/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/pkgsrc/work/www/firefox/work/firefox-76.0.1/toolkit/library/rust" "-I/var/pkgsrc/work/www/firefox/work/build/toolkit/library/rust" "-I/var/pkgsrc/work/www/firefox/work/build/dist/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss" "-I/usr/pkg/include/nspr" "-I/var/pkgsrc/work/www/firefox/work/build/dist/include/nss" "-I/usr/pkg/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" 
 "-include" "/var/pkgsrc/work/www/firefox/work/build/mozilla-config.h" "-Qunused-arguments" "-I/usr/include" "-I/usr/pkg/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/pkg/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion"
 "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=tautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-O2" "-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS" "-I/usr/include" "-I/usr/pkg/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/pkg/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti"
 "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pipe" "-I/usr/pkg/include" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "/var/pkgsrc/work/www/firefox/work/build/js/src" "-I" "/var/pkgsrc/work/www/firefox/work/build/dist/include" "-DMOZ_HAS_MOZGLUE" "-o" "/var/pkgsrc/work/www/firefox/work/build/x86_64-unknown-freebsd/release/build/mozglue-static-5b6557c48299b0b2/out/wrappers.o" "-c" "wrappers.cpp"
 [mozglue-static 0.1.0] cargo:warning=In file included from wrappers.cpp:11:
 [mozglue-static 0.1.0] cargo:warning=In file included from /var/pkgsrc/work/www/firefox/work/build/dist/include/mozilla/Assertions.h:418:
 [mozglue-static 0.1.0] cargo:warning=In file included from /var/pkgsrc/work/www/firefox/work/build/dist/stl_wrappers/type_traits:52:
 [mozglue-static 0.1.0] cargo:warning=/var/pkgsrc/work/www/firefox/work/build/dist/system_wrappers/type_traits:3:15: fatal error: 'type_traits' file not found
 [mozglue-static 0.1.0] cargo:warning=#include_next <type_traits>
 [mozglue-static 0.1.0] cargo:warning=              ^~~~~~~~~~~~~
 [mozglue-static 0.1.0] cargo:warning=1 error generated.
 [mozglue-static 0.1.0] exit code: 1

From: Frederic Fauberteau <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
Date: Wed, 27 May 2020 15:07:47 +0200

 Le 27/05/2020 à 11:05, Leonardo Taccari a écrit :
 > The following reply was made to PR pkg/54904; it has been noted by GNATS.
 > 
 > From: Leonardo Taccari <leot@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
 > Date: Wed, 27 May 2020 11:03:12 +0200
 > 
 >  Frédéric Fauberteau writes:
 >  > The following reply was made to PR pkg/54904; it has been noted by GNATS.
 >  >
 >  > From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx@NetBSD.org>
 >  > To: gnats-bugs@netbsd.org
 >  > Cc: 
 >  > Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
 >  > Date: Wed, 27 May 2020 10:10:45 +0200
 >  >
 >  >  cGtnc3JjIGJ1bGsgYnVpbGQgZm9yIEZyZWVCU0QgMTIuMS94ODZfNjQNCj09PT09PT09PT09
 >  >  [...]
 >  >  cnJvciBnZW5lcmF0ZWQuDQpbbW96Z2x1ZS1zdGF0aWMgMC4xLjBdIGV4aXQgY29kZTogMQ0K
 >  >  
 >  
 >  Corresponding base64-decoded version, please note that the clang++
 >  invocation was too long and was manually splitted in multiple lines all
 >  of them <900 characters.
 >  
 >  
 >  -------------------------8<------------------8<------------------------
 >  pkgsrc bulk build for FreeBSD 12.1/x86_64
 >  =========================================
 >  
 >  Location        Package         Breaks  Maintainer              Status
 >  www/firefox     firefox-76.0.1  1       ryoon@NetBSD.org        failed
 >  
 >  Full log:
 >  http://pkg.triaxx.org/pub/pkgsrc/reports/FreeBSD/x86_64/12.1/cocoon/20200526.0926/firefox-76.0.1/build.log
 >  
 >  Selected extract:
 >  [mozglue-static 0.1.0] CRATE_CC_NO_DEFAULTS = None 
 >  [mozglue-static 0.1.0] DEBUG = Some("false")
 >  [mozglue-static 0.1.0] running: "/var/pkgsrc/work/www/firefox/work/.cwrapper/bin/clang++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-unknown-freebsd" "-I/var/pkgsrc/work/www/firefox/work/build/dist/stl_wrappers" "-I/var/pkgsrc/work/www/firefox/work/build/dist/system_wrappers" "-include" "/var/pkgsrc/work/www/firefox/work/firefox-76.0.1/config/gcc_hidden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=2" "-fstack-protector-strong" "-DNDEBUG=1" "-DTRIMMED=1" "-I/var/pkgsrc/work/www/firefox/work/firefox-76.0.1/toolkit/library/rust" "-I/var/pkgsrc/work/www/firefox/work/build/toolkit/library/rust" "-I/var/pkgsrc/work/www/firefox/work/build/dist/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss" "-I/usr/pkg/include/nspr" "-I/var/pkgsrc/work/www/firefox/work/build/dist/include/nss" "-I/usr/pkg/include/pixman-1" "-fPIC" "-DMOZILLA_CLIENT" 
 >  "-include" "/var/pkgsrc/work/www/firefox/work/build/mozilla-config.h" "-Qunused-arguments" "-I/usr/include" "-I/usr/pkg/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/pkg/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion"
 >  "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=tautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-error=backend-plugin" "-Wno-error=return-std-move" "-Wno-error=atomic-alignment" "-Wno-error=deprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-O2" "-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS" "-I/usr/include" "-I/usr/pkg/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/pkg/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti"
 >  "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pipe" "-I/usr/pkg/include" "-O2" "-fomit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "/var/pkgsrc/work/www/firefox/work/build/js/src" "-I" "/var/pkgsrc/work/www/firefox/work/build/dist/include" "-DMOZ_HAS_MOZGLUE" "-o" "/var/pkgsrc/work/www/firefox/work/build/x86_64-unknown-freebsd/release/build/mozglue-static-5b6557c48299b0b2/out/wrappers.o" "-c" "wrappers.cpp"
 >  [mozglue-static 0.1.0] cargo:warning=In file included from wrappers.cpp:11:
 >  [mozglue-static 0.1.0] cargo:warning=In file included from /var/pkgsrc/work/www/firefox/work/build/dist/include/mozilla/Assertions.h:418:
 >  [mozglue-static 0.1.0] cargo:warning=In file included from /var/pkgsrc/work/www/firefox/work/build/dist/stl_wrappers/type_traits:52:
 >  [mozglue-static 0.1.0] cargo:warning=/var/pkgsrc/work/www/firefox/work/build/dist/system_wrappers/type_traits:3:15: fatal error: 'type_traits' file not found
 >  [mozglue-static 0.1.0] cargo:warning=#include_next <type_traits>
 >  [mozglue-static 0.1.0] cargo:warning=              ^~~~~~~~~~~~~
 >  [mozglue-static 0.1.0] cargo:warning=1 error generated.
 >  [mozglue-static 0.1.0] exit code: 1

 By reading this code from dist/stl_wrappers/type_traits:

 #pragma GCC visibility push(default)
 #include_next <type_traits>
 #pragma GCC visibility pop

 I have the feeling that dist/system_wrappers/type_traits should be included...

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 03:07:54 +0000
State-Changed-Why:
I see in one of the patches,

* isinf/isnan in make.h is defined as macro. Use non-macro version
  to fix build.

--- gfx/angle/checkout/src/compiler/translator/InfoSink.h.orig	2018-10-18 20:06:05.000000000 +0000
+++ gfx/angle/checkout/src/compiler/translator/InfoSink.h
@@ -7,7 +7,7 @@
 #ifndef COMPILER_TRANSLATOR_INFOSINK_H_
 #define COMPILER_TRANSLATOR_INFOSINK_H_

-#include <math.h>
+#include <cmath>
 #include <stdlib.h>
 #include "compiler/translator/Common.h"
 #include "compiler/translator/Severity.h"


Is this problem already fixed?


From: Frederic Fauberteau <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: maya@NetBSD.org
Subject: Re: pkg/54904 (www/firefox building fails on FreeBSD)
Date: Thu, 15 Oct 2020 08:15:33 +0200

 Thank you maya for your patch! Unfortunately, I cannot test it on a firefox release provided by pkgsrc since only 52, 68, 78 and 81 are available. I have now another build error with version 81.0.2. My FreeBSD platform is too old to be reasonably used as a development platform to investigate a firefox building issue. Therefore I suggest to close this PR since firefox-72.0.2 is no more maintained by pkgsrc.

State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 15 Oct 2020 06:30:42 +0000
State-Changed-Why:
Reporter would rather not turn this into a bug about a current version of firefox failing to build. Thanks for the feedback.


>Unformatted:

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.