Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 906054

Summary: net-misc/openvswitch-2.17.6: missing dependency dev-python/sphinx
Product: Gentoo Linux Reporter: Stefan Schmid <schmidicom>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: virtualization, web
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32734
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log before sphinx was rebuilt

Description Stefan Schmid 2023-05-10 06:58:06 UTC
Created attachment 861419 [details]
build log before sphinx was rebuilt

When updating the system (from Python 3.10 to Python 3.11) the build of openvswitch broke because the dependency to sphinx is missing in the ebuild.
Comment 1 Stefan Schmid 2023-05-10 07:03:06 UTC
Maybe.

From:
RDEPEND="${PYTHON_DEPS}
	$(python_gen_cond_dep '
		~dev-python/ovs-2.17.1_p1[${PYTHON_USEDEP}]
		dev-python/twisted[${PYTHON_USEDEP}]
		dev-python/zope-interface[${PYTHON_USEDEP}]
	')
	debug? ( dev-lang/perl )
	unwind? ( sys-libs/libunwind:= )
	ssl? ( dev-libs/openssl:= )"

To:
RDEPEND="${PYTHON_DEPS}
	$(python_gen_cond_dep '
		~dev-python/ovs-2.17.1_p1[${PYTHON_USEDEP}]
		dev-python/twisted[${PYTHON_USEDEP}]
		dev-python/zope-interface[${PYTHON_USEDEP}]
		dev-python/sphinx[${PYTHON_USEDEP}]
	')
	debug? ( dev-lang/perl )
	unwind? ( sys-libs/libunwind:= )
	ssl? ( dev-libs/openssl:= )"
Comment 2 Stefan Schmid 2023-05-16 05:48:24 UTC
Small correction, this dependency is probably only used at buildtime. Therefore "dev-python/sphinx" rather belongs in the BDEPEND variable.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-11 13:04:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d20b71fedbbb69417ec4c092c3cfe8d0b9c8bd12

commit d20b71fedbbb69417ec4c092c3cfe8d0b9c8bd12
Author:     Francisco Javier FĂ©lix <web@inode64.com>
AuthorDate: 2023-09-12 06:40:30 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-12-11 13:00:11 +0000

    net-misc/openvswitch: Fix build when dev-python/sphinx is missing
    
    Remove redundant eclass inherit 'linux-info', provided by 'linux-mod'
    
    Closes: https://bugs.gentoo.org/906054
    Signed-off-by: INODE64 <web@inode64.com>
    Closes: https://github.com/gentoo/gentoo/pull/32734
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/openvswitch/openvswitch-2.17.6.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)