Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425848 - Ebuilds not defining mandatory variables
Summary: Ebuilds not defining mandatory variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
: 425100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-11 16:04 UTC by Ulrich Müller
Modified: 2014-05-14 11:03 UTC (History)
1 user (show)

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


Attachments
Ebuilds with undefined variables (undefined-variables.txt,21.46 KB, text/plain)
2012-07-15 06:07 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2012-07-11 16:04:37 UTC
The following ebuilds (all in the virtual category) don't define one or more of the HOMEPAGE, SRC_URI, LICENSE, and IUSE variables, which are all mandatory:

   virtual/dev-manager-0
   virtual/libstdc++-3.3
   virtual/linuxtv-dvb-headers-5.3
   virtual/opencl-0
   virtual/opencl-0-r2
   virtual/perl-ExtUtils-Constant-0.230.0-r2
   virtual/perl-Socket-2.1.0-r1
   virtual/perl-Socket-2.2.0

Policy reference:
<http://devmanual.gentoo.org/ebuild-writing/variables/#required-variables>
<http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-690008.2>
Comment 1 Ulrich Müller gentoo-dev 2012-07-14 19:44:34 UTC
All fixed.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2012-07-15 05:57:05 UTC
This list is not complete at all: a lot of live ebuilds don't define SRC_URI 
and some don't define KEYWORDS (which is mandatory too).

A list is being processed. I'll attach it soon.

- is it really necessary to be fixed?
  Package managers somehow deal with the current situation. Can't we adjust
  the spec?
- repoman should be fixed. I have seen ulm asking in #-portage but i think 
  no bug was filed?
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2012-07-15 06:07:11 UTC
Created attachment 318208 [details]
Ebuilds with undefined variables
Comment 4 SpanKY gentoo-dev 2012-07-15 22:14:57 UTC
it's a useless & pointless requirement.  fix the spec.
Comment 5 Ulrich Müller gentoo-dev 2012-07-15 22:42:47 UTC
(In reply to comment #4)
> it's a useless & pointless requirement.  fix the spec.

<http://web.archiveorange.com/archive/v/qm7I5i7gEh3FV9MnSpHk>
Comment 6 SpanKY gentoo-dev 2012-07-18 22:12:13 UTC
*** Bug 425100 has been marked as a duplicate of this bug. ***
Comment 7 Ulrich Müller gentoo-dev 2014-05-14 11:03:08 UTC
This was updated in PMS some time ago: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d99d0fe7c4fef5b541604020642255de291e4dbd

   Some ebuild-defined variables are optional.

   Move HOMEPAGE, SRC_URI, LICENSE, KEYWORDS, and IUSE from the mandatory
   to the optional variables list. Sort variables in canonical order.

Closing.