Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583182 - =app-portage/repoman-2.3.0_rc1: missing dev-python/lxml dependency
Summary: =app-portage/repoman-2.3.0_rc1: missing dev-python/lxml dependency
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-16 13:21 UTC by Coacher
Modified: 2016-05-17 15:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2016-05-16 13:21:14 UTC
Hello.

After merging app-portage/repoman and running it for the first time I am greeted with:

RepoMan scours the neighborhood...
 * Please emerge dev-python/lxml in order to use repoman.

Please fix.
Comment 1 Coacher 2016-05-16 13:35:58 UTC
It may be worth depending on lxml >= 3.6.0 where these changes are present:
https://github.com/lxml/lxml/pull/181
https://github.com/lxml/lxml/pull/182
Comment 2 Martin Jansa 2016-05-17 14:59:33 UTC
Doesn't portage 2.3 miss the dependency on app-portage/repoman?

[ebuild     U  ] sys-apps/portage-2.3.0_rc1-r1::gentoo [2.3.0_rc1::gentoo] USE="(ipc) xattr -build -doc -epydoc (-selinux)" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_3 -python3_4" 0 KiB

After the upgrade of portage, using this command fails:

# emerge -uDav --complete-graph --with-bdeps=y --columns --keep-going --newuse --quiet-build --nospinner @system @world

These are the packages that would be merged, in order:

Calculating dependencies  .. ......... done!
[ebuild     U  ] sys-libs/gdbm                                         [1.12::gentoo]               [1.11::gentoo] USE="berkdb nls -exporter -static-libs" ABI_X86="(64) -32 (-x32)" 822 KiB
[ebuild     U  ] sys-devel/autoconf-archive                            [2016.03.20-r1::gentoo]      [2016.03.20::gentoo] 0 KiB
[ebuild     U  ] sys-kernel/linux-headers                              [4.6::gentoo]                [4.5::gentoo] 3,845 KiB
[ebuild     U  ] app-arch/tar                                          [1.29::gentoo]               [1.28-r1::gentoo] USE="acl nls xattr -minimal (-selinux) -static" 2,653 KiB
[ebuild     U  ] dev-vcs/mercurial                                     [3.8.2::gentoo]              [3.8.1-r1::gentoo] USE="-bugzilla -emacs -gpg {-test} -tk" PYTHON_TARGETS="python2_7" 4,660 KiB
[ebuild     U  ] sys-apps/portage                                      [2.3.0_rc1-r1::gentoo]       [2.3.0_rc1::gentoo] USE="(ipc) xattr -build -doc -epydoc (-selinux)" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_3 -python3_4" 0 KiB
[ebuild     U  ] app-emulation/qemu                                    [2.6.0::gentoo]              [2.5.1::gentoo] USE="aio alsa bluetooth caps curl fdt filecaps gnutls jpeg ncurses nls pin-upstream-blobs png pulseaudio sasl sdl seccomp smartcard ssh threads usb uuid vde vhost-net vnc xattr -accessibility -debug -glusterfs -gtk -gtk2 -infiniband -iscsi -lzo -nfs -numa -opengl -python -rbd -sdl2 (-selinux) -snappy -spice -static -static-softmmu -static-user -systemtap -tci {-test} -usbredir -virgl -virtfs -vte -xen -xfs" LINGUAS="-de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64 -aarch64 -alpha -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="arm armeb i386 x86_64 -aarch64 -alpha -cris -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -unicore32" 25,152 KiB

Total: 7 packages (7 upgrades), Size of downloads: 37,129 KiB

Would you like to merge these packages? [Yes/No] y
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/python3.5/site-packages/_emerge/main.py", line 1185, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 3236, in run_action
    emerge_config.args, spinner)
  File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 505, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/python3.5/site-packages/_emerge/Scheduler.py", line 958, in merge
    rval = self._handle_self_update()
  File "/usr/lib64/python3.5/site-packages/_emerge/Scheduler.py", line 323, in _handle_self_update
    _prepare_self_update(self.settings)
  File "/usr/lib64/python3.5/site-packages/portage/package/ebuild/doebuild.py", line 2489, in _prepare_self_update
    symlinks=True)
  File "/usr/lib64/python3.5/site-packages/portage/__init__.py", line 259, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
  File "/usr/lib64/python3.5/shutil.py", line 303, in copytree
    names = os.listdir(src)
FileNotFoundError: [Errno 2] No such file or directory: b'/usr/lib64/python3.5/site-packages/repoman'
Comment 3 Coacher 2016-05-17 15:06:51 UTC
(In reply to Martin Jansa from comment #2)
> Doesn't portage 2.3 miss the dependency on app-portage/repoman?
No, it doesn't. This is a separate problem and is fixed in 2.3.0_rc-r1. Please refer to the bug #583254.
Comment 4 Coacher 2016-05-17 15:08:57 UTC
Meanwhile this problem was fixed in =app-portage/repoman-2.3.0_rc1-r1 and 2.3.0_rc1 is now gone.

Thank you.