| Summary: | >=dev-python/docutils-0.10 - src_compile(): Traceback (most recent call last): File "buildhtml.py", line 32, in <module> from docutils.utils.error_reporting import ErrorOutput, ErrorString | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | edes <edes> |
| Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | mgorny, thomas |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | docutilsinfo.tar.gz | ||
I am quite perplexed as to how you managed this. ~/cvsPortage/gentoo-x86/dev-python/docutils $ ebuild docutils-0.12.ebuild clean compile ~/cvsPortage/gentoo-x86/dev-python/docutils $ find /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12 -name error_reporting.py yields /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12/docutils/utils/error_reporting.py ~/cvsPortage/gentoo-x86/dev-python/docutils $ grep error_reporting /home/testuser/documents/build/dev-python/docutils-0.12:20140812-042206.log ~/cvsPortage/gentoo-x86/dev-python/docutils $ grep error_reporting /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12//temp/build.log yields copying docutils/utils/error_reporting.py -> /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12-pypy/lib/docutils/utils copying docutils/utils/error_reporting.py -> /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12-python3_2/lib/docutils/utils copying docutils/utils/error_reporting.py -> /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12-python3_3/lib/docutils/utils copying docutils/utils/error_reporting.py -> /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12-python3_4/lib/docutils/utils copying docutils/utils/error_reporting.py -> /mnt/gen2/TmpDir/portage/dev-python/docutils-0.12/work/docutils-0.12-python2_7/lib/docutils/utils (In reply to Ian Delaney from comment #1) > I am quite perplexed as to how you managed this. indeed... but i don't know what other information i could provide. i get exactly the same error with docutils 0.10, 0.11 and 0.12. coincidentally(?), starting when error_reporting.py was moved under utils/ I have the same issue. It builds fine for py3.3 and py3.4, but the py2.7 target fails with the exact same error. (In reply to thomasg from comment #3) same here, i got it working adding: -python_targets_python2_7 python_targets_python3_4 in the use flags 0.10 is gone. |
Created attachment 382700 [details] docutilsinfo.tar.gz the latest docutils i can build is 0.9.1. beginning with 0.10, compilation fail thus: copying docutils/writers/s5_html/themes/big-white/framing.css -> /var/tmp/portage/dev-python/docutils-0.12/work/docutils-0.12-python2_7/lib/docutils/writers/s5_html/themes/big-white copying docutils/writers/s5_html/themes/big-white/pretty.css -> /var/tmp/portage/dev-python/docutils-0.12/work/docutils-0.12-python2_7/lib/docutils/writers/s5_html/themes/big-white * python2_7: running distutils-r1_run_phase python_compile_all Traceback (most recent call last): File "buildhtml.py", line 32, in <module> from docutils.utils.error_reporting import ErrorOutput, ErrorString ImportError: No module named error_reporting * ERROR: dev-python/docutils-0.12::gentoo failed (compile phase): as an attachment: the output of emerge --info '=dev-python/docutils-0.12::gentoo' the output of emerge -pqv =dev-python/docutils-0.12::gentoo the build.log