Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168722 - some files in the profiles have redundant entries
Summary: some files in the profiles have redundant entries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 12:58 UTC by Georgi Georgiev
Modified: 2007-12-23 23:26 UTC (History)
0 users

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


Attachments
list.txt (list,2.93 KB, text/plain)
2007-02-28 13:00 UTC, Georgi Georgiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2007-02-28 12:58:59 UTC
Some files in the profiles have redundant entries. A simple find | sort | uniq can give a proper list.
Comment 1 Georgi Georgiev 2007-02-28 13:00:44 UTC
Created attachment 111537 [details]
list.txt

And here is the list made by the simple find | sort | uniq.
Each line shows the file and the output of sort | uniq -d on that file.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-28 13:06:45 UTC
(In reply to comment #0)
> A simple find | sort | uniq can give a proper list.

Nice, except that it completely hides the redundant entries... Attach some patch because it's pretty unclear what's redundant there.
Comment 3 Georgi Georgiev 2007-02-28 14:20:02 UTC
(In reply to comment #2)
> Nice, except that it completely hides the redundant entries... Attach some
> patch because it's pretty unclear what's redundant there.

See attachment #111537 [details]. Each line has a file, the redundant line and the number of times that line is repeated.

Quoting a random one, just to illustrate:
default-linux/ppc/2005.1/ppc64/use.mask                           2  pcmcia
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-28 14:24:14 UTC
(In reply to comment #3)
> Each line has a file, the redundant line and the number of times that line is 
> repeated.

Ah... Really didn't get what's the number about.

Comment 5 Simon Stelling (RETIRED) gentoo-dev 2007-02-28 15:08:31 UTC
amd64 done
Comment 6 Guy Martin (RETIRED) gentoo-dev 2007-02-28 17:17:01 UTC
Done on hppa.
Comment 7 Joshua Jackson (RETIRED) gentoo-dev 2007-02-28 18:52:20 UTC
x86 is done
Comment 8 petre rodan (RETIRED) gentoo-dev 2007-02-28 20:13:04 UTC
selinux done
Comment 9 Jason Wever (RETIRED) gentoo-dev 2007-03-01 00:27:30 UTC
Not sure what you want SPARC to do here.  The package in question (media-sound/bitscope) needs to be masked in the profiles that support 2.4 kernels.  Based on how the current profile hierarchy is setup, we'll either have duplicate masking entries or unmasking entries.  If anyone has any suggestions here, feel free to re-CC us.

Also, the selinux team is responsible for the selinux SPARC profile, not the SPARC arch team.
Comment 10 Joe Jezak (RETIRED) gentoo-dev 2007-03-01 04:12:10 UTC
Removing ppc, all of the ppc profiles listed here are actually ppc64 profiles.
Comment 11 Georgi Georgiev 2007-03-01 08:44:02 UTC
(In reply to comment #9)
> Not sure what you want SPARC to do here.  The package in question
> (media-sound/bitscope) needs to be masked in the profiles that support 2.4
> kernels.

It's listed twice in every 2.4 profile. Here, take sparc32/2006.1/2.4 for example:

$ cat -n /usr/portage/profiles/default-linux/sparc/sparc32/2006.1/2.4/package.mask  | grep bitscope
    19  media-sound/bitscope
    32  media-sound/bitscope

Fair enough?
Comment 12 Gustavo Zacarias (RETIRED) gentoo-dev 2007-03-06 14:50:37 UTC
bitscope dupes nuked.
Comment 13 Alexander Færøy 2007-03-07 14:32:26 UTC
Should be done on MIPS now.
Comment 14 Georgi Georgiev 2007-03-07 16:13:22 UTC
Two more:

      2 ./base/use.mask:fdftk
      2 ./desc/cameras.desc:aox - libgphoto support for aox cameras

Comment 15 Tom Gall (RETIRED) gentoo-dev 2007-04-01 05:18:05 UTC
removing ppc64, fixed (except dev/* ones those really can all be deleted .. I'll prune them later)
Comment 16 Georgi Georgiev 2007-06-13 09:13:44 UTC
(In reply to comment #15)
> removing ppc64, fixed (except dev/* ones those really can all be deleted ..
> I'll prune them later)

default-linux/ppc/2005.1/ppc64/use.mask still has pcmcia duped.

And someone has to do the ones in comment #14.
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2007-11-13 21:49:18 UTC
Sorry for the bug spam... added myself to the wrong bug...
Comment 18 Mark Loeser (RETIRED) gentoo-dev 2007-12-23 23:26:18 UTC
This should be all done now.  We'll have to come up with an automated check for this eventually.