On Mon, Sep 21, 2020 at 08:55:50AM -0400, Roberto C. Sánchez wrote: > On Mon, Sep 21, 2020 at 02:54:17PM +0200, Bastian Germann wrote: > > Am 21.09.20 um 14:37 schrieb Roberto C. Sánchez: > > > On Mon, Sep 21, 2020 at 08:39:05AM +0000, Debian Bug Tracking System > > > wrote: > > >> Processing commands for cont...@bugs.debian.org: > > >> > > >>> reopen 970471 = > > >> Bug #970471 {Done: Bastian Germann <bastiangerm...@fishpost.de>} > > >> [bibletime] bibletime: FTBFS on mips64el > > >> 'reopen' may be inappropriate when a bug has been closed with a version; > > >> all fixed versions will be cleared, and you may need to re-add them. > > >> Bug reopened > > >> No longer marked as fixed in versions bibletime/3.0-2. > > >>> > > > > > > Bastian, > > > > > > This bug may require further investigation on a porterbox to ensure that > > > the root cause has been determined and then fixed. Do you have access > > > to a mips64el porterbox or perhaps a non-Debian system of that > > > architecture? If not, I can make some time later this week to try to > > > diagnose the issue. > > > > > > Regards, > > > > > > -Roberto > > > > > > > No, I do not have access to a mips64el machine. I built the package in > > qemu. Without the patches it failed and with them applied it built > > successfully. > > > That is helpful to know. I will try to rebuild 3.0-2 on a mips64el > machine this week to see if it fails in that case. Once I am able to do > that I will follow-up with the results. > I spent some time on this today and thanks to a suggestion from someone in IRC, I was able to determine that removing link-time optimization fixed the mips64el build. Specifically, these lines had to be removed:
- SET_TARGET_PROPERTIES("${target}" PROPERTIES - INTERPROCEDURAL_OPTIMIZATION TRUE) It is likely that since bibletime is a GUI application that it will not benefit very much from link-time optimization. Is it possible to drop that property altogether? If not, perhaps then conditionally only setting it on known good architectures would be possible. Regards, -Roberto -- Roberto C. Sánchez