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

Bug 898746

Summary: sci-geosciences/opencpn-5.6.2 - /.../mbtiles.h: error: use of enum MBTilesType without previous declaration
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: CONFIRMED ---    
Severity: normal CC: sci-geosciences
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sci-geosciences:opencpn-5.6.2:20230301-202945.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-02 09:05:10 UTC
      |                ^~~~~~~~~~~~~
In file included from /var/tmp/portage/sci-geosciences/opencpn-5.6.2/work/OpenCPN-Release_5.6.2/src/chartdbs.cpp:42:
/var/tmp/portage/sci-geosciences/opencpn-5.6.2/work/OpenCPN-Release_5.6.2/include/mbtiles.h:37:6: warning: elaborated-type-specifier for a scoped enum must not use the class keyword
   37 | enum class MBTilesType : std::int8_t { BASE, OVERLAY };
      | ~~~~ ^~~~~
      |      -----
/var/tmp/portage/sci-geosciences/opencpn-5.6.2/work/OpenCPN-Release_5.6.2/include/mbtiles.h:37:12: error: use of enum MBTilesType without previous declaration
   37 | enum class MBTilesType : std::int8_t { BASE, OVERLAY };
      |            ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-j5-20230301-010027

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0 *

  HEAD of ::gentoo
commit 0ffcb6c810f3f5511e2ba4afb72365466344668b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Mar 1 19:16:54 2023 +0000

    2023-03-01 19:16:53 UTC

emerge -qpvO sci-geosciences/opencpn
[ebuild  N    ] sci-geosciences/opencpn-5.6.2  USE="opengl -doc -lzma"
Comment 1 Toralf Förster gentoo-dev 2023-03-02 09:05:11 UTC
Created attachment 855594 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-02 09:05:12 UTC
Created attachment 855596 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-02 09:05:14 UTC
Created attachment 855598 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-02 09:05:15 UTC
Created attachment 855600 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-02 09:05:15 UTC
Created attachment 855602 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-02 09:05:16 UTC
Created attachment 855604 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-02 09:05:18 UTC
Created attachment 855606 [details]
sci-geosciences:opencpn-5.6.2:20230301-202945.log
Comment 8 Toralf Förster gentoo-dev 2023-03-02 09:05:19 UTC
Created attachment 855608 [details]
temp.tar.bz2