Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790638 - sci-astronomy/kstars-3.5.3[-raw,fits]: fitsdata.cpp: error: lastError was not declared in this scope (maybe gcc-11 related)
Summary: sci-astronomy/kstars-3.5.3[-raw,fits]: fitsdata.cpp: error: lastError was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-05-17 07:24 UTC by Toralf Förster
Modified: 2021-05-20 21:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.30 KB, text/plain)
2021-05-17 07:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,439.62 KB, text/plain)
2021-05-17 07:24 UTC, Toralf Förster
Details
environment (environment,113.23 KB, text/plain)
2021-05-17 07:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.36 KB, application/x-bzip)
2021-05-17 07:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.32 KB, application/x-bzip)
2021-05-17 07:24 UTC, Toralf Förster
Details
sci-astronomy:kstars-3.5.3:20210516-233612.log.bz2 (sci-astronomy:kstars-3.5.3:20210516-233612.log.bz2,43.60 KB, application/x-bzip)
2021-05-17 07:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,72.50 KB, application/x-bzip)
2021-05-17 07:24 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 2021-05-17 07:24:31 UTC
/var/tmp/portage/sci-astronomy/kstars-3.5.3/work/kstars-3.5.3/kstars/fitsviewer/fitsdata.cpp: In member function ‘bool FITSData::loadRAWImage(const QByteArray&, const QString&, bool)’:
/var/tmp/portage/sci-astronomy/kstars-3.5.3/work/kstars-3.5.3/kstars/fitsviewer/fitsdata.cpp:527:5: error: ‘lastError’ was not declared in this scope; did you mean ‘m_LastError’?
  527 |     lastError = i18n("Unable to find dcraw and cjpeg. Please install the required tools to convert CR2/NEF to JPEG.");
      |     ^~~~~~~~~
      |     m_LastError
/var/tmp/portage/sci-astronomy/kstars-3.5.3/work/kstars-3.5.3/kstars/fitsviewer/fitsdata.cpp:520:47: warning: unused parameter ‘buffer’ [-Wunused-parameter]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j2-20210510-220140

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   jamvm 
  [4]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun May 16 22:05:19 UTC 2021

emerge -qpvO sci-astronomy/kstars
[ebuild  N    ] sci-astronomy/kstars-3.5.3  USE="fits handbook indi password wcs -debug -raw"
Comment 1 Toralf Förster gentoo-dev 2021-05-17 07:24:32 UTC
Created attachment 709248 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-17 07:24:34 UTC
Created attachment 709251 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-17 07:24:36 UTC
Created attachment 709254 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-17 07:24:37 UTC
Created attachment 709257 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-17 07:24:38 UTC
Created attachment 709260 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-17 07:24:39 UTC
Created attachment 709263 [details]
sci-astronomy:kstars-3.5.3:20210516-233612.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-17 07:24:41 UTC
Created attachment 709266 [details]
temp.tar.bz2
Comment 8 Andreas Sturmlechner gentoo-dev 2021-05-20 21:41:19 UTC
Reproduced with GCC-10.
Comment 9 Larry the Git Cow gentoo-dev 2021-05-20 21:51:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a36d6651fcd49e5f9c2264ab52ec0dba552eb4c

commit 5a36d6651fcd49e5f9c2264ab52ec0dba552eb4c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-20 21:51:20 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-20 21:51:33 +0000

    sci-astronomy/kstars: Fix build with IUSE="-raw fits"
    
    Closes: https://bugs.gentoo.org/790638
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/kstars-3.5.3-fits-w-o-libraw.patch       | 25 ++++++++++++++++++++++
 sci-astronomy/kstars/kstars-3.5.3.ebuild           |  2 ++
 2 files changed, 27 insertions(+)