From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#24404: "calibre" package fails to build. Date: Wed, 1 Aug 2018 13:17:39 +0300 Message-ID: <20180801101739.GB31156__6435.32460458136$1533118578$gmane$org@macbook41> References: <20180628170155.11a28321@mailbox.org> <20180721173203.GA10747@jurong> <20180721181358.GA892@jurong> <20180721183830.GP4585@macbook41> <20180721184822.GA12005@jurong> <20180721185225.GQ4585@macbook41> <20180721203448.GA6314@jurong> <20180721204211.GA29877@jurong> <20180722094914.GA31191@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkoCk-0007vs-Uf for bug-guix@gnu.org; Wed, 01 Aug 2018 06:18:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkoCg-000225-3C for bug-guix@gnu.org; Wed, 01 Aug 2018 06:18:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkoCf-00021w-UL for bug-guix@gnu.org; Wed, 01 Aug 2018 06:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkoCf-0006ji-M6 for bug-guix@gnu.org; Wed, 01 Aug 2018 06:18:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20180722094914.GA31191@jurong> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Andreas Enge Cc: 24404@debbugs.gnu.org, "help-guix@gnu.org" On Sun, Jul 22, 2018 at 11:49:14AM +0200, Andreas Enge wrote: > Hello, >=20 > I ended up disabling tests (see comments in the patch). > Now the package builds, but tries to install into the Qt directory; at the > end of the cmake phase, it prints: > -- Installing in the same prefix as Qt, adopting their path scheme. > The previous version of the package contains a phase to adapt this, > but the .pri files to be modified do not exist any more. >=20 > I also tried to inherit from qtsvg like other qt* packages; but the > gnu-build-system does not work any more for qtwebkit, the build finishes > in a few seconds creating only the documentation and not compiling the co= de... >=20 > At this point, I am giving up; it would be nice if someone else could take > a look, I am attaching the current patch. Thanks for getting the patch this far! I switched the 'configure phase =66rom (invoke qmake) to fully cmake with some necessary configure-flags. It seemed easier than trying to convince qmake to install to the correct location. I also left the tests disabled, 7+ hours compiling on my fast aarch64 board was quite long enough. I'm not opposed to re-enabling them but I don't want to debug failures. >=20 > If there is no progress during the next few days, I would suggest to re-a= dd > pyqt@5.9 for calibre. What do you think? After fixing a bug in optipng (bundling outdated copies of libraries is definately a bug) I was able to compile calibre on aarch64. I run it headless, so I wasn't able to test it but hopefully it's back to working. > Andreas >=20 > PS: There is a thread from 2016 in which the Calibre author states that he > will stick with qtwebkit and in the worst case take over the maintena= nce > of a fork: > https://www.mobileread.com/forums/showthread.php?t=3D270258 If he's planning on going the same route as gnucash I assume its only a matter of time until he realizes distros will drop calibre rather than carry along his beloved cruft. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted