unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Andreas Enge <andreas@enge.fr>
Cc: 24404@debbugs.gnu.org, "help-guix@gnu.org" <help-guix@gnu.org>
Subject: bug#24404: "calibre" package fails to build.
Date: Wed, 1 Aug 2018 13:17:39 +0300	[thread overview]
Message-ID: <20180801101739.GB31156__6435.32460458136$1533118578$gmane$org@macbook41> (raw)
In-Reply-To: <20180722094914.GA31191@jurong>

On Sun, Jul 22, 2018 at 11:49:14AM +0200, Andreas Enge wrote:
> Hello,
> 
> 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.
> 
> 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 code...
> 
> 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
from (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.

> 
> If there is no progress during the next few days, I would suggest to re-add
> 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
> 
> 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 maintenance
>     of a fork:
>        https://www.mobileread.com/forums/showthread.php?t=270258

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.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

  parent reply	other threads:[~2018-08-01 10:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180628170155.11a28321@mailbox.org>
     [not found] ` <20180721173203.GA10747@jurong>
2018-07-21 18:13   ` bug#24404: "calibre" package fails to build Andreas Enge
     [not found]   ` <20180721181358.GA892@jurong>
2018-07-21 18:19     ` Andreas Enge
2018-07-21 18:38     ` Efraim Flashner
     [not found]     ` <20180721183830.GP4585@macbook41>
2018-07-21 18:48       ` Andreas Enge
     [not found]       ` <20180721184822.GA12005@jurong>
2018-07-21 18:52         ` Efraim Flashner
     [not found]         ` <20180721185225.GQ4585@macbook41>
2018-07-21 20:34           ` Andreas Enge
     [not found]           ` <20180721203448.GA6314@jurong>
2018-07-21 20:42             ` Andreas Enge
2018-07-22  9:49               ` Andreas Enge
     [not found]               ` <20180722094914.GA31191@jurong>
2018-08-01 10:17                 ` Efraim Flashner [this message]
     [not found]                 ` <20180801101739.GB31156@macbook41>
2018-08-01 12:46                   ` Brendan Tildesley
2018-08-01 16:41                     ` Efraim Flashner
2018-08-02 12:30                       ` Andreas Enge
2018-08-02 15:00                         ` Efraim Flashner
2018-08-02 15:07                           ` Andreas Enge
2018-08-02 16:22                             ` Andreas Enge
2018-08-02 16:49                               ` Andreas Enge
2018-08-02 17:04                                 ` Andreas Enge
2018-08-02 17:23                                   ` Andreas Enge
2018-08-02 16:31                             ` Andreas Enge
2019-02-19 22:25   ` bug#32238: Close Andreas Enge
2016-09-10  2:50 bug#24404: Calibre can't find QtWebKitWidgets Leo Famulari
2018-12-08 14:49 ` bug#24404: "calibre" package fails to build Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20180801101739.GB31156__6435.32460458136$1533118578$gmane$org@macbook41' \
    --to=efraim@flashner.co.il \
    --cc=24404@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).