Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906054 - net-misc/openvswitch-2.17.6: missing dependency dev-python/sphinx
Summary: net-misc/openvswitch-2.17.6: missing dependency dev-python/sphinx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-10 06:58 UTC by Stefan Schmid
Modified: 2023-12-11 13:04 UTC (History)
2 users (show)

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


Attachments
build log before sphinx was rebuilt (openvswitch-2.17.6.build.log,216.65 KB, text/x-log)
2023-05-10 06:58 UTC, Stefan Schmid
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)