From: 1over137 <1over137@anche.no>
To: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>,
gentoo-guru@lists.gentoo.org
Subject: [gentoo-guru] Re: Dev branch failing pkgcheck scan
Date: Fri, 15 Apr 2022 09:22:26 -0400 [thread overview]
Message-ID: <e1b77c8a21d617ff845540b6b0a14aab96b681f8.camel@anche.no> (raw)
In-Reply-To: <d0a15e66-521a-3816-df7f-55fce1135b75@parallaxshift.com>
Sorry, I think I failed to remove the old ebuild, causing this error.
Simply removing the old ebuild in the folder (ssmtool-0.6.4.ebuild)
would fix it. How do I fix it? Do I simply make a new commit?
Shaoyu Tseng
On Fri, 2022-04-15 at 09:06 -0400, Philippe Chaintreuil wrote:
> I'm getting an exception out of pkgcheck scan this morning.
>
> What's our protocol for issues like this? Rollback the change
> immediately? Or reach out and see if the commiter can fix it?
>
> =====================================================================
> =======
> peep@kant ~/git/guru $ pkgcheck scan --net
> pkgcheck scan: error: Traceback (most recent call last):
> File "/usr/lib/python3.9/site-packages/pkgcore/ebuild/atom.py",
> line
> 261, in __init__
> sf(self, "_cpv", cpv.CPV(self.cpvstr, versioned=bool(self.op)))
> File "/usr/lib/python3.9/site-packages/pkgcore/ebuild/cpv.py",
> line
> 317, in __init__
> raise InvalidCPV(cpvstr, f"invalid version '{pkg_chunks[-1]}'")
> pkgcore.ebuild.errors.InvalidCPV: app-misc/vocabsieve-.4: invalid
> version '.4'
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/usr/lib/python3.9/site-packages/pkgcheck/pipeline.py", line
> 227, in _run
> self._queue_work(sync_pipes, work_q)
> File "/usr/lib/python3.9/site-packages/pkgcheck/pipeline.py", line
> 172, in _queue_work
> for restrict in unversioned_source.itermatch(restriction):
> File "/usr/lib/python3.9/site-packages/pkgcheck/sources.py", line
> 378, in itermatch
> for pkg in super().itermatch(restrict, **kwargs):
> File "/usr/lib/python3.9/site-packages/pkgcheck/sources.py", line
> 247, in itermatch
> yield from super().itermatch(restrict, raw_pkg_cls=RawCPV,
> **kwargs)
> File
> "/usr/lib/python3.9/site-packages/pkgcore/repository/prototype.py",
> line
> 298, in _internal_match
> for pkg in self._internal_gen_candidates(candidates, **kwargs):
> File
> "/usr/lib/python3.9/site-packages/pkgcore/repository/prototype.py",
> line
> 295, in _internal_gen_candidates
> yield from sorter(pkg_filter(pkgs))
> File "/usr/lib/python3.9/site-packages/pkgcheck/packages.py", line
> 41, in __lt__
> return self.versioned_atom < other.versioned_atom
> File "/usr/lib/python3.9/site-packages/pkgcheck/packages.py", line
> 33, in versioned_atom
> return atom.atom(f'={self}')
> File "/usr/lib/python3.9/site-packages/snakeoil/caching.py", line
> 115, in __call__
> instance = super(WeakInstMeta, cls).__call__(*a, **kw)
> File "/usr/lib/python3.9/site-packages/pkgcore/ebuild/atom.py",
> line
> 263, in __init__
> raise errors.MalformedAtom(orig_atom) from e
> pkgcore.ebuild.errors.MalformedAtom: invalid package atom:
> '=app-misc/vocabsieve-.4'
> Sandboxed process killed by signal: Broken pipe
> Sandboxed process killed by signal: Broken pipe
> Sandboxed process killed by signal: Broken pipe
> =====================================================================
> =======
>
> My git bisect say this is the first bad commit:
>
> =====================================================================
> =======
> 318009746930e0b83ed39e6b74968f2a44720b1c is the first bad commit
> commit 318009746930e0b83ed39e6b74968f2a44720b1c
> Author: Shaoyu Tseng <1over137@anche.no>
> Date: Fri Apr 15 06:25:21 2022 -0400
>
> app-misc/vocabsieve: move from app-misc/ssmtool
>
> Signed-off-by: Shaoyu Tseng <1over137@anche.no>
>
> app-misc/ssmtool/Manifest | 1 -
> app-misc/ssmtool/metadata.xml | 12 ----------
> app-misc/ssmtool/ssmtool-0.6.4.ebuild | 35
> ----------------------------
> app-misc/vocabsieve/Manifest | 1 +
> app-misc/vocabsieve/metadata.xml | 12 ++++++++++
> app-misc/vocabsieve/ssmtool-0.6.4.ebuild | 35
> ++++++++++++++++++++++++++++
> app-misc/vocabsieve/vocabsieve-0.7.0.ebuild | 36
> +++++++++++++++++++++++++++++
> profiles/updates/2Q-2022 | 1 +
> 8 files changed, 85 insertions(+), 48 deletions(-)
> delete mode 100644 app-misc/ssmtool/Manifest
> delete mode 100644 app-misc/ssmtool/metadata.xml
> delete mode 100644 app-misc/ssmtool/ssmtool-0.6.4.ebuild
> create mode 100644 app-misc/vocabsieve/Manifest
> create mode 100644 app-misc/vocabsieve/metadata.xml
> create mode 100644 app-misc/vocabsieve/ssmtool-0.6.4.ebuild
> create mode 100644 app-misc/vocabsieve/vocabsieve-0.7.0.ebuild
> create mode 100644 profiles/updates/2Q-2022
> =====================================================================
> =======
>
> For ease of reference:
> https://github.com/gentoo/guru/commit/318009746930e0b83ed39e6b74968f2a44720b1c
>
> Thanks.
>
> -- Philippe Chaintreuil
next prev parent reply other threads:[~2024-11-24 22:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-15 13:06 [gentoo-guru] Dev branch failing pkgcheck scan Philippe Chaintreuil
2022-04-15 13:22 ` 1over137 [this message]
2022-04-15 13:28 ` [gentoo-guru] " Philippe Chaintreuil
2022-04-15 14:21 ` Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1b77c8a21d617ff845540b6b0a14aab96b681f8.camel@anche.no \
--to=1over137@anche.no \
--cc=gentoo-guru@lists.gentoo.org \
--cc=gentoo_bugs_peep@parallaxshift.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox