Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294096 - detecting perl-mod ebuild QA problems
Summary: detecting perl-mod ebuild QA problems
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 20:40 UTC by Torsten Veller (RETIRED)
Modified: 2014-10-11 17:51 UTC (History)
1 user (show)

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 Torsten Veller (RETIRED) gentoo-dev 2009-11-22 20:40:55 UTC
Task-Weaken checks at its built-time (in Makefile.PL) whether Scalar::Util's weaken function is present ... and does nothing at runtime.

"some operating system distributions only include the pure-Perl versions, don't include the XS version, and so weaken is then "missing""

Our perl and Scalar-List-Utils include the XS version.

I think we shouldn't depend on it and i've cleaned the tree in May 2009.

http://tinderbox.x86.dev.gentoo.org/misc/dindex/dev-perl/Task-Weaken
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-11-22 21:02:16 UTC
tove: as a general extension question, I'm wondering about making a list of perl packages that:
1. Should not be listed in DEPEND or RDEPEND at all.
2. Valid in DEPEND but not RDEPEND.

Per your comments here, Task-Weaken is a good candidate for the first. I'll remove it from the Moose stuff.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-11-23 08:52:05 UTC
(In reply to comment #1)
> tove: as a general extension question, I'm wondering about making a list of
> perl packages that:
> 1. Should not be listed in DEPEND or RDEPEND at all.
> 2. Valid in DEPEND but not RDEPEND.

No fixed rules, only suspicious dependencies:

ad 1)
- dev-perl/Module-Install: if needed, packaging is probably broken?
- anything from perl-core/* (if not in virtual/perl-* (or
  perl-core/*, but that's probably not correct too))

ad 2)
- virtual/perl-Module-Build
- dev-perl/extutils-pkgconfig, dev-perl/extutils-depends
  Probably all ExtUtils-* ?
- Test-* modules in non-Test modules.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-11-23 09:02:25 UTC
zmedico:
repoman questions here.

Wondering how to start plugging in some checks to detect badness in Perl ebuilds (mainly based on stuff that shouldn't be in [R]DEPEND).
Comment 4 Zac Medico gentoo-dev 2009-11-26 00:10:00 UTC
Repoman already has a list of packages for it's RDEPEND.suspect check. We can use that, and also add a DEPEND.suspect category.
Comment 5 Konstantin Münning 2011-02-08 12:43:08 UTC
So why is Task-Weaken still in portage tree then?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2014-10-11 09:17:20 UTC
Decent ideas here, I've come across most of them in more recent bug reports... :P

We really need some sort of repoman plugin structure.

Anyway no point to keep this dinosaur open.
Comment 7 Brian Dolbec (RETIRED) gentoo-dev 2014-10-11 17:51:44 UTC
That repoman plugin system is in progress now.  We are currently in stage1 of what I planned as a 3 stage process for the repoman rewrite.

stage1: split out the tests into a decent python structure.
        minimal code changes, make the tests into classes with 
        standard functions to call them.
        move any vcs specific code to an in class sudo plugin system (for later proper VCS plugin system creation).
        debug, merge into master.

stage2 creation of proper plugin systems for tests and vcs specific items.

stage3 code optimizations, further rewrites, ...