Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905921 - [pentoo] app-misc/mat2 requires python xml USE flag that does not exist
Summary: [pentoo] app-misc/mat2 requires python xml USE flag that does not exist
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-08 07:15 UTC by Jordi PM
Modified: 2023-05-09 07:44 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 Jordi PM 2023-05-08 07:15:16 UTC
emerge: there are no ebuilds built with USE flags to satisfy ">=dev-lang/python-3.11.1-r1:3.11[xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/python-3.11.3::gentoo (Missing IUSE: xml)
- dev-lang/python-3.11.3::gentoo (Missing IUSE: xml)
(dependency required by "app-misc/mat2-0.13.3::pentoo[-test,python_targets_python3_11]" [ebuild])
(dependency required by "@selected" [set])
Comment 1 Viorel Munteanu gentoo-dev 2023-05-08 08:00:50 UTC
Please report the bug to pentoo, the version is guru does not have this bug.

Or emerge app-misc/mat2::guru
Comment 2 Jordi PM 2023-05-08 17:23:19 UTC
% pwd
/var/lib/layman/guru/app-misc/mat2
(dl. 8 19:21:55) 0 app-misc/mat2 % less mat2-0.13.3.ebuild
      1 # Copyright 2020-2023 Gentoo Authors
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=8
      5 
      6 PYTHON_COMPAT=(python3_{10..11})
      7 PYTHON_REQ_USE="xml(+)"
      8 DISTUTILS_USE_PEP517=setuptools
      9 
     10 inherit distutils-r1 optfeature verify-sig
     11 
     12 DESCRIPTION="Metadata Anonymisation Toolkit: handy tool to trash your metadata"
     13 HOMEPAGE="https://0xacab.org/jvoisin/mat2"
     14 SIG_UPLOAD_HASH="672c73a1b8b0e79cdf7187900f3cc8ca"
     15 SRC_URI="
     16     https://0xacab.org/jvoisin/${PN}/-/archive/${PV}/${P}.tar.gz
     17     verify-sig? ( https://0xacab.org/jvoisin/${PN}/uploads/${SIG_UPLOAD_HASH}/${P}.tar.gz.asc )
     18 "
     19 
     20 LICENSE="LGPL-3"
     21 SLOT="0"
     22 KEYWORDS="~amd64"
     23 
     24 RDEPEND="
     25     app-text/poppler[introspection,cairo]
     26     dev-libs/glib:2
     27     dev-python/pycairo:0[${PYTHON_USEDEP}]
     28     dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
     29     gnome-base/librsvg[introspection]
     30     media-libs/mutagen:0[${PYTHON_USEDEP}]
     31     x11-libs/gdk-pixbuf:2[introspection,jpeg,tiff]
     32 "
     33 BDEPEND="
     34     verify-sig? ( >sec-keys/openpgp-keys-jvoisin-20200714 )
     35     test? (
     36         media-libs/exiftool:*
     37         media-video/ffmpeg[mp3,vorbis]
     38     )
     39 "
     40 
     41 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/jvoisin.asc
     42 
     43 DOCS=( doc {CHANGELOG,CONTRIBUTING,INSTALL,README}.md )
     44 
     45 distutils_enable_tests unittest
     46 
     47 src_prepare() {
     48     default
     49     rm pyproject.toml || die
     50 }
     51 
     52 pkg_postinst() {
     53     optfeature "misc file format support" media-libs/exiftool
     54     optfeature "sandboxing" sys-apps/bubblewrap
     55     optfeature "video support" media-video/ffmpeg
     56 }

Albeit i put the wrong details, it is a guru problem TOO.
Comment 3 Viorel Munteanu gentoo-dev 2023-05-08 18:25:57 UTC
Have you tried emerging it?  The fix is on line 7 in your listing.
Comment 4 Jordi PM 2023-05-08 19:07:49 UTC
Yes, I have created a mat2-0.13.3-r1 deleting line 7 and emerged no problem, I created this bug report in the hopes that my experience could be helpful to the other users by fixing the ebuild, you know, the giving back part.

I'm not qualified enough to create ebuilds nor patches, but I did test removing that requeriment on the guru ebuild and it worked, it seems pentoo also has the problem, and it also seems that NOBODY else is working on it.

I've suffered this bug for more than a year AFAICR and today I tested, confirmed & searched where should I report GURU repo issues.

I really feel that this bug does not need any discussion, it is already said and done, the only thing needed is who will validate this issue and push a mat2-0.13.3-r1.

I still do not see why someone would mark this as INVALID.

Regards,
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-08 19:10:55 UTC
The version in guru has been fine for a year: https://github.com/gentoo/guru/commit/decdf22968f39f8986150a1bee96da37c637bd8a.
Comment 6 Jordi PM 2023-05-09 07:44:49 UTC
After checking the ebuild version in my guru repo copy is 0.13.3, I could somehow emerge it no problem, it seems, as Sam pointed out, that it has been fixed in guru for over a year, and it remains a pentoo problem.

It seems that by my testing, when I created the 0.13.3-r1, it got chosen and emerged, so a repo priority issue that misled me.

Indeed, this is an invalid bug here, will follow this issue on pentoos github.

Thank you all!