Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650208 - app-office/libreoffice-6.0.5.2: on 32-bit arches with gcc-7.3.0 and UDE=kde error: use of deleted function ‘void readIpcArg(std::istream&, sal_Bool)’
Summary: app-office/libreoffice-6.0.5.2: on 32-bit arches with gcc-7.3.0 and UDE=kde e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 658244 659814 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-11 13:41 UTC by Andrew
Modified: 2018-07-12 21:11 UTC (History)
2 users (show)

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


Attachments
output of comand: emerge --info (emerge.info,5.37 KB, text/plain)
2018-03-11 13:43 UTC, Andrew
Details
content of build.log (build_log.xz,228.04 KB, application/x-xz)
2018-03-11 13:50 UTC, Andrew
Details
Content of build.log (build.log.tar.xz,235.94 KB, application/x-xz)
2018-03-22 11:40 UTC, Andrew
Details
Output of comand: emerge --info (emerge.info,5.39 KB, application/x-info)
2018-03-22 11:41 UTC, Andrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2018-03-11 13:41:42 UTC
The compilation of Libreoffice-6 with the use of gсс-7.3.0 failed. Error - 'use of deleted function'

Reproducible: Always
Comment 1 Andrew 2018-03-11 13:43:32 UTC
Created attachment 523496 [details]
output of comand: emerge --info
Comment 2 Andrew 2018-03-11 13:50:42 UTC
Created attachment 523498 [details]
content of build.log
Comment 3 Andreas Sturmlechner gentoo-dev 2018-03-11 16:48:33 UTC
It is a bit late to file a bug about libreoffice-6.0.1.1 at this point. It was removed more than a week ago.

Please try with current 6.0.2.1 instead, and if it fails again, use -O2 instead of -O3.
Comment 4 Andrew 2018-03-22 11:39:43 UTC
Exactly the same error was repeated when compiling libreoffice-6.0.2.1. The key "-O2" did not help. I post new versions of the files build.log and output the command "emerge --info"
Comment 5 Andrew 2018-03-22 11:40:50 UTC
Created attachment 524780 [details]
Content of build.log
Comment 6 Andrew 2018-03-22 11:41:41 UTC
Created attachment 524782 [details]
Output of comand: emerge --info
Comment 7 Andreas Sturmlechner gentoo-dev 2018-04-05 14:57:49 UTC
I am building LO with GCC-7.3.0 on all of my systems but haven't been able to reproduce this so far.
Comment 8 Larry the Git Cow gentoo-dev 2018-04-05 15:55:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448467a41fcaf8c70413e45cba5b91b988c26154

commit 448467a41fcaf8c70413e45cba5b91b988c26154
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-05 15:08:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-05 15:54:46 +0000

    app-office/libreoffice: Fix build with -flto*
    
    Closes: https://bugs.gentoo.org/650208
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-office/libreoffice/libreoffice-6.0.9999.ebuild | 2 ++
 app-office/libreoffice/libreoffice-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)
Comment 9 Andreas Sturmlechner gentoo-dev 2018-04-05 23:48:48 UTC
Sorry, wrong bug no.
Comment 11 Andrew 2018-05-08 04:16:10 UTC
The patch from Andreas Sturmlechner does not work. The error repeated. The patch changes the file "/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.hxx".  However, the error still occurs in the "vcl/unx/gtk3_kde5/filepicker_ipc_commands.hxx" file (build.log).
Comment 12 Andrew 2018-06-02 02:50:24 UTC
The error was repeated when compiling libreoffice-6.0.4.2
Comment 13 Andreas Sturmlechner gentoo-dev 2018-06-16 17:07:13 UTC
*** Bug 658244 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Sturmlechner gentoo-dev 2018-07-02 04:05:51 UTC
*** Bug 659814 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2018-07-02 20:23:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17972773c81f4a21a9e974b8baef73a27ad23a74

commit 17972773c81f4a21a9e974b8baef73a27ad23a74
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-02 20:18:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-02 20:23:19 +0000

    profiles: x86: Mask broken app-office/libreoffice[kde]
    
    Bug: https://bugs.gentoo.org/650208

 profiles/arch/x86/package.use.mask | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 16 Thomas Bettler 2018-07-03 21:41:16 UTC
I did not observe this bug here with LO-6.0.5.2 on AMD64 compiled by GCC-7.3.0-r3 though.
Thus seems to be something more specific than just a general issue.

Does it still exist with LO-6.0.5.2 ?
Comment 17 Andreas Sturmlechner gentoo-dev 2018-07-03 21:42:43 UTC
32-bit arch is affected.
Comment 18 Andrey Grozin gentoo-dev 2018-07-04 03:30:12 UTC
(In reply to Larry the Git Cow from comment #15)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=17972773c81f4a21a9e974b8baef73a27ad23a74
> 
> commit 17972773c81f4a21a9e974b8baef73a27ad23a74
> Author:     Andreas Sturmlechner <asturm@gentoo.org>
> AuthorDate: 2018-07-02 20:18:05 +0000
> Commit:     Andreas Sturmlechner <asturm@gentoo.org>
> CommitDate: 2018-07-02 20:23:19 +0000
> 
>     profiles: x86: Mask broken app-office/libreoffice[kde]
>     
>     Bug: https://bugs.gentoo.org/650208
> 
>  profiles/arch/x86/package.use.mask | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
I confirm that after masking the kde USE flag libreoffice-6.0.5.2 successfully compiles on my ~x86 box. This flag was set in the default/linux/x86/17.0/desktop/plasma profile which I use.

By the way, this bug does not appear in the search results for app-office/libreoffice, and so it is nearly impossible to find. This is the reason I filed 2 duplicates of this bug.
Comment 19 Larry the Git Cow gentoo-dev 2018-07-06 22:51:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2754c0139ea7c5ef43d9f538c12efd6ee6f49d2a

commit 2754c0139ea7c5ef43d9f538c12efd6ee6f49d2a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-06 22:48:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-06 22:51:43 +0000

    app-office/libreoffice: Update patchset to fix 32-bit build
    
    Bug: https://bugs.gentoo.org/650208
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 app-office/libreoffice/Manifest                    | 1 +
 app-office/libreoffice/libreoffice-6.0.5.2.ebuild  | 2 +-
 app-office/libreoffice/libreoffice-6.0.9999.ebuild | 2 +-
 profiles/arch/x86/package.use.mask                 | 1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
Comment 20 Andreas Sturmlechner gentoo-dev 2018-07-06 22:53:23 UTC
Please test.
Comment 21 Andrey Grozin gentoo-dev 2018-07-12 03:49:11 UTC
(In reply to Andreas Sturmlechner from comment #20)
> Please test.
I confirm that libreoffice-6.0.5.2 with the latest patchset with USE=kde compiles and runs on my ~x86 box. Time to close this bug.
Comment 22 Andreas Sturmlechner gentoo-dev 2018-07-12 21:11:54 UTC
Thanks.