Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894720 - app-text/xournalpp-1.1.1-r2 - /.../BackgroundConfig.cpp: error: redefinition of bool BackgroundConfig::loadValueHex(const std::str
Summary: app-text/xournalpp-1.1.1-r2 - /.../BackgroundConfig.cpp: error: redefinition ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-16 08:25 UTC by Toralf Förster
Modified: 2023-04-10 03:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.65 KB, text/plain)
2023-02-16 08:25 UTC, Toralf Förster
Details
app-text:xournalpp-1.1.1-r2:20230215-211824.log.bz2 (app-text:xournalpp-1.1.1-r2:20230215-211824.log.bz2,17.40 KB, application/x-bzip)
2023-02-16 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,122.03 KB, text/plain)
2023-02-16 08:25 UTC, Toralf Förster
Details
environment (environment,111.70 KB, text/plain)
2023-02-16 08:25 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,708 bytes, application/x-bzip)
2023-02-16 08:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.04 KB, application/x-bzip)
2023-02-16 08:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.65 KB, application/x-bzip)
2023-02-16 08:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.60 KB, application/x-bzip)
2023-02-16 08:25 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 2023-02-16 08:25:14 UTC
   55 |         value = std::stoul(str, nullptr, 16);
      |                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-text/xournalpp-1.1.1-r2/work/xournalpp-1.1.1/src/view/background/BackgroundConfig.cpp: At global scope:
/var/tmp/portage/app-text/xournalpp-1.1.1-r2/work/xournalpp-1.1.1/src/view/background/BackgroundConfig.cpp:62:56: error: uint32_t has not been declared
   62 | auto BackgroundConfig::loadValueHex(const string& key, uint32_t& value) const -> bool {
      |                                                        ^~~~~~~~
/var/tmp/portage/app-text/xournalpp-1.1.1-r2/work/xournalpp-1.1.1/src/view/background/BackgroundConfig.cpp:62:6: error: redefinition of bool BackgroundConfig::loadValueHex(const std::string&, int&) const
   62 | auto BackgroundConfig::loadValueHex(const string& key, uint32_t& value) const -> bool {
      |      ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
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-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
  [3]   php8.2 *

  HEAD of ::gentoo
commit fdf803c0b177740c62a69aff156260ac7de2aa1a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 15 20:02:03 2023 +0000

    2023-02-15 20:02:03 UTC

emerge -qpvO app-text/xournalpp
[ebuild  N    ] app-text/xournalpp-1.1.1-r2  LUA_SINGLE_TARGET="lua5-3"
Comment 1 Toralf Förster gentoo-dev 2023-02-16 08:25:15 UTC
Created attachment 851560 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-16 08:25:16 UTC
Created attachment 851562 [details]
app-text:xournalpp-1.1.1-r2:20230215-211824.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-16 08:25:17 UTC
Created attachment 851564 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-16 08:25:19 UTC
Created attachment 851566 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-16 08:25:19 UTC
Created attachment 851568 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-16 08:25:20 UTC
Created attachment 851570 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-16 08:25:21 UTC
Created attachment 851572 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-16 08:25:22 UTC
Created attachment 851574 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-10 03:38:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92eb2acc80acbdc7874a07fea529201047ea9dee

commit 92eb2acc80acbdc7874a07fea529201047ea9dee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-10 03:37:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-10 03:37:19 +0000

    app-text/xournalpp: support Lua 5.4, fix build w/ gcc 13
    
    Bug: https://bugs.gentoo.org/854615
    Closes: https://bugs.gentoo.org/894720
    Closes: https://bugs.gentoo.org/895536
    Signed-off-by: Sam James <sam@gentoo.org>

 .../xournalpp/files/xournalpp-1.1.3-gcc13.patch    | 12 +++++
 .../xournalpp/files/xournalpp-1.1.3-lua-5-4.patch  | 14 ++++++
 app-text/xournalpp/xournalpp-1.1.3-r1.ebuild       | 58 ++++++++++++++++++++++
 app-text/xournalpp/xournalpp-9999.ebuild           | 15 ++++--
 4 files changed, 96 insertions(+), 3 deletions(-)