FS#74270 - [guitarix] FTBFS

Attached to Project: Community Packages
Opened by rvalue (rvalue) - Tuesday, 29 March 2022, 20:51 GMT
Last edited by David Runge (dvzrv) - Thursday, 28 April 2022, 09:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Fail to build from source with default LTO settings (enabled)
Further investigation shows that upstream build system used `-fno-lto` flag, causing conflicts in object formats.
I suggest to disable LTO for this package.

Additional info:

Version = 0.43.1-2

$ grep -r fno-lto -n
waftools/compile-extra.py:13: self.ldflags.append('-fno-lto')
waftools/compile-extra.py:21: self.ldflags.append('-fno-lto')
src/LV2/gx_amp.lv2/wscript:14: cxxflags=['-fvisibility=hidden','-fno-lto','-Wl,-z,noexecstack','-Wl,-z,relro,-z,now','-Wl,--exclude-libs,ALL'],
src/LV2/gx_cabinet.lv2/wscript:14: cxxflags=['-fvisibility=hidden','-fno-lto','-Wl,-z,noexecstack','-Wl,-z,relro,-z,now','-Wl,--exclude-libs,ALL'],
src/LV2/gx_amp_stereo.lv2/wscript:14: cxxflags=['-fvisibility=hidden','-fno-lto','-Wl,-z,noexecstack','-Wl,-z,relro,-z,now','-Wl,--exclude-libs,ALL'],

Suggested change:

---
sha512sums=('30e56d863308cea18bb4af6f71d3e8d852662b4252c998507a1c3de9a2d97fe1c4ecb525bd35ef8e176b5cb5138806553cba157c1aa6cb14e48fe0bbea8a7def')
b2sums=('bfa72a20f5fe1bdd08162e283f7074f6bcd6b4d6ccb1771f0351e60802ebf030f8f6627d2480ccd2e5972215847edd62bff38c338723fd0bf2504b9b2cee5101')
+options=(!lto)

build() {
---
This task depends upon

Closed by  David Runge (dvzrv)
Thursday, 28 April 2022, 09:59 GMT
Reason for closing:  Upstream
Additional comments about closing:  LTO disabled with guitarix 0.43.1-3, until upstream fixes this
Comment by David Runge (dvzrv) - Thursday, 28 April 2022, 09:58 GMT
@rvalue: Thanks for the ticket!

I have opened an upstream ticket for this to track progress there, as it needs to be fixed there: https://sourceforge.net/p/guitarix/bugs/133/

I will fix the build in a pkgrel bump, but close this ticket (as there's currently not much more I can do until upstream fixes this).

Loading...