Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942763 - app-office/ledger-3.3.2-r1 - [ncurses-6.5] [meson] [libtool] /.../utils.h: error: cannot convert unsigned int [5] to unsigned char (&)[20]
Summary: app-office/ledger-3.3.2-r1 - [ncurses-6.5] [meson] [libtool] /.../utils.h: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-02 15:42 UTC by Toralf Förster
Modified: 2024-11-03 20:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.06 KB, text/plain)
2024-11-02 15:42 UTC, Toralf Förster
Details
app-office:ledger-3.3.2-r1:20241102-154041.log (app-office:ledger-3.3.2-r1:20241102-154041.log,21.22 KB, text/plain)
2024-11-02 15:42 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,115.77 KB, application/x-xz)
2024-11-02 15:43 UTC, Toralf Förster
Details
environment (environment,148.32 KB, text/plain)
2024-11-02 15:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-02 15:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.52 KB, application/x-xz)
2024-11-02 15:43 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.84 KB, application/x-xz)
2024-11-02 15:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,123.99 KB, application/x-xz)
2024-11-02 15:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.29 KB, application/x-xz)
2024-11-02 15:43 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 2024-11-02 15:42:57 UTC
In file included from /var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/amount.h:56,
                 from /var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/balance.h:52,
                 from /var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/value.h:52,
                 from /var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/csv.h:45,
                 from /var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/csv.cc:34:
/var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/utils.h: In function ledger::string ledger::sha1sum(const string&):
/var/tmp/portage/app-office/ledger-3.3.2-r1/work/ledger-3.3.2/src/utils.h:631:18: error: cannot convert unsigned int [5] to unsigned char (&)[20]
  631 |   sha.get_digest(message_digest);
      |                  ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241017-150503

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit daaabddacf40a9e3e5aa3a48ed505924a3fb1cac
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 2 13:52:43 2024 +0000

    2024-11-02 13:52:42 UTC

emerge -qpvO =app-office/ledger-3.3.2-r1
Comment 1 Toralf Förster gentoo-dev 2024-11-02 15:42:58 UTC
Created attachment 907685 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-02 15:42:59 UTC
Created attachment 907686 [details]
app-office:ledger-3.3.2-r1:20241102-154041.log
Comment 3 Toralf Förster gentoo-dev 2024-11-02 15:43:00 UTC
Created attachment 907687 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-02 15:43:02 UTC
Created attachment 907688 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-02 15:43:03 UTC
Created attachment 907689 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-02 15:43:04 UTC
Created attachment 907690 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-02 15:43:04 UTC
Created attachment 907691 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-02 15:43:06 UTC
Created attachment 907692 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-02 15:43:07 UTC
Created attachment 907693 [details]
temp.tar.xz
Comment 10 Erik Mackdanz gentoo-dev 2024-11-03 13:30:28 UTC
I can reproduce this with boost 1.86 but not boost 1.85
Comment 11 Larry the Git Cow gentoo-dev 2024-11-03 20:12:02 UTC
The bug has been closed via the following commit(s):

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

commit ac67334aa9cbd0e41b9e11921cd38a92f7a135c6
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2024-11-03 19:27:46 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2024-11-03 20:11:30 +0000

    app-office/ledger: bump to -r2
    
    Fix compilation against boost 1.86 by applying patch from
    https://github.com/ledger/ledger/pull/2381/files
    
    Closes: https://bugs.gentoo.org/942763
    Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>

 app-office/ledger/files/sha1sum.patch    | 110 +++++++++++++++++++++++++++++
 app-office/ledger/ledger-3.3.2-r2.ebuild | 117 +++++++++++++++++++++++++++++++
 2 files changed, 227 insertions(+)