From owner-freebsd-ports-bugs@freebsd.org Mon May 17 19:06:21 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 70C3364FF32 for ; Mon, 17 May 2021 19:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FkTBP2M46z3GtS for ; Mon, 17 May 2021 19:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 509D564FC77; Mon, 17 May 2021 19:06:21 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5067964FC76 for ; Mon, 17 May 2021 19:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FkTBP1jnGz3GrB for ; Mon, 17 May 2021 19:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F9CE113E3 for ; Mon, 17 May 2021 19:06:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 14HJ6LF3076463 for ; Mon, 17 May 2021 19:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14HJ6Lh1076462 for ports-bugs@FreeBSD.org; Mon, 17 May 2021 19:06:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255953] www/firefox-esr: Fix compile error with clang/libc++ 12 Date: Mon, 17 May 2021 19:06:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2021 19:06:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255953 Bug ID: 255953 Summary: www/firefox-esr: Fix compile error with clang/libc++ 12 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gecko@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: gecko@FreeBSD.org Flags: maintainer-feedback?(gecko@FreeBSD.org) Created attachment 225036 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225036&action= =3Dedit Apply upstream fix for building against libc++ 12 During an exp-run for llvm 12 (see bug 255570), it turned out that www/firefox-esr does not build with clang 12.0.0 [1]: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/firefox-78.10.1/media/webrtc/trunk/= webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.cc:1= 3: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/firefox-78.10.1/media/webrtc/trunk/= webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.h:14: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/firefox-78.10.1/media/webrtc/trunk/= webrtc/modules/audio_processing/beamformer/complex_matrix.h:14: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/system_wrappers/complex= :3: In file included from /usr/include/c++/v1/complex:236: In file included from /usr/include/c++/v1/stdexcept:46: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/system_wrappers/excepti= on:3: In file included from /usr/include/c++/v1/exception:81: In file included from /usr/include/c++/v1/__memory/base.h:14: In file included from /usr/include/c++/v1/__debug:14: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/stl_wrappers/iosfwd:58: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/include/mozilla/mozallo= c.h:31: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/stl_wrappers/new:52: In file included from /wrkdirs/usr/ports/www/firefox-esr/work/.build/dist/system_wrappers/new:3: /usr/include/c++/v1/new:127:14: error: expected class name : public exception ^ 1 error generated. This is caused by firefox doing a lot of complex and fragile juggling with system headers, and was reported upstream as , then fixed via .=20 Hopefully the next esr drop will have this fix included, but for now I prop= ose the attached patch. [1] http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_= 16h02m24s/logs/firefox-esr-78.10.1,1.log --=20 You are receiving this mail because: You are the assignee for the bug.=