Bug 1423835

Summary: ledger: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: ledgerAssignee: Jim Radford <radford>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: bexelbie, chad, gour, iliana, jamielinux, pletnev.rusalex, radford
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ledger-3.1.1-8.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-06 22:25:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
ledger: Apply patch to fix builds on boost 1.61+ none

Description Fedora Release Engineering 2017-02-17 14:56:05 UTC
Your package ledger failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17730920

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 14:56:10 UTC
Created attachment 1252850 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 14:56:13 UTC
Created attachment 1252851 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 14:56:15 UTC
Created attachment 1252852 [details]
state.log

Comment 4 Fedora End Of Life 2017-02-28 11:44:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Chad Versace 2017-06-11 00:41:26 UTC
Related to this FTBFS, ledger.fc26 can't be installed through dnf.

[root@flow ~]# dnf install --refresh ledger.x86_64
Last metadata expiration check: 0:00:00 ago on Sat Jun 10 17:40:12 2017 PDT.
Error: 
 Problem: conflicting requests
  - nothing provides libboost_system.so.1.60.0()(64bit) needed by ledger-3.1.1-4.fc25.x86_64

[root@flow ~]# uname -a
Linux flow.kiwitree.net 4.11.3-302.fc26.x86_64 #1 SMP Mon Jun 5 18:40:25 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@flow ~]# grep PRETTY_NAME /etc/os-release 
PRETTY_NAME="Fedora 26 (Workstation Edition)"

Comment 6 pletnev.rusalex 2017-07-09 08:21:19 UTC
[root@pc ~]# dnf info ledger
Last metadata expiration check: 0:41:07 ago on Sun 09 Jul 2017 07:38:50 AM UTC.
Available Packages
Name         : ledger
Version      : 3.1.1
Release      : 4.fc25
Arch         : i686
Size         : 4.1 M
Source       : ledger-3.1.1-4.fc25.src.rpm
Repo         : fedora

[root@pc ~]# uname -a
Linux pc.off 4.11.8-300.fc26.x86_64 #1 SMP Thu Jun 29 20:09:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Comment 7 pletnev.rusalex 2017-07-09 08:21:51 UTC
The version of source is not fc26.

Comment 8 iliana etaoin 2017-07-15 22:28:47 UTC
Created attachment 1299098 [details]
ledger: Apply patch to fix builds on boost 1.61+

https://github.com/ledger/ledger/pull/465 fixes the build, I've attached the patch to the Fedora git repo.

F26 scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=20545993
rawhide scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=20545807

(There appears to be an issue with emacs in the rawhide ppc64le buildroot that seems unrelated to this package.)

Comment 9 Saša Janiška 2017-07-23 05:57:26 UTC
(In reply to Iliana Weller from comment #8)
> Created attachment 1299098 [details]
> ledger: Apply patch to fix builds on boost 1.61+

Does this patch work (didn't try building from src yet) and/or any info when it might be applied in order to have ledger-cli available  in f26?

Comment 10 iliana etaoin 2017-07-23 23:21:43 UTC
I'm going to apply my patch (attachment 1299098 [details]) in the next few days with provenpackager permissions unless I hear back from a maintainer asking otherwise. (Will also send an email.)

Comment 11 Brian (bex) Exelbierd 2017-07-26 08:50:06 UTC
Getting this package available in Fedora 26 is critical for Fedora's own budget process.  Do we have a timeline on your patch and build Iliana?

Comment 12 iliana etaoin 2017-07-26 16:23:13 UTC
(In reply to Brian (bex) Exelbierd from comment #11)
> Getting this package available in Fedora 26 is critical for Fedora's own
> budget process.  Do we have a timeline on your patch and build Iliana?

That's amazing.

I'll apply and build it tonight after work.

Comment 13 Brian (bex) Exelbierd 2017-07-26 16:31:16 UTC
(In reply to Iliana Weller from comment #12)
> (In reply to Brian (bex) Exelbierd from comment #11)
> > Getting this package available in Fedora 26 is critical for Fedora's own
> > budget process.  Do we have a timeline on your patch and build Iliana?
> 
> That's amazing.

I haven't had time to write the article in the commblog about it I want to, but yeah.

https://budget.fedoraproject.org/budget/docs/index.html is built from ledger data in https://pagure.io/fedora-budget/

:)

Comment 14 Fedora Update System 2017-07-27 15:53:02 UTC
ledger-3.1.1-8.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fbf7010d17

Comment 15 iliana etaoin 2017-07-27 15:54:38 UTC
(In reply to Fedora Update System from comment #14)
> ledger-3.1.1-8.fc26 has been submitted as an update to Fedora 26.

I have not yet done a rawhide build because there are still issues with the rawhide buildroot and the F27 mass rebuild is ongoing.

Comment 16 Chad Versace 2017-07-27 16:01:42 UTC
(In reply to Brian (bex) Exelbierd from comment #13)
> (In reply to Iliana Weller from comment #12)
> > (In reply to Brian (bex) Exelbierd from comment #11)
> > > Getting this package available in Fedora 26 is critical for Fedora's own
> > > budget process.  Do we have a timeline on your patch and build Iliana?
> > 
> > That's amazing.
> 
> I haven't had time to write the article in the commblog about it I want to,
> but yeah.
> 
> https://budget.fedoraproject.org/budget/docs/index.html is built from ledger
> data in https://pagure.io/fedora-budget/
> 
> :)

Fantastic. I began using ledger a few months ago for my personal finances, but the choice has always felt a little dubious to me. Knowing that Fedora uses it, that gives me more confidence in my choice.

Comment 17 Fedora Update System 2017-07-29 00:53:35 UTC
ledger-3.1.1-8.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-fbf7010d17

Comment 18 Fedora Update System 2017-08-06 22:25:21 UTC
ledger-3.1.1-8.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.