Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687788 - app-text/writerperfect-0.9.6[gsf]: OutputFileHelper.cxx:60:61: error: request for member get in ((OutputFileHelperImpl*)this)->OutputFileHelperImpl::mpOutfile , which is of pointer type GsfOutfile* {aka _GsfOutfile* } (maybe you meant
Summary: app-text/writerperfect-0.9.6[gsf]: OutputFileHelper.cxx:60:61: error: request...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 09:50 UTC by Toralf Förster
Modified: 2019-06-10 10:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.29 KB, text/plain)
2019-06-10 09:50 UTC, Toralf Förster
Details
app-text:writerperfect-0.9.6:20190610-064954.log (app-text:writerperfect-0.9.6:20190610-064954.log,16.52 KB, text/plain)
2019-06-10 09:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.63 KB, text/plain)
2019-06-10 09:50 UTC, Toralf Förster
Details
environment (environment,20.27 KB, text/plain)
2019-06-10 09:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.73 KB, application/x-bzip)
2019-06-10 09:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.89 KB, application/x-bzip)
2019-06-10 09:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.84 KB, application/x-bzip)
2019-06-10 09:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-10 09:50:23 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/librevenge-0.0 -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNDEBUG -DUSE_GSF_OUTPUT=1 -DGSF_HAS_COMPRESSION_LEVEL=1 -O2 -pipe -march=native -Wall -Wextra -Wshadow -pedantic -c OutputFileHelper.cxx  -fPIC -DPIC -o .libs/OutputFileHelper.o
OutputFileHelper.cxx: In destructor ‘OutputFileHelperImpl::~OutputFileHelperImpl()’:
OutputFileHelper.cxx:60:61: error: request for member ‘get’ in ‘((OutputFileHelperImpl*)this)->OutputFileHelperImpl::mpOutfile’, which is of pointer type ‘GsfOutfile*’ {aka ‘_GsfOutfile*’} (maybe you meant to use ‘->’ ?)
   60 |  if (mpOutfile && !gsf_output_close((GsfOutput *) mpOutfile.get()))
      |                                                             ^~~
make[3]: *** [Makefile:527: OutputFileHelper.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_libressl_20190607-162139

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

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) *
Available Rust versions:
  [1]   rust-1.35.0 *



emerge -qpvO app-text/writerperfect
[ebuild  N    ] app-text/writerperfect-0.9.6  USE="cdr gsf mspub mwaw visio wpd wpg wps -abiword -debug -ebook -epub -freehand -keynote -pagemaker -qxp -zmf"
Comment 1 Toralf Förster gentoo-dev 2019-06-10 09:50:26 UTC
Created attachment 579460 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-10 09:50:29 UTC
Created attachment 579462 [details]
app-text:writerperfect-0.9.6:20190610-064954.log
Comment 3 Toralf Förster gentoo-dev 2019-06-10 09:50:32 UTC
Created attachment 579464 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-10 09:50:35 UTC
Created attachment 579466 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-10 09:50:38 UTC
Created attachment 579468 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-10 09:50:40 UTC
Created attachment 579470 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-10 09:50:43 UTC
Created attachment 579472 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-06-10 10:36:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a2c4ef473ba9bcca4126a23ad4b6149746fb565

commit 7a2c4ef473ba9bcca4126a23ad4b6149746fb565
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-06-10 10:35:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-06-10 10:36:05 +0000

    app-text/writerperfect: Fix build with USE gsf
    
    Closes: https://bugs.gentoo.org/687788
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/writerperfect-0.9.6-gsf-buildfix.patch           | 14 ++++++++++++++
 app-text/writerperfect/writerperfect-0.9.6.ebuild          | 10 ++++++----
 2 files changed, 20 insertions(+), 4 deletions(-)