Summary: | app-misc/lirc-0.10.0_rc2 - HTML parser error : Unexpected end tag : pre - ModuleNotFoundError: No module named 'setuptools' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mark+gentoobugs, martin.dummer, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 515060 | ||
Attachments: | build.log |
Description
Juergen Rose
2017-12-24 22:51:41 UTC
I'm by no means a Python-ninja, but switching from 3.6 to 3.5 with eselect makes the setuptools module work and emerge to finish successfully. /Charlie P.S: Also verifying... I've added version 0.10.0 - can you please see if this issue is still reproducible with that version? (In reply to Craig Andrews from comment #2) > I've added version 0.10.0 - can you please see if this issue is still > reproducible with that version? For me, this upgrade version didn't install unless I took the steps outlined in comment#1. That is, with 3.5.5 as system python version lirc-0.10.0 installed OK but failed when it was 3.6.5. (In reply to Adrian.Bassett from comment #3) > (In reply to Craig Andrews from comment #2) > For me, this upgrade version didn't install unless I took the steps outlined > in comment#1. That is, with 3.5.5 as system python version lirc-0.10.0 > installed OK but failed when it was 3.6.5. I can confirm Adrian. If I look at the use-flags of lirc, it shows app-misc/lirc-0.10.0::gentoo [0.10.0_rc2::gentoo] USE="X devinput gtk uinput usb -audio -doc -ftdi -inputlirc -static-libs -systemd" PYTHON_SINGLE_TARGET="python3_5 -python3_4" PYTHON_TARGETS="python3_5 -python3_4" so it is some kind of logical that emerging it with active python 3.6 interpreter MAY fail. Is it possible to tell portage inside the ebuild to use only python 3.4 or 3.5? python3.5 set with eselect, still same error, what else could i do? Making all in doc -:33: HTML parser error : Unexpected end tag : pre </PRE><A NAME="lbAE"> </A> ^ Traceback (most recent call last): File "setup.py", line 15, in <module> from setuptools import setup, Extension ImportError: No module named 'setuptools' make[2]: *** [Makefile:1620: python-pkg/dist/lirc-0.10.0.tar.gz] Error 1 make[1]: *** [Makefile:1092: all-recursive] Error 1 make: *** [Makefile:572: all] Error 2 (In reply to Saul Peebsen from comment #6) > python3.5 set with eselect, still same error, what else could i do? /etc/portage/package.use: app-misc/lirc PYTHON_TARGETS: -* python3_5 PYTHON_SINGLE_TARGET: -* python3_5 dev-python/setuptools python_targets_python3_5 After setting these it might work. I'm trying to reproduce this issue, and so far, I haven't been able to do so - perhaps someone can tell me what I'm doing wrong. $ sudo eselect python list Available Python interpreters, in order of preference: [1] python3.6 [2] python3.5 (uninstalled) [3] python3.4 [4] python2.7 (fallback) $ python --version Python 3.6.6 $ emerge app-misc/lirc -pv These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-misc/lirc-0.10.0::gentoo USE="X devinput doc gtk systemd uinput usb -audio -ftdi -inputlirc -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_4 -python3_5" PYTHON_TARGETS="python3_6 -python3_4 -python3_5" 0 KiB I have the same problem after upgrading python to 3.6. What's the best solution: 1) fall back to 3.5? 2) don't use lirc? *** This bug has been marked as a duplicate of bug 515060 *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472a64a8910a97986ce16e23ba9bc42746815b75 commit 472a64a8910a97986ce16e23ba9bc42746815b75 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2018-07-27 17:22:09 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-07-27 17:22:49 +0000 app-misc/lirc: Add dependency on dev-python/setuptools Closes: https://bugs.gentoo.org/642172 Package-Manager: Portage-2.3.43, Repoman-2.3.10 app-misc/lirc/lirc-0.10.1.ebuild | 1 + 1 file changed, 1 insertion(+) |