Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 19:09:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255954] mail/thunderbird: Fix compile error with clang/libc++ 12
Message-ID:  <bug-255954-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255954

            Bug ID: 255954
           Summary: mail/thunderbird: 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
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org

Created attachment 225037
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225037&action=
=3Dedit
Apply upstream fix for building against libc++ 12

During an exp-run for llvm 12 (see bug 255570), it turned out that
mail/thunderbird does not build with clang 12.0.0 [1]:

In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-78.10.0/media/webrtc/t=
runk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator=
.cc:13:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-78.10.0/media/webrtc/t=
runk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator=
.h:14:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/thunderbird-78.10.0/media/webrtc/t=
runk/webrtc/modules/audio_processing/beamformer/complex_matrix.h:14:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/.build/dist/system_wrappers/comple=
x: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/mail/thunderbird/work/.build/dist/system_wrappers/except=
ion: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/mail/thunderbird/work/.build/dist/stl_wrappers/iosfwd:58:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/.build/dist/include/mozilla/mozall=
oc.h:31:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/work/.build/dist/stl_wrappers/new:52:
In file included from
/wrkdirs/usr/ports/mail/thunderbird/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 thunderbird doing a lot of complex and fragile juggling w=
ith
system headers, and was reported upstream as
<https://bugzilla.mozilla.org/show_bug.cgi?id=3D1694575>, then fixed via
<https://hg.mozilla.org/mozilla-central/rev/f875a4ffd653>.

The fix is the same as bug 255953 for www/firefox-esr.

[1]
http://package22.nyi.freebsd.org/data/mainamd64PR255570-default/2021-05-08_=
16h02m24s/logs/thunderbird-78.10.0_1.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255954-7788>