Unix Technical Forum

Stop emerging gentoo-sources?

This is a discussion on Stop emerging gentoo-sources? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Something on my system insists on adding gentoo-sources-2.4.28-r5 whenever I do "emerge -uD world". I don't use the Gentoo ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Stop emerging gentoo-sources?

Something on my system insists on adding gentoo-sources-2.4.28-r5
whenever I do "emerge -uD world". I don't use the Gentoo kernel (and
I'm using a 2.6 kernel anyway) so I don't need this package. However,
if I unmerge it, it just shows up again next time.

How can I determine which of my many packages has this as a dependency?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:15 AM
Andy Fraser
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?

In alt.os.linux.gentoo, micromoog uttered the immortal words:

> Something on my system insists on adding gentoo-sources-2.4.28-r5
> whenever I do "emerge -uD world". I don't use the Gentoo kernel (and
> I'm using a 2.6 kernel anyway) so I don't need this package. However,
> if I unmerge it, it just shows up again next time.
>
> How can I determine which of my many packages has this as a dependency?


Nothing usually depends on a kernel package directly. It looks like Portage
thinks an older gentoo-sources package is installed.

What is the output of "equery list gentoo-sources"? You need gentoolkit
installed to use equery.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?


Andy Fraser wrote:
> In alt.os.linux.gentoo, micromoog uttered the immortal words:
>
> > Something on my system insists on adding gentoo-sources-2.4.28-r5
> > whenever I do "emerge -uD world". I don't use the Gentoo kernel

(and
> > I'm using a 2.6 kernel anyway) so I don't need this package.

However,
> > if I unmerge it, it just shows up again next time.
> >
> > How can I determine which of my many packages has this as a

dependency?
>
> Nothing usually depends on a kernel package directly. It looks like

Portage
> thinks an older gentoo-sources package is installed.
>
> What is the output of "equery list gentoo-sources"? You need

gentoolkit
> installed to use equery.
>
> --
> Andy.



Nothing from the equery:

[~]# equery list gentoo-sources
Searching for package 'gentoo-sources' in all categories among:
* installed packages
[~]#


and when I do "emerge -uDp world", the line for this package shows it
as new:

[~]# emerge -uDp world |grep sources
[ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5
[~]#

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:15 AM
Andy Fraser
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?

In alt.os.linux.gentoo, micromoog uttered the immortal words:

>> What is the output of "equery list gentoo-sources"? You need

> gentoolkit
>> installed to use equery.


> Nothing from the equery:
>
> [~]# equery list gentoo-sources
> Searching for package 'gentoo-sources' in all categories among:
> * installed packages
> [~]#


Then try "equery depends gentoo-sources" and see if anything crawls out.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?


micromoog wrote:
> Andy Fraser wrote:
> > In alt.os.linux.gentoo, micromoog uttered the immortal words:
> >
> > > Something on my system insists on adding gentoo-sources-2.4.28-r5
> > > whenever I do "emerge -uD world". I don't use the Gentoo kernel

> (and
> > > I'm using a 2.6 kernel anyway) so I don't need this package.

> However,
> > > if I unmerge it, it just shows up again next time.
> > >
> > > How can I determine which of my many packages has this as a

> dependency?
> >
> > Nothing usually depends on a kernel package directly. It looks like

> Portage
> > thinks an older gentoo-sources package is installed.
> >
> > What is the output of "equery list gentoo-sources"? You need

> gentoolkit
> > installed to use equery.
> >
> > --
> > Andy.

>
>
> Nothing from the equery:
>
> [~]# equery list gentoo-sources
> Searching for package 'gentoo-sources' in all categories among:
> * installed packages
> [~]#
>
>
> and when I do "emerge -uDp world", the line for this package shows it
> as new:
>
> [~]# emerge -uDp world |grep sources
> [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5
> [~]#




OK, I figured out from context that it's "alsa-driver" that wants
"gentoo-sources":


[~]# emerge -p alsa-driver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5
[ebuild U ] media-sound/alsa-headers-1.0.8_rc1 [1.0.5a]
[ebuild NS ] media-sound/alsa-driver-1.0.8_rc1


.. . . and looking into media-sound/alsa-driver-1.0.8_rc1.ebuild
reveals:

DEPEND="${RDEPEND}
sys-devel/patch
virtual/linux-sources
>=sys-devel/autoconf-2.50

sys-apps/debianutils"



So, why? and is there anything I can do about it?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?


Andy Fraser wrote:
> In alt.os.linux.gentoo, micromoog uttered the immortal words:
>
> >> What is the output of "equery list gentoo-sources"? You need

> > gentoolkit
> >> installed to use equery.

>
> > Nothing from the equery:
> >
> > [~]# equery list gentoo-sources
> > Searching for package 'gentoo-sources' in all categories among:
> > * installed packages
> > [~]#

>
> Then try "equery depends gentoo-sources" and see if anything crawls

out.
>
> --
> Andy.



Strangely, nothing did crawl out, even though it looks like
"alsa-driver" depends on it (see my other most recent post).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?


micromoog wrote:
> micromoog wrote:
> > Andy Fraser wrote:
> > > In alt.os.linux.gentoo, micromoog uttered the immortal words:
> > >
> > > > Something on my system insists on adding

gentoo-sources-2.4.28-r5
> > > > whenever I do "emerge -uD world". I don't use the Gentoo

kernel
> > (and
> > > > I'm using a 2.6 kernel anyway) so I don't need this package.

> > However,
> > > > if I unmerge it, it just shows up again next time.
> > > >
> > > > How can I determine which of my many packages has this as a

> > dependency?
> > >
> > > Nothing usually depends on a kernel package directly. It looks

like
> > Portage
> > > thinks an older gentoo-sources package is installed.
> > >
> > > What is the output of "equery list gentoo-sources"? You need

> > gentoolkit
> > > installed to use equery.
> > >
> > > --
> > > Andy.

> >
> >
> > Nothing from the equery:
> >
> > [~]# equery list gentoo-sources
> > Searching for package 'gentoo-sources' in all categories among:
> > * installed packages
> > [~]#
> >
> >
> > and when I do "emerge -uDp world", the line for this package shows

it
> > as new:
> >
> > [~]# emerge -uDp world |grep sources
> > [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5
> > [~]#

>
>
>
> OK, I figured out from context that it's "alsa-driver" that wants
> "gentoo-sources":
>
>
> [~]# emerge -p alsa-driver
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild N ] sys-kernel/gentoo-sources-2.4.28-r5
> [ebuild U ] media-sound/alsa-headers-1.0.8_rc1 [1.0.5a]
> [ebuild NS ] media-sound/alsa-driver-1.0.8_rc1
>
>
> . . . and looking into media-sound/alsa-driver-1.0.8_rc1.ebuild
> reveals:
>
> DEPEND="${RDEPEND}
> sys-devel/patch
> virtual/linux-sources
> >=sys-devel/autoconf-2.50

> sys-apps/debianutils"
>
>
>
> So, why? and is there anything I can do about it?




And, as sometimes happens, once someone got me pointed in the right
direction, I found my answer here:


http://www.gentoo.org/doc/en/migration-to-2.6.xml

"Some Linux 2.4 users will have previously installed the alsa-driver
package to benefit from the new audio capabilities included in Linux
2.6. If you were one of these users, and you followed the advice given
earlier in this document about building ALSA with the 2.6 kernel
sources (as opposed to using the alsa-driver package), then you can
safely remove this to prevent future conflicts."


So, I don't need the alsa-driver package at all, and will remove it
posthaste.

Thanks, Andy.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 10:15 AM
Andy Fraser
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?

In alt.os.linux.gentoo, micromoog uttered the immortal words:

[snip]
> "Some Linux 2.4 users will have previously installed the alsa-driver
> package to benefit from the new audio capabilities included in Linux
> 2.6. If you were one of these users, and you followed the advice given
> earlier in this document about building ALSA with the 2.6 kernel
> sources (as opposed to using the alsa-driver package), then you can
> safely remove this to prevent future conflicts."
>
>
> So, I don't need the alsa-driver package at all, and will remove it
> posthaste.


My next thought was alsa-driver. :-)

> Thanks, Andy.


I don't think I did anything there.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?

OK, now that I've poked around some, my question gets harder: I need
various ALSA-related things for a lot of software I use. For example,
jack-audio-connection-kit. However, emerging just that package leads
me back to the beginning:

jack-audio-connection-kit depends on alsa-lib
which depends on alsa-driver
which depends on gentoo-sources.

So, my new, harder question: assuming jack-audio-connection-kit is a
hard requirement for me, is it possible for me to manage my own kernel
entirely and not have a kernel in my installed Portage tree, or do I
have to have some kernel or another in there just to make Portage
happy?

I've tried "emerge -i sys-kernel/development-sources-2.6.10-r1" to
inject a stub (which works), but then attempting to emerge jack still
insists on getting the 2.4 tree (via the dependency chain above).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 10:15 AM
micromoog
 
Posts: n/a
Default Re: Stop emerging gentoo-sources?

micromoog wrote:
> OK, now that I've poked around some, my question gets harder: I need
> various ALSA-related things for a lot of software I use. For

example,
> jack-audio-connection-kit. However, emerging just that package leads
> me back to the beginning:
>
> jack-audio-connection-kit depends on alsa-lib
> which depends on alsa-driver
> which depends on gentoo-sources.
>
> So, my new, harder question: assuming jack-audio-connection-kit is a
> hard requirement for me, is it possible for me to manage my own

kernel
> entirely and not have a kernel in my installed Portage tree, or do I
> have to have some kernel or another in there just to make Portage
> happy?
>
> I've tried "emerge -i sys-kernel/development-sources-2.6.10-r1" to
> inject a stub (which works), but then attempting to emerge jack still
> insists on getting the 2.4 tree (via the dependency chain above).




OK, more talking to myself: I was able to "solve" the problem with

emerge -i sys-kernel/gentoo-sources-2.4.28-r5

Now I can emerge jack, alsa, etc. to my heart's content without having
the vanilla 2.4 sources added.

This seems like a nasty hack, though, and I wonder if it'll hold up
forever or if I'll have to inject a newer gentoo-sources at some point
in the future.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com