Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790794 - www-client/seamonkey-2.53.7.1-r1: compile error
Summary: www-client/seamonkey-2.53.7.1-r1: compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 11:04 UTC by jamesjames
Modified: 2021-05-26 08:02 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge-info.txt,9.38 KB, text/plain)
2021-05-18 11:04 UTC, jamesjames
Details
build.log (build.log.gz,557.98 KB, application/gzip)
2021-05-18 11:07 UTC, jamesjames
Details
seamonkey-2.53.7.1-CLEANUP-workaround.patch (seamonkey-2.53.7.1-CLEANUP-workaround.patch,10.37 KB, patch)
2021-05-19 18:12 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jamesjames 2021-05-18 11:04:03 UTC
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h: At global scope:
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:62:5: error: expected identifier before '(' token
   62 |     CLEANUP,
      |     ^~~~~~~
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:62:5: error: expected '}' before '(' token
In file included from /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dom/bindings/UnifiedBindings8.cpp:302:
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:58:3: note: to match this '{'
   58 |   {
      |   ^


Reproducible: Always
Comment 1 jamesjames 2021-05-18 11:04:53 UTC
Created attachment 709641 [details]
emerge --info
Comment 2 jamesjames 2021-05-18 11:07:18 UTC
Created attachment 709650 [details]
build.log
Comment 3 jamesjames 2021-05-18 11:09:15 UTC
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h: At global scope:
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:62:5: error: expected identifier before '(' token
   62 |     CLEANUP,
      |     ^~~~~~~
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:62:5: error: expected '}' before '(' token
In file included from /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dom/bindings/IDBDatabaseBinding.cpp:16,
                 from /var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dom/bindings/UnifiedBindings8.cpp:302:
/var/tmp/portage/www-client/seamonkey-2.53.7.1-r1/work/seamonkey-2.53.7.1/seamonk/dist/include/mozilla/dom/IDBTransaction.h:58:3: note: to match this '{'
   58 |   {
      |   ^
Comment 4 Attila Tóth 2021-05-19 18:12:41 UTC
Created attachment 709917 [details, diff]
seamonkey-2.53.7.1-CLEANUP-workaround.patch

Proposed fix for this issue
Comment 5 jamesjames 2021-05-20 11:47:38 UTC
(In reply to Attila Tóth from comment #4)
> Created attachment 709917 [details, diff] [details, diff]
> seamonkey-2.53.7.1-CLEANUP-workaround.patch
> 
> Proposed fix for this issue

 * Applying seamonkey-2.53.7.1-CLEANUP-workaround.patch ... [ ok ]
 * User patches applied
...
...
>>> www-client/seamonkey-2.53.7.1-r1 merged.

Build successful! Patch helped. Thank you Attila Tóth.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-05-20 11:52:05 UTC
Not yet fixed in portage. Please keep this bug open.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-05-20 11:59:43 UTC
@Attila: Is this a glibc-2.33 related issue?
Comment 8 Konstantin Münning 2021-05-22 14:24:37 UTC
> Build successful! Patch helped. Thank you Attila Tóth.

Yes, patch worked for me as well. Thanks.
Comment 9 Attila Tóth 2021-05-22 17:10:19 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #7)
> @Attila: Is this a glibc-2.33 related issue?

@Lars: seamonkey has been recompiled successfully since glibc-2.33 has landed on my system - as I recall it correctly. There were several packages updated lately known to induce recompiles (icu for example - but it wouldn't expect an icu change to pose restriction on special strings in an enum). There was a clang and a gcc upgrade as well. Switching back to gcc-10 doesn't help, so it's not the compiler itself. Currently I have no clue, which one is the culprit component.
Comment 10 Larry the Git Cow gentoo-dev 2021-05-26 08:02:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378ab4f69a4408bea2977238fe407072759b383c

commit 378ab4f69a4408bea2977238fe407072759b383c
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-26 08:01:34 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-26 08:01:41 +0000

    www-client/seamonkey: Fixed build
    
    Thanks-to: Attila Tóth <atoth@atoth.sote.hu>
    Closes: https://bugs.gentoo.org/790794
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../seamonkey-2.53.7.1-CLEANUP-workaround.patch    | 219 +++++++++++++++++++++
 www-client/seamonkey/seamonkey-2.53.7.1-r1.ebuild  |   1 +
 2 files changed, 220 insertions(+)