Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690162 - app-office/abiword-3.0.2-r2 : /.../localpointer.h:67:1: error: template with C linkage
Summary: app-office/abiword-3.0.2-r2 : /.../localpointer.h:67:1: error: template with ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-18 17:50 UTC by Toralf Förster
Modified: 2019-11-17 19:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2019-07-18 17:50 UTC, Toralf Förster
Details
app-office:abiword-3.0.2-r2:20190718-092856.log (app-office:abiword-3.0.2-r2:20190718-092856.log,874.63 KB, text/plain)
2019-07-18 17:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.22 KB, text/plain)
2019-07-18 17:51 UTC, Toralf Förster
Details
environment (environment,124.80 KB, text/plain)
2019-07-18 17:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.66 KB, application/x-bzip)
2019-07-18 17:51 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,27.57 KB, application/x-bzip)
2019-07-18 17:51 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,53.11 KB, application/x-bzip)
2019-07-18 17:51 UTC, Toralf Förster
Details
abiword-3.0.2-extern-C-icu.patch (abiword-3.0.2-extern-C-icu.patch,286 bytes, patch)
2019-09-14 09:30 UTC, David Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)