Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785622 - www-client/firefox-78.10.0: /usr/include/c++/v1/new:127:14: error: expected class name
Summary: www-client/firefox-78.10.0: /usr/include/c++/v1/new:127:14: error: expected c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-25 15:06 UTC by Marco Clocchiatti
Modified: 2021-04-25 23:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log.bz2,496.94 KB, application/x-bzip2)
2021-04-25 15:07 UTC, Marco Clocchiatti
Details
emerge --info (emerge-info.txt.bz2,5.61 KB, application/x-bzip2)
2021-04-25 15:08 UTC, Marco Clocchiatti
Details
environment (environment.bz2,42.75 KB, application/x-bzip2)
2021-04-25 15:09 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2021-04-25 15:06:27 UTC
www-client/firefox-78.10.0 fails to build.

Reproducible: Always

Steps to Reproduce:
1. emerge www-client/firefox
Comment 1 Marco Clocchiatti 2021-04-25 15:07:55 UTC
Created attachment 702429 [details]
build log
Comment 2 Marco Clocchiatti 2021-04-25 15:08:34 UTC
Created attachment 702432 [details]
emerge --info
Comment 3 Marco Clocchiatti 2021-04-25 15:09:02 UTC
Created attachment 702435 [details]
environment
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-25 22:42:32 UTC
Your error is:

> 27:33.53 media/webrtc/trunk/webrtc/modules/pacing/pacing_gn
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox-78.10.0/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.cc:13:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox-78.10.0/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.h:14:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox-78.10.0/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/complex_matrix.h:14:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/system_wrappers/complex:3:
> 27:35.56 In file included from /usr/include/c++/v1/complex:236:
> 27:35.56 In file included from /usr/include/c++/v1/stdexcept:46:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/system_wrappers/exception:3:
> 27:35.56 In file included from /usr/include/c++/v1/exception:81:
> 27:35.56 In file included from /usr/include/c++/v1/__memory/base.h:14:
> 27:35.56 In file included from /usr/include/c++/v1/__debug:14:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/stl_wrappers/iosfwd:58:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/include/mozilla/mozalloc.h:31:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/stl_wrappers/new:52:
> 27:35.56 In file included from /tmp/ramtmp/.lnv/portage/www-client/firefox-78.10.0/work/firefox_build/dist/system_wrappers/new:3:
> 27:35.56 /usr/include/c++/v1/new:127:14: error: expected class name
> 27:35.56     : public exception
> 27:35.56              ^

This is probably https://bugzilla.mozilla.org/show_bug.cgi?id=1694575 but I cannot reproduce with on amd64 and ~amd64. I am wondering about your LLVM setup...
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-25 22:55:31 UTC
Please show us output of

`emerge --info sys-devel/clang sys-devel/llvm sys-devel/clang-runtime | tail -20`
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-25 22:56:28 UTC
Err, 

`emerge --info sys-devel/clang sys-devel/llvm sys-devel/clang-runtime sys-libs/libcxx | tail -22`
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-25 23:16:08 UTC
I was able to reproduce when using clang:11 with libcxx:12...
Comment 8 Larry the Git Cow gentoo-dev 2021-04-25 23:30:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d1f8fdecb256015e26539351f07eb69357ebdb

commit 42d1f8fdecb256015e26539351f07eb69357ebdb
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-04-25 23:16:48 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-04-25 23:30:09 +0000

    www-client/firefox: fix build with libcxx:12
    
    Closes: https://bugs.gentoo.org/785622
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest               | 2 +-
 www-client/firefox/firefox-78.10.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)