GNU bug report logs - #53247
calibre fails to build.

Previous Next

Package: guix;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Fri, 14 Jan 2022 06:04:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53247 in the body.
You can then email your comments to 53247 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#53247; Package guix. (Fri, 14 Jan 2022 06:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Rohleder <mike <at> rohleder.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 14 Jan 2022 06:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: bug-guix <at> gnu.org
Subject: calibre fails to build.
Date: Fri, 14 Jan 2022 07:03:10 +0100
[Message part 1 (text/plain, inline)]
Looks like upgrading zeroconf (33898cd5b7fa5cd3c5e5af17d72ee84a95b6a5ba)
broke calibre:

...
starting phase `install'
...
[Message part 2 (text/x-verbatim, inline)]
Installing calibre environment module: /gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0/lib/python3.9/site-packages/init_calibre.py
Traceback (most recent call last):
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/./setup.py", line 119, in <module>
    sys.exit(main())
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/./setup.py", line 104, in main
    command.run_all(opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/__init__.py", line 203, in run_all
    self.run_cmd(self, opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/__init__.py", line 199, in run_cmd
    cmd.run(opts)
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/install.py", line 154, in run
    self.run_postinstall()
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/setup/install.py", line 177, in run_postinstall
    from calibre.linux import PostInstall
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/linux.py", line 13, in <module>
    from calibre.customize.ui import all_input_formats
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/customize/ui.py", line 18, in <module>
    from calibre.customize.builtins import plugins as builtin_plugins
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/customize/builtins.py", line 752, in <module>
    from calibre.devices.smart_device_app.driver import SMART_DEVICE_APP
  File "/tmp/guix-build-calibre-5.21.0.drv-0/calibre-5.21.0/src/calibre/devices/smart_device_app/driver.py", line 2044, in <module>
    from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z,
ImportError: cannot import name '_HAS_A_TO_Z' from 'zeroconf' (/gnu/store/wd7qza7crmav4z8a0rsaqipil279smv5-python-zeroconf-0.38.1/lib/python3.9/site-packages/zeroconf/__init__.py)
error: in phase 'install': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("./setup.py" "install" "--prefix=/gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0" "--no-compile") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `install' failed after 2.5 seconds
command "python" "./setup.py" "install" "--prefix=/gnu/store/q227rjddwqxvkd165ydj648gmak7x4xi-calibre-5.21.0" "--no-compile" failed with status 1
builder for `/gnu/store/jkw6y56fsbh53rn8q214ny3fxk25p6c0-calibre-5.21.0.drv' failed with exit code 1
[Message part 3 (text/plain, inline)]
I found this https://bugs.gentoo.org/800233 similar gentoo bug.
Seems, our calibre needs a patch or upgraded to >=5.24


-- 
Those who do not understand Unix are condemned to reinvent it, poorly. 
                    -- Henry Spencer
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#53247; Package guix. (Fri, 14 Jan 2022 19:44:01 GMT) Full text and rfc822 format available.

Message #8 received at 53247 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 53247 <at> debbugs.gnu.org
Subject: Re: bug#53247: calibre fails to build.
Date: Fri, 14 Jan 2022 14:42:47 -0500
On Fri, Jan 14, 2022 at 07:03:10AM +0100, Michael Rohleder wrote:
> Looks like upgrading zeroconf (33898cd5b7fa5cd3c5e5af17d72ee84a95b6a5ba)
> broke calibre:

Thanks for reporting this failure in one of the flagship free software
packages :)

> I found this https://bugs.gentoo.org/800233 similar gentoo bug.
> Seems, our calibre needs a patch or upgraded to >=5.24

I'm testing the Gentoo patch now. The upstream patch from Calibre
doesn't apply to 5.21.0, which we have packaged.

We should definitely upgrade our Calibre package but we can fix this bug
more quickly.




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Fri, 14 Jan 2022 19:48:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Rohleder <mike <at> rohleder.de>:
bug acknowledged by developer. (Fri, 14 Jan 2022 19:48:02 GMT) Full text and rfc822 format available.

Message #13 received at 53247-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 53247-done <at> debbugs.gnu.org
Subject: Re: bug#53247: calibre fails to build.
Date: Fri, 14 Jan 2022 14:47:00 -0500
On Fri, Jan 14, 2022 at 02:42:47PM -0500, Leo Famulari wrote:
> I'm testing the Gentoo patch now. The upstream patch from Calibre
> doesn't apply to 5.21.0, which we have packaged.

The Gentoo patch fixes the bug for me. Pushed as
873fda504c74115c2d0333687a6723b134257dac

Thanks again for the report!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Feb 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.