Bug 107940 - some virtual defaults defined in profiles does not match PROVIDE of corresponding ebuilds
Bug#: 107940 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: qa@gentoo.org Reported By: albert+gentoo-bugzilla@cdr.se
Component: Eclasses and Profiles
URL: 
Summary: some virtual defaults defined in profiles does not match PROVIDE of corresponding ebuilds
Keywords:  
Status Whiteboard: 
Opened: 2005-10-02 16:51 0000
Description:   Opened: 2005-10-02 16:51 0000
From ${PORTDIR}/profiles/base/virtuals. The packages that are named as default 
for each virtual does not PROVIDE this virtual.

virtual/qmail mail-mta/qmail
virtual/winkernel sys-kernel/win4lin-sources
virtual/imapUW net-mail/uw-imap
virtual/aspell-dict app-dicts/aspell-en

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Marius Mauch (RETIRED) 2005-10-02 19:48:59 0000 -------
Hmm, win4lin-sources is non-existant even.
And aspell-en does PROVIDE aspell-dict.

------- Comment #2 From Albert Holm 2005-10-03 08:15:08 0000 -------
In addition to the initial post:

Note: this list is grouped by packages and virtual, not by profile. 
I apologize for that. 

In some cases these seem to be a typo or change in naming. I have
tried to put a hopefully relevant alternative in parentheses in these
cases. 

I have found two different cases: missing packages and packages that
does not PROVIDE the virtual in question.

The following packages does not exist any longer. I doubt anything
should use a removed package as default for a virtual.

default-linux/amd64/2005.0 and default-linux/amd64/2005.1:
VIRTUAL virtual/alsa
PACKAGE media-sound/alsa-drivers (media-sound/alsa-driver)

hardened:
VIRTUAL virtual/kernel
PACKAGE sys-kernel/linux

default-linux/alpha:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/alpha-sources

selinux/2004.1/sparc64 and selinux/2005.1/sparc64:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/development-sources

selinux/2004.1/x86-uclibc and selinux/2004.1/x86:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/hardened-dev-sources

selinux/2004.1/ppc:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/ppc-development-sources

selinux/2004.1/amd64:
VIRTUAL virtual/os-headers
PACKAGE sys-kernel/linux26-headers
VIRTUAL virtual/kernel
PACKAGE sys-kernel/linux26-headers
VIRTUAL virtual/alsa
PACKAGE sys-kernel/gentoo-dev-sources
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/gentoo-dev-sources

default-macos/ppc and default-darwin/macos:
VIRTUAL virtual/glu
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/x11
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/xft
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/opengl
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/bootloader
PACKAGE sys-boot/bootx


The following packages exists (there is atleast one ebuild within the
suggested path) but they do not contain the PROVIDE that the virtuals
file suggests. Possible reasons: changed virtual name, not updated
ebuilds, masked packages used by very few users that have another
package that provide same virtual and possibly alot other reasons.

selinux/2005.1/amd64 and default-linux/amd64:
VIRTUAL virtual/alsa
PACKAGE sys-kernel/gentoo-sources

default-linux/hppa:
VIRTUAL virtual/alsa
PACKAGE sys-kernel/hppa-sources
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/hppa-sources

hardened/amd64 and hardened/ppc:
VIRTUAL virtual/alsa
PACKAGE sys-kernel/hardened-sources

default-linux/ppc/2005.1/ppc/G3/Pegasos and default-linux/ppc/2005.1/ppc/G4/
Pegasos:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/bootcreator

default-linux/mips/cobalt/:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/colo

default-linux/mips and uclibc/mips:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/dvhtool

default-linux/ia64:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/elilo

selinux/2005.1/mips:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/arcboot

embedded and default-darwin:
VIRTUAL virtual/dhcpcd (virtual/dhcpc)
PACKAGE net-misc/dhcpcd

embedded:
VIRTUAL virtual/glibc (virtual/libc)
PACKAGE sys-libs/glibc
VIRTUAL virtual/wine
PACKAGE app-emulation/wine

base:
VIRTUAL virtual/jabber-server
PACKAGE net-im/jabberd

base and embedded:
VIRTUAL virtual/jack
PACKAGE media-sound/jack-audio-connection-kit

default-linux/x86/xbox:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/xbox-sources

base, embedded and default-darwin:
VIRTUAL virtual/php
PACKAGE dev-php/mod_php

uclibc:
VIRTUAL virtual/ssh
PACKAGE net-misc/dropbear

default-linux/sparc/sparc64/2004.3/26headers:
VIRTUAL virtual/kernel
PACKAGE sys-kernel/gentoo-sources

default-macos/ppc and default-darwin:
VIRTUAL virtual/kernel (virtual/libc)
PACKAGE sys-libs/libsystem
VIRTUAL virtual/os-headers (virtual/libc)
PACKAGE sys-libs/libsystem

selinux/2005.1/ppc, selinux/2005.1/x86, selinux/2005.1/x86-uclibc, hardened/x86, 
hardened, hardened/ppc64, uclibc/ppc and uclibc/x86:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/hardened-sources

default-linux/sparc/sparc32/2004.3, default-linux/sparc/sparc32/2005.0 and 
default-linux/sparc/sparc32/2005.1:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/sparc-sources

almost every profile:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/gentoo-sources
VIRTUAL virtual/kernel (virtual/os-headers)
PACKAGE sys-kernel/linux-headers

------- Comment #3 From Albert Holm 2005-10-03 08:22:09 0000 -------
I forgot to check the various eclasses, only ebuilds. This means gentoo-sources 
do provide virtual/alsa for example.

------- Comment #4 From Fernando J. Pereda (RETIRED) 2005-10-03 08:28:53 0000 -------
I removed "virtual/qmail mail-mta/qmail" since I wrongly added in the first
place.

Cheers,
Ferdy

------- Comment #5 From Jakub Moc (RETIRED) 2005-10-03 08:46:52 0000 -------
CCing herds and arches to sort out the mess. 

------- Comment #6 From Fabian Groffen 2005-10-03 09:01:01 0000 -------
VIRTUAL virtual/glu
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/x11
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/xft
PACKAGE x11-base/apple-xfree
VIRTUAL virtual/opengl
PACKAGE x11-base/apple-xfree

x11-base/apple-xfree is listed in the package.provided

VIRTUAL virtual/bootloader
PACKAGE sys-boot/bootx
VIRTUAL virtual/kernel (virtual/libc)
PACKAGE sys-libs/libsystem
VIRTUAL virtual/os-headers (virtual/libc)
PACKAGE sys-libs/libsystem

default-macos/ppc profile is deprecated and superceded by default-darwin/macos

------- Comment #7 From Tuan Van (RETIRED) 2005-10-03 09:17:04 0000 -------
from
http://www.gentoo.org/cgi-bin/viewcvs.cgi/net-mail/uw-imap/Attic/uw-imap-2001a-r1.ebuild
"Fixed bug #1759 (uw-imap didn't provide enough headers for proper php
imap compile) Remove PROVIDE of virtual/imapUW"

so, virtual/imapUW should be removed. 

------- Comment #8 From Aron Griffis (RETIRED) 2005-10-03 09:39:26 0000 -------
fixed elilo for ia64

------- Comment #9 From Stephen Bennett (RETIRED) 2005-10-04 09:29:36 0000 -------
selinux should be done.

------- Comment #10 From Fernando J. Pereda (RETIRED) 2005-10-05 10:26:01 0000 -------
Fixed for the alpha profile.

Cheers,
Ferdy

------- Comment #11 From SpanKY 2005-10-05 20:27:28 0000 -------
virtual/kernel is a dead virtual so ive punted it from everyone

we should probably add 'virtual/linux-sources sys-kernel/gentoo-sources' to
base/virtuals and prune it from everywhere else and add 'virtual/os-headers
sys-kernel/linux-headers' to default-linux/virtuals

------- Comment #12 From Fernando J. Pereda (RETIRED) 2005-10-06 13:18:47 0000 -------
(In reply to comment #7)
> so, virtual/imapUW should be removed. 

I removed it, I think there are no other net-mail packages. Removing ourselves
from here.

Cheers.Ferdy

------- Comment #13 From SpanKY 2005-10-06 15:44:27 0000 -------
the kernel stuff should be cleaned up now

------- Comment #14 From MATSUU Takuto 2005-10-07 16:40:08 0000 -------
sound done.

------- Comment #15 From Simon Stelling (RETIRED) 2005-10-08 08:31:06 0000 -------
amd64 doesn't have anything to do

------- Comment #16 From Joe Jezak 2005-10-15 19:43:04 0000 -------
PPC is done, I took care of this:

default-linux/ppc/2005.1/ppc/G3/Pegasos and default-linux/ppc/2005.1/ppc/G4/
Pegasos:
VIRTUAL virtual/bootloader
PACKAGE sys-boot/bootcreator

And fixed these in the PPC profiles:
VIRTUAL virtual/linux-sources
PACKAGE sys-kernel/gentoo-sources
VIRTUAL virtual/kernel (virtual/os-headers)
PACKAGE sys-kernel/linux-headers

------- Comment #17 From Gustavo Zacarias (RETIRED) 2005-11-15 09:33:41 0000 -------
This has been fixed for sparc.

------- Comment #18 From Stuart Longland 2005-11-18 19:20:12 0000 -------
MIPS is fixed. (I hope :-)

The offending virtuals have been removed.

------- Comment #19 From Jakub Moc (RETIRED) 2005-11-18 23:57:59 0000 -------
OK, looks like this bug is fixed now. Albert, feel free to reopen if we missed
something.

Thanks everyone.