Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890557 - dev-util/scons-4.4.0-r1 (and -r0): bogus test dependency on dev-libs/libxml2[${PYTHON_USEDEP}]
Summary: dev-util/scons-4.4.0-r1 (and -r0): bogus test dependency on dev-libs/libxml2[...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-11 23:56 UTC by Alexander Miller
Modified: 2023-01-15 07:32 UTC (History)
0 users

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 Alexander Miller 2023-01-11 23:56:08 UTC
Depending on dev-libs/libxml2[${PYTHON_USEDEP}] doesn't make sense since libxml2 has a python USE flag. That has to be added, too, for ${PYTHON_USEDEP} to be effective.

That doesn't look like the proper solution, however.

The only references to libxml2 I could find are the docbook tool extensions, which use the python bindings for libxml2 and libxslt. I don't know whether they are exercised by the test suite at all, but I don't see a difference running tests with libxml2's python bindings available or not. (Could be due to missing python bindings for libxslt, though.)

I'm not familiar enough with scons's test suite to know the correct dependencies, could be one of:
a) fix libxml2 depedency by adding python USE,
b) dito, but also add dev-libs/libxslt[python,${PYTHON_USEDEP}],
c) drop dependency on dev-libs/libxml2.

In any case the current dependency can't possibly be correct.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-15 07:21:05 UTC
Thanks for noticing.  I'm going to drop the libxml2 dep.;-).
Comment 2 Larry the Git Cow gentoo-dev 2023-01-15 07:32:30 UTC
The bug has been closed via the following commit(s):

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

commit ad6ffc01f664592e03f85348bf082b2b2ce7159a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-15 07:21:28 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-15 07:32:27 +0000

    dev-util/scons: Remove libxml2 test dep
    
    Closes: https://bugs.gentoo.org/890557
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-util/scons/scons-4.4.0-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)