You are not logged in.

#1 2019-01-27 18:32:16

mgr
Member
Registered: 2019-01-27
Posts: 3

[SOLVED] Possible issue with `python-twisted`

Hi there!

I’m having trouble installing an AUR package that depends on use of `python-twisted`. The traceback ends with the following message:

UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
==> ERROR: A failure occurred in check().

I assume it is just missing the dependency `python-service-identity`, but I’d like to make sure before opening a bug. Did I miss something, or am I correct?

The package I’m trying to install is `python-tornado-4.4`.

Thanks!
-- mgr

Last edited by mgr (2019-02-27 19:38:44)

Offline

#2 2019-01-27 18:43:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] Possible issue with `python-twisted`

*IF* that's the error, it's a missing checkdep on the package you're trying to build. It's optional for twisted.

You only posted a warning, though, we have no idea if there was an actual error earlier.

Offline

#3 2019-01-27 18:53:00

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Possible issue with `python-twisted`

Look at the output of

pacman -Qi python-twisted

It pretty plainly lists the additional modules that twisted can make use of (and which other software may explicitly depend on, but without actual error messages then like Scimmia said we cannot possibly answer questions).

Last edited by eschwartz (2019-01-27 18:55:09)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2019-01-27 19:09:33

mgr
Member
Registered: 2019-01-27
Posts: 3

Re: [SOLVED] Possible issue with `python-twisted`

Here’s the complete output on pastebin: https://pastebin.com/QJmE8F5i

After installing `python[2]-service-identity` separately the package still fails, but the tests run a little further.

Offline

#5 2019-01-27 19:16:45

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Possible issue with `python-twisted`

Those are indeed missing checkdepends, leave a comment describing the issue on the package details.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2019-01-27 19:22:50

mgr
Member
Registered: 2019-01-27
Posts: 3

Re: [SOLVED] Possible issue with `python-twisted`

eschwartz wrote:

Those are indeed missing checkdepends, leave a comment describing the issue on the package details.

Will do, thank you both for your help smile

Offline

Board footer

Powered by FluxBB