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

Bug 690162

Summary: app-office/abiword-3.0.2-r2 : /.../localpointer.h:67:1: error: template with C linkage
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: soap
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.gnome.org/World/AbiWord/issues/2
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-office:abiword-3.0.2-r2:20190718-092856.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
abiword-3.0.2-extern-C-icu.patch

Description Toralf Förster gentoo-dev 2019-07-18 17:50:52 UTC
                 from pd_DocumentRDF.cpp:1887:
/usr/include/unicode/localpointer.h: At global scope:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
   67 | template<typename T>
      | ^~~~~~~~
pd_DocumentRDF.cpp:1886:1: note: ‘extern "C"’ linkage started here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20190715-231820

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO app-office/abiword
[ebuild  N    ] app-office/abiword-3.0.2-r2  USE="cups eds goffice introspection plugins readline spell -calendar -collab -debug -grammar -latex -map -math -ots -redland -thesaurus -wmf -wordperfect"
Comment 1 Toralf Förster gentoo-dev 2019-07-18 17:50:55 UTC
Created attachment 583400 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-18 17:50:58 UTC
Created attachment 583402 [details]
app-office:abiword-3.0.2-r2:20190718-092856.log
Comment 3 Toralf Förster gentoo-dev 2019-07-18 17:51:01 UTC
Created attachment 583404 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-07-18 17:51:04 UTC
Created attachment 583406 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-07-18 17:51:07 UTC
Created attachment 583408 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-18 17:51:09 UTC
Created attachment 583410 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-07-18 17:51:12 UTC
Created attachment 583412 [details]
temp.tbz2
Comment 8 David Seifert gentoo-dev 2019-09-14 09:30:56 UTC
Created attachment 589798 [details, diff]
abiword-3.0.2-extern-C-icu.patch

This patches the issue for me
Comment 9 Mart Raudsepp gentoo-dev 2019-09-16 14:29:14 UTC
Please save me some time and handle this with upstream too if at all possible?
Comment 10 Larry the Git Cow gentoo-dev 2019-11-17 19:15:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed8ff59a824013848788f1c592baeb090ec35c4

commit 8ed8ff59a824013848788f1c592baeb090ec35c4
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-11-17 19:14:58 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-11-17 19:14:58 +0000

    app-office/abiword: Add upstream patch for C++ template use
    
    Closes: https://bugs.gentoo.org/690162
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: David Seifert <soap@gentoo.org>

 app-office/abiword/abiword-3.0.2-r2.ebuild         |  4 +++
 .../files/abiword-3.0.2-extern-C-template.patch    | 29 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)