Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Portage, what are you thinking?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

Portage, what are you thinking?

  • Quote

Post by NiBe » Fri Dec 10, 2004 1:26 pm

I ran the command "emerge -pvuD world", more out of curiosity of what could be upgraded than out of need. I noticed a few things that made me raise an eyebrow.

First of all, portage wants to intall GCC 3.4.3, which is fine by me, but it isn't marked as an upgrade as I thought it should be, but as a new package. What will happen to the version of GCC (3.3.4) that's installed now? I'm not really fond of the idea of two GCC-versions installed.

Second, portage wants to intall six (6) new versions of automake for me.
portage wrote:[ebuild UD] sys-devel/automake-1.5 [1.8.5-r1] (-uclibc) 514 kB
[ebuild NS ] sys-devel/automake-1.8.5-r2 (-uclibc) 647 kB
[ebuild NS ] sys-devel/automake-1.6.3 (-uclibc) 465 kB
[ebuild NS ] sys-devel/automake-1.7.9 (-uclibc) 564 kB
[ebuild NS ] sys-devel/automake-1.4_p6 (-uclibc) 366 kB
[ebuild N ] sys-devel/automake-wrapper-1 0 kB
[ebuild NS ] sys-devel/automake-1.9.3 (-uclibc) 720 kB
One is an upgrade, which is fine of course, but the rest? Why is this? one version has served me well so far.

Same thing goes for autoconf, which wants to upgrade 2.59-r5 to 2.59-r6. More than upgrading, it wants to install 2.13 on my system as well. Why?

Further, portage thinks installing spamassassin would be a great idea, which has a lot of perl library dependancies as well. I'm not running a mailserver on my workstation so this is all stupid. Why would spamassassin be installed?

Finally, portage wants to install sysvinit, which is currently not installed at all if I'm to believe portage. What would cause this to be required?

USE="sse msn icq dvd cdr ftp imap ssl mmx opengl alsa gnome gtk2 -gpm -qt -kde -arts -xmms -sdl"
Bus error - Driver executed
Top
adaptr
Watchman
Watchman
User avatar
Posts: 6730
Joined: Sun Oct 06, 2002 1:28 pm
Location: Rotterdam, Netherlands

Re: Portage, what are you thinking?

  • Quote

Post by adaptr » Fri Dec 10, 2004 1:56 pm

NiBe wrote:I ran the command "emerge -pvuD world", more out of curiosity of what could be upgraded than out of need. I noticed a few things that made me raise an eyebrow.
Eyebrows raised, aargh.
NiBe wrote:First of all, portage wants to intall GCC 3.4.3, which is fine by me, but it isn't marked as an upgrade as I thought it should be, but as a new package. What will happen to the version of GCC (3.3.4) that's installed now? I'm not really fond of the idea of two GCC-versions installed.
It isn't.
The S next to the N means it will be installed in a new SLOT, since gcc 3.4 is in another version slot than gcc 3.3.
Nothing will happen to the old one, as you can always decide for yourself which one is actually used by the system.
The command to look for is gcc-config.

And why wouldn't you have two versions installed side-by-side ?
This isn't Windows, where that would be patently impossible.
It may even be required if you need to run 2 applications that need different versions to function - many system libraries are used in a variety of versions alongside one another.
Check your /usr directory - chances are you have both python 2.1 and python 2.3 installed.
This is quite normal.
NiBe wrote:Second, portage wants to intall six (6) new versions of automake for me.

Code: Select all

[ebuild     UD] sys-devel/automake-1.5 [1.8.5-r1] (-uclibc) 514 kB 
[ebuild  NS   ] sys-devel/automake-1.8.5-r2  (-uclibc) 647 kB 
[ebuild  NS   ] sys-devel/automake-1.6.3  (-uclibc) 465 kB 
[ebuild  NS   ] sys-devel/automake-1.7.9  (-uclibc) 564 kB 
[ebuild  NS   ] sys-devel/automake-1.4_p6  (-uclibc) 366 kB 
[ebuild  N    ] sys-devel/automake-wrapper-1  0 kB 
[ebuild  NS   ] sys-devel/automake-1.9.3  (-uclibc) 720 kB 
One is an upgrade, which is fine of course, but the rest? Why is this? one version has served me well so far.
Again - these are in different SLOTs.
Word of advice: don't use --deep, then.
And the first one will actually be Downgraded, so you might think about this before commiting...
NiBe wrote:Same thing goes for autoconf, which wants to upgrade 2.59-r5 to 2.59-r6. More than upgrading, it wants to install 2.13 on my system as well. Why?
See above.
NiBe wrote:Further, portage thinks installing spamassassin would be a great idea, which has a lot of perl library dependancies as well. I'm not running a mailserver on my workstation so this is all stupid. Why would spamassassin be installed?
emerge gentoolkit if you haven't already, then

Code: Select all

equery depgraph spamassassin
willl tell you why it is pulled in.
NiBe wrote:Finally, portage wants to install sysvinit, which is currently not installed at all if I'm to believe portage. What would cause this to be required?

USE="sse msn icq dvd cdr ftp imap ssl mmx opengl alsa gnome gtk2 -gpm -qt -kde -arts -xmms -sdl"
That is only a small part of the story - USE flags are set in both make.global and make.defaults as well.
Do an

Code: Select all

emerge info
to get the full set of USE flags that are currently set.
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Fri Dec 10, 2004 2:11 pm

recently, the autoconf and automake wrappers were unmasked in portage,
these requires all the versions which emerge -uD recommended.
these are slotted, just like gcc.
with regards to spamassassin, if i'm not mistaken, this is required
for evolution 2.x.
hth
happy gentooing
Top
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

Re: Portage, what are you thinking?

  • Quote

Post by NiBe » Fri Dec 10, 2004 3:04 pm

adaptr wrote:And why wouldn't you have two versions installed side-by-side ?
Simply because i fail to see a use for two versions of gcc. I've yet to find an app that depends on a specific version of gcc to compile.
adaptr wrote:It may even be required if you need to run 2 applications that need different versions to function - many system libraries are used in a variety of versions alongside one another.
I tend to see libs as a different thing. Applications typically use shared libraries all over the place, so this is only to expect. GCC however is a compiler (or set of), and though I cannot brag about exceptional knowledge of the workings on this area, I know of no applications that require a specific version of GCC. As far as I know, there's no reason for packages to break if GCC 3.3 is replaced by 3.4. I'm no guru on this topic however.
adaptr wrote:Check your /usr directory - chances are you have both python 2.1 and python 2.3 installed.
This is quite normal.
This system is fairly fresh, so only one version of python (2.3) is installed. python and python2 in /usr/bin are both symlinks to python2.3
adaptr wrote:
NiBe wrote:Second, portage wants to intall six (6) new versions of automake for me.

Code: Select all

[ebuild     UD] sys-devel/automake-1.5 [1.8.5-r1] (-uclibc) 514 kB 
[ebuild  NS   ] sys-devel/automake-1.8.5-r2  (-uclibc) 647 kB 
[ebuild  NS   ] sys-devel/automake-1.6.3  (-uclibc) 465 kB 
[ebuild  NS   ] sys-devel/automake-1.7.9  (-uclibc) 564 kB 
[ebuild  NS   ] sys-devel/automake-1.4_p6  (-uclibc) 366 kB 
[ebuild  N    ] sys-devel/automake-wrapper-1  0 kB 
[ebuild  NS   ] sys-devel/automake-1.9.3  (-uclibc) 720 kB 
One is an upgrade, which is fine of course, but the rest? Why is this? one version has served me well so far.
Again - these are in different SLOTs.
Word of advice: don't use --deep, then.
And the first one will actually be Downgraded, so you might think about this before commiting...
Even without -D (--deep) portage wants to install these packages. It's correct though that my current automake will be downgraded. My bad.
adaptr wrote:
NiBe wrote:Further, portage thinks installing spamassassin would be a great idea, which has a lot of perl library dependancies as well. I'm not running a mailserver on my workstation so this is all stupid. Why would spamassassin be installed?
emerge gentoolkit if you haven't already, then

Code: Select all

equery depgraph spamassassin
willl tell you why it is pulled in.
equery appears to fail at this. When trying to depgraph spamassassin it simply states:

Code: Select all

[ Searching for packages matching spamassassin... ]
And quits. This goes for both spamassassin and mail-filter/spamassassin. Other apps are no problem to graph however.
adaptr wrote:
NiBe wrote:Finally, portage wants to install sysvinit, which is currently not installed at all if I'm to believe portage. What would cause this to be required?

USE="sse msn icq dvd cdr ftp imap ssl mmx opengl alsa gnome gtk2 -gpm -qt -kde -arts -xmms -sdl"
That is only a small part of the story - USE flags are set in both make.global and make.defaults as well.
Do an

Code: Select all

emerge info
to get the full set of USE flags that are currently set.
Very well, use flags are then: "X alsa apm avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 fam foomaticdb fortran ftp gdbm gif gnome gtk gtk2 icq imagemagick imap imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg msn ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline spell sse ssl svga tcpd tiff truetype x86 xml xml2 xv zlib"
Bus error - Driver executed
Top
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

  • Quote

Post by NiBe » Fri Dec 10, 2004 3:07 pm

irf2003 wrote:with regards to spamassassin, if i'm not mistaken, this is required
for evolution 2.x.
This would explain a thing or two, however my mail is filtered elsewere so spamassassin is still useless to me. Is there any way skip this package?
Evolution is working fine without it.
Bus error - Driver executed
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

Re: Portage, what are you thinking?

  • Quote

Post by rhill » Sat Dec 11, 2004 1:49 am

NiBe wrote:
adaptr wrote:And why wouldn't you have two versions installed side-by-side ?
Simply because i fail to see a use for two versions of gcc. I've yet to find an app that depends on a specific version of gcc to compile.
adaptr wrote:It may even be required if you need to run 2 applications that need different versions to function - many system libraries are used in a variety of versions alongside one another.
I tend to see libs as a different thing. Applications typically use shared libraries all over the place, so this is only to expect. GCC however is a compiler (or set of), and though I cannot brag about exceptional knowledge of the workings on this area, I know of no applications that require a specific version of GCC. As far as I know, there's no reason for packages to break if GCC 3.3 is replaced by 3.4. I'm no guru on this topic however.
there are several packages that won't compile with 3.4 that will with 3.3.

besides that, as a general philosopy, backup plans are Good Things. gcc is a core element of the system. installing 3.4 with some sort of (soon to be detected fault or defect) and unmerging 3.3 could leave the user marooned, and thus is extremely foolish. it's similar to the reasoning behind keeping your old kernel as a backup when you install a new one.
Top
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

  • Quote

Post by NiBe » Sat Dec 11, 2004 11:34 am

Very well, point(s) taken.

Now then, how can i stop spamassassin from being installed. According to the ebuild, spamassassin is a dependancy of evolution.
I do however have evolution installed already without spamassassin, as I mentioned earlier my mail is filtered elsewhere. My current version of evolution was built without spamassassin and works perfectly. I guess i could simply remove the mail-filter/spamassassin line in the ebuild but that seems like a very ugly way to solve my problem.
Masking the package made bad things(tm) occur. Doh!
Bus error - Driver executed
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

Re: Portage, what are you thinking?

  • Quote

Post by Maedhros » Sat Dec 11, 2004 12:26 pm

NiBe wrote:Second, portage wants to intall six (6) new versions of automake for me.

Code: Select all

[ebuild     UD] sys-devel/automake-1.5 [1.8.5-r1] (-uclibc) 514 kB 
[ebuild  NS   ] sys-devel/automake-1.8.5-r2  (-uclibc) 647 kB 
[ebuild  NS   ] sys-devel/automake-1.6.3  (-uclibc) 465 kB 
[ebuild  NS   ] sys-devel/automake-1.7.9  (-uclibc) 564 kB 
[ebuild  NS   ] sys-devel/automake-1.4_p6  (-uclibc) 366 kB 
[ebuild  N    ] sys-devel/automake-wrapper-1  0 kB 
[ebuild  NS   ] sys-devel/automake-1.9.3  (-uclibc) 720 kB 
One is an upgrade, which is fine of course, but the rest? Why is this? one version has served me well so far.
No you haven't... the one package always used to install all the versions you see here. They just seem to have been split up, which makes more sense really. The reason you have to have several automakes is that they don't seem to be backwards compatible, and a lot of programmes use older versions.
No-one's more important than the earthworm.
Top
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

  • Quote

Post by NiBe » Sun Dec 12, 2004 9:25 pm

Here now... is it completely impossible to install evolution without it concidering spamassassins as a dependency?
Bus error - Driver executed
Top
hielvc
Advocate
Advocate
Posts: 2805
Joined: Fri Apr 19, 2002 5:55 pm
Location: Oceanside, Ca

  • Quote

Post by hielvc » Sun Dec 12, 2004 11:32 pm

You could edit the ebuild but you would have to do that after every sync. You could try

Code: Select all

mkdir /etc/portage
echo " =mail-filter/spamassassin" > /etc/portage/package.mask
An A-Z Index of the Linux BASH command line
Top
TrueDFX
Retired Dev
Retired Dev
Posts: 1348
Joined: Wed Jun 02, 2004 5:33 pm

  • Quote

Post by TrueDFX » Sun Dec 12, 2004 11:58 pm

hielvc wrote:You could edit the ebuild but you would have to do that after every sync.
unless you copy it to an overlay directory.
You could try

Code: Select all

mkdir /etc/portage
echo " =mail-filter/spamassassin" > /etc/portage/package.mask
Firstly, when you use an operator, you must include a version number. If you want to mask any version, lose the '='. Secondly, this will make portage abort when it checks dependencies for evolution.
Top
Windfall
n00b
n00b
Posts: 15
Joined: Fri Apr 30, 2004 11:33 pm
Location: Krakow, PL

  • Quote

Post by Windfall » Mon Dec 13, 2004 12:17 am

Maybe put mail-filter/spamassassin in /etc/portage/package.provided. Or do the Old, Deprecated Thing(tm) and inject it. No idea if there's a solution which feels right, though; and this doesn't, I'm afraid. :|
Michal Marczyk
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Mon Dec 13, 2004 1:30 am

I would say that is is ridiculous to have spamassassin (SA) as
a dependency, if evolution works fine without it, and the user does
not require it, then it should not be be there.
furtheremore, if i am not mistaken, SA, is not cosher as far as
GPL is concernered, so i wouldn't want to polute my system with
such things, even if it's the best since sliced bread...
hth
happy gentooing
Top
gentoo_lan
l33t
l33t
User avatar
Posts: 891
Joined: Wed Sep 08, 2004 12:45 am
Location: Charles Town, WV

  • Quote

Post by gentoo_lan » Mon Dec 13, 2004 2:29 am

irf2003 wrote:I would say that is is ridiculous to have spamassassin (SA) as
a dependency, if evolution works fine without it, and the user does
not require it, then it should not be be there.
furtheremore, if i am not mistaken, SA, is not cosher as far as
GPL is concernered, so i wouldn't want to polute my system with
such things, even if it's the best since sliced bread...
hth
happy gentooing
If you don't want sa installed use another email client or edit the ebuild and stop complaining about it.
Last edited by gentoo_lan on Mon Dec 13, 2004 10:58 pm, edited 1 time in total.
Top
GenKreton
l33t
l33t
User avatar
Posts: 828
Joined: Sat Sep 20, 2003 2:06 am
Location: Cambridge, MA

  • Quote

Post by GenKreton » Mon Dec 13, 2004 3:59 am

gentoo_lan wrote:
irf2003 wrote:I would say that is is ridiculous to have spamassassin (SA) as
a dependency, if evolution works fine without it, and the user does
not require it, then it should not be be there.
furtheremore, if i am not mistaken, SA, is not cosher as far as
GPL is concernered, so i wouldn't want to polute my system with
such things, even if it's the best since sliced bread...
hth
happy gentooing
If you don't want sa installed use another web browser or edit the ebuild and stop complaining about it.
This is what use flags are for...
Top
NiBe
n00b
n00b
Posts: 38
Joined: Thu Jan 08, 2004 8:39 pm

  • Quote

Post by NiBe » Mon Dec 13, 2004 12:46 pm

gentoo_lan wrote:If you don't want sa installed use another web browser or edit the ebuild and stop complaining about it.
As I said earlier, that's a rather ugly solution.
GenKreton wrote:This is what use flags are for...
It ought to be a job for USE-flags. In this case however, spamassassin is a dependency, and there is nothing USE can do about it.

package.provided didn't help, and as I mentioned earlier: masking spamassassin causes portage to whine.

Ian: This is a matter of e-mail clients, not web browsers, and I happen to like evolution.
Bus error - Driver executed
Top
Clansman
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Sat Jan 10, 2004 11:51 pm
Contact:
Contact Clansman
Website

Re: Portage, what are you thinking?

  • Quote

Post by Clansman » Sat Dec 25, 2004 11:00 pm

NiBe wrote:
adaptr wrote:And why wouldn't you have two versions installed side-by-side ?
Simply because i fail to see a use for two versions of gcc. I've yet to find an app that depends on a specific version of gcc to compile.
I use a custom compiled gcc to cross-compile binaries linked to uClibc for 386 architecture. That's another very good reason for having more than one gcc (and binutils and libc) installed at the same time. It's a good thing(tm) :-)

[]
http://www.pjvenda.org
Top
Post Reply

17 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic