Created attachment 604136 [details] www-client:firefox-72.0.2:20200124-150535.log $ gcc -dumpversion 10.0.0-pre9999 Relevant build failure: 0:41.36 Traceback (most recent call last): 0:41.36 File "./coreconf/werror.py", line 60, in <module> 0:41.36 main() 0:41.36 File "./coreconf/werror.py", line 37, in main 0:41.36 if not can_enable(): 0:41.36 File "./coreconf/werror.py", line 29, in can_enable 0:41.36 v = list(map(int, v)) 0:41.36 ValueError: invalid literal for int() with base 10: '0-pre9999' Firefox assumes all components are numbers.
Created attachment 604140 [details, diff] 0001-security-nss-coreconf-werror.py-allow-non-numeric-su.patch
Please open upstream bug report and submit patch to them.
man gcc says we don't print conformant versions: -dumpversion Print the compiler version (for example, 3.0, 6.3.0 or 7)---and don't do anything else. This is the compiler version used in filesystem paths and specs. Depending on how the compiler has been configured it can be just a single number (major version), two numbers separated by a dot (major and minor version) or three numbers separated by dots (major, minor and patchlevel version). -dumpfullversion Print the full compiler version---and don't do anything else. The output is always three numbers separated by dots, major, minor and patchlevel version. We should have number-only versions.
Freshy built vanilla gcc master reports the following: $ ./gcc/xgcc -Bgcc -dumpversion 10.0.1 $ ./gcc/xgcc -v ... Configured with: ../gcc/configure ... gcc version 10.0.1 20200122 (experimental) (GCC) We can do something like 10.0.9999.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1baad49bb596a829836937b88d79249cd4df027 commit d1baad49bb596a829836937b88d79249cd4df027 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-01-26 19:31:20 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-01-26 20:55:33 +0000 sys-devel/gcc: match live ebuild version with upstream's Closes: https://bugs.gentoo.org/706240 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/{gcc-10.0.0_pre9999.ebuild => gcc-10.0.1_pre9999.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068669eb1bc72cb3a4dcb589dc37739e04e174a9 commit 068669eb1bc72cb3a4dcb589dc37739e04e174a9 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-01-26 19:29:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-01-26 20:55:32 +0000 toolchain.eclass: don't override release vesion, assert it instead Closes: https://bugs.gentoo.org/706240 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> eclass/toolchain.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)