Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 666144

Summary: www-client/firefox-62.0-r1: include/g++-v8/math.h:65:12: error: target of using declaration conflicts with declaration already in scope
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mozilla, poncho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Sergey 'L29Ah' Alirzaev 2018-09-13 14:14:51 UTC
19:25.59 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/math.h:65:12: error: target of using declaration conflicts with declaration already in scope
19:25.59 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/cmath:592:3: note: target of using declaration
19:25.59 /include/bits/mathcalls.h:201:19: note: conflicting declaration
Comment 1 Sergey 'L29Ah' Alirzaev 2018-09-13 14:16:37 UTC
The "attach" functionality still doesn't work in both palemoon and firefox-52, and i can't build firefox-62 apparently, so the build log is there: https://dump.bitcheese.net/files/dalerym/build.log
Comment 2 Sergey 'L29Ah' Alirzaev 2018-09-13 14:18:00 UTC
The comment box still can't fit `emerge --info` output even though it asks to paste it in, so it is there: https://dump.bitcheese.net/files/bylofop/emerge-info
Comment 3 Sergey 'L29Ah' Alirzaev 2018-09-13 15:02:33 UTC
Created attachment 546808 [details]
build log
Comment 4 Sergey 'L29Ah' Alirzaev 2018-09-13 15:02:57 UTC
Created attachment 546810 [details]
emerge --info
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-27 21:48:49 UTC
Can you still reproduce with >=firefox-62.0.2?
Comment 6 Sergey 'L29Ah' Alirzaev 2018-09-28 10:13:02 UTC
(In reply to Thomas Deutschmann from comment #5)
> Can you still reproduce with >=firefox-62.0.2?

Yes, it's the same.
Comment 7 Sergey 'L29Ah' Alirzaev 2018-10-23 16:01:12 UTC
The first bad revision is:
changeset:   371467:b18177e6556b
user:        Ralph Giles <giles@mozilla.com>
date:        Tue Jul 25 14:29:52 2017 -0700
summary:     Bug 1384258 - Build Stylo by default. r=chmanchester
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-10-23 16:45:41 UTC
Still able to reproduce with latest firefox-63.0?

I have no idea how the bad commit you linked, https://bugzilla.mozilla.org/show_bug.cgi?id=1384258 aka https://hg.mozilla.org/comm-central/rev/1d94ab93b253 should cause problems like that. According to your logs you are on ~amd64... same like most people and you are the only one who is experiencing the problem.
Comment 9 Sergey 'L29Ah' Alirzaev 2018-10-24 05:24:09 UTC
(In reply to Thomas Deutschmann from comment #8)
> Still able to reproduce with latest firefox-63.0?
Yes.
Comment 10 Sergey 'L29Ah' Alirzaev 2018-10-24 15:27:21 UTC
Tried building 60.3.0 with --disable-stylo-build-bindgen:
25:49.42 error[E0061]: this function takes 1 parameter but 2 parameters were supplied
25:49.43     --> servo/components/style/gecko/url.rs:193:23
25:49.43      |
25:49.43 193  |             let ptr = bindings::Gecko_ImageValue_Create(url.for_ffi(), cors);
25:49.43      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
25:49.43      |
Comment 11 Thomas Deutschmann (RETIRED) gentoo-dev 2020-10-04 18:07:22 UTC
Still able to reproduce with 78.3.1+?
Comment 12 Sergey 'L29Ah' Alirzaev 2020-10-04 23:51:13 UTC
80.0.1-r1 builds fine.