Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some interesting package blocking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Wed Feb 16, 2005 9:16 pm    Post subject: Some interesting package blocking Reply with quote

Hi all,

I did emerge sync this morning (17/02 New Zealand time) and followed it by the usual
emerge -puDv world and I got this:
Code:
bash-2.05b# emerge -puDv world

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

Calculating world dependencies ...done!
[blocks B     ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild  N    ] sys-kernel/linux26-headers-2.6.8.1  -build 34,793 kB
[ebuild     U ] sys-libs/glibc-2.3.4.20041102 [2.3.3.20040420-r2] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales 17,112 kB
[ebuild     U ] x11-libs/openmotif-2.2.3-r1 [2.2.3] -debug 0 kB
[ebuild     U ] kde-base/kdeedu-3.3.2-r1 [3.3.2] +arts -debug -kdeenablefinal -xinerama 13 kB
[ebuild     UD] media-libs/libmad-0.15.0b-r1 [0.15.1b] -debug 0 kB

Total size of downloads: 51,919 kB


You will notice that the ebuild linux-headers is blocked by the new and as yet not installed
ebuild linux-headers-2.6.8.1 . I find that a very interesting glitch. I will wait a bit for
this to be solved before updating.
I also noticed that libmad was on upgrade-downgrade cycle as well lately. Which means
that there is a new version that is stable but that some ebuild still wants the old one.
Would be nice to have it fixed too.

Francois
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Thu Feb 17, 2005 12:54 am    Post subject: Re: Some interesting package blocking Reply with quote

fb wrote:
I also noticed that libmad was on upgrade-downgrade cycle as well lately. Which means that there is a new version that is stable but that some ebuild still wants the old one. Would be nice to have it fixed too.

I have also noticed that the same cycle with media-libs/gst-plugins on my boxes (both PPC and PPC64). I am not sure what causes it, but the cycle has been there for awhile.

I have no idea what causes the linux-headers thing, I have synced early this morning (approximately 10 am EST) and all is well (but then I did not get the glibc update at that time).
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Feb 17, 2005 1:27 am    Post subject: Reply with quote

Hi Bruda,

I am probably about 20h ahead of you. So to me you must have synced
in the middle of the night.
I know that on my x86 when I was using the proprietary ATI drivers there
was a problem with xorg when 6.8 became available. emerge wanted to
upgrade xorg to 6.8.0 and then the ATI drivers wouldn't work properly
with it and asked for xorg 6.7 and so you were in a loop....
I don't know which application is getting at libmad but if there is a problem
in my opinion emerge shouldn't present me with the option of upgrading
this is clearly a dependency bug in portage. I don't use gst so I didn't notice
it. Did you file a bug for it?

Francois
Back to top
View user's profile Send private message
-anusaya-
n00b
n00b


Joined: 14 Dec 2004
Posts: 28
Location: New Zealand

PostPosted: Thu Feb 17, 2005 2:19 am    Post subject: Reply with quote

Your output looks ok to me. glibc with USE="nptl" requires sys-kernel/linux26-headers which is being blocked by sys-kernel/linux-headers. The emerge output is telling you to uninstall the 2.4 kernel headers then emerge the 2.6 kernel headers.

From man emerge:
Code:
       [blocks B ] app-text/dos2unix (from pkg app-text/hd2u-0.8.0)
              Dos2unix  is  Blocking  hd2u  from  being emerged.  Blockers are
              defined when two packages will clobber  each  others  files,  or
              otherwise  cause some form of breakage in your system.  However,
              blockers usually  do  not  need  to  be  simultaneously  emerged
              because they usually provide the same functionality.

Hence linux-headers is blocking linux26-headers, not the other way round.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Thu Feb 17, 2005 3:59 am    Post subject: Reply with quote

fb wrote:
I don't know which application is getting at libmad but if there is a problem in my opinion emerge shouldn't present me with the option of upgrading this is clearly a dependency bug in portage. I don't use gst so I didn't notice it. Did you file a bug for it?

No, because I have no idea what to write in the report as I don't think I have enough information to localize the actual bug. I wish the portage output on the matter would be more explicit. As soon as I have some time I will go and dig the dependencies of the thing for an informed bug report (but don't hold your breath, I have little time nowadays).
-anusaya- wrote:
Your output looks ok to me. glibc with USE="nptl" requires sys-kernel/linux26-headers which is being blocked by sys-kernel/linux-headers.

Of course, where was my head (my only excuse is that I did not expect nowadays people still on the old linux headers ;-) ), the blocking thing is an upgrade from linux-headers to linux26-headers (which is not done automatically, you have to unmerge the old kernel headers and emerge the new ones). It is probably just me, but I am not wild about how emerge presents the blocking thing.

Cheers,
Stefan
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Feb 17, 2005 4:06 am    Post subject: Reply with quote

Thank you!

You are quite right. I thougth from memory of previous experiences
that is was the other way around. I think I will remember now.
I didn't realise I still had 2.4 kernel headers 8O .
I have been on a 2.6 kernel and had the nptl use flag for several
months now. I am a bit surprised that I haven't encountered the
problem earlier :? Unless of course use of nptl only start on ppc
with this new version of glibc?

Anyway I just did "emerge -C sys-kernel/linux-headers" and
did emerge -puDv world again...
Code:
bash-2.05b# emerge -puDv world

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

Calculating world dependencies ...done!
[blocks B     ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild  N    ] sys-kernel/linux-headers-2.4.22  -build 0 kB
[ebuild  N    ] sys-kernel/linux26-headers-2.6.8.1  -build 34,793 kB
[ebuild     U ] sys-libs/glibc-2.3.4.20041102 [2.3.3.20040420-r2] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales 17,112 kB
[ebuild     U ] x11-libs/openmotif-2.2.3-r1 [2.2.3] -debug 0 kB
[ebuild     U ] kde-base/kdeedu-3.3.2-r1 [3.3.2] +arts -debug -kdeenablefinal -xinerama 13 kB
[ebuild     UD] media-libs/libmad-0.15.0b-r1 [0.15.1b] -debug 0 kB

Total size of downloads: 51,919 kB

Can anyone tell me why my system want both? Could I still have a kernel 2.4
ebuild hanging around somewhere? qpkg -I only list some 2.6 kernel but I still
have sources on my hard-drive, which is not abnormal since emerge -C
doesn't remove the files resulting from compilation and other stuff like that.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Thu Feb 17, 2005 4:17 am    Post subject: Reply with quote

OK, I found (quicker than expected) what happens with libmad: madplay comes paired with libmad (in the sense that it requires the same library version). No problems here, except that libmad-0.15.1b is keyworded ppc whilst the corresponding madplay-0.15.1b is still ~ppc.

I believe that the problem is thus in the keywords of the respective packages, not with the portage system.

The same mismatch appears to happen with media-plugins/gst-plugins-flac whosse stable version is different from the stable version of gst-plugins. Hmm, I will make sure that this indeed the problem and I will file a bug report soon.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Thu Feb 17, 2005 4:24 am    Post subject: Reply with quote

fb wrote:
Can anyone tell me why my system want both? Could I still have a kernel 2.4 ebuild hanging around somewhere?

Did you try doing a
Code:
dep -r linux-headers

This should reveal any dependencies. The dep script is gotten from here, very useful in finding things like this (though apparently no longer maintained).
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
-anusaya-
n00b
n00b


Joined: 14 Dec 2004
Posts: 28
Location: New Zealand

PostPosted: Thu Feb 17, 2005 5:01 am    Post subject: Reply with quote

fb wrote:
Anyway I just did "emerge -C sys-kernel/linux-headers" and
did emerge -puDv world again...
Code:
bash-2.05b# emerge -puDv world

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

Calculating world dependencies ...done!
[blocks B     ] sys-kernel/linux-headers (from pkg sys-kernel/linux26-headers-2.6.8.1)
[ebuild  N    ] sys-kernel/linux-headers-2.4.22  -build 0 kB
[ebuild  N    ] sys-kernel/linux26-headers-2.6.8.1  -build 34,793 kB
[ebuild     U ] sys-libs/glibc-2.3.4.20041102 [2.3.3.20040420-r2] -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales 17,112 kB
[ebuild     U ] x11-libs/openmotif-2.2.3-r1 [2.2.3] -debug 0 kB
[ebuild     U ] kde-base/kdeedu-3.3.2-r1 [3.3.2] +arts -debug -kdeenablefinal -xinerama 13 kB
[ebuild     UD] media-libs/libmad-0.15.0b-r1 [0.15.1b] -debug 0 kB

Total size of downloads: 51,919 kB

Can anyone tell me why my system want both? Could I still have a kernel 2.4
ebuild hanging around somewhere? qpkg -I only list some 2.6 kernel but I still
have sources on my hard-drive, which is not abnormal since emerge -C
doesn't remove the files resulting from compilation and other stuff like that.

I think portage is being having a bad day trying to work out dependencies. glibc needs virtual/os-headers installed. Since you have no kernel headers installed, portage looks at the virtuals file and finds:
Code:
virtual/os-headers  sys-kernel/linux-headers

Portage then sees the "nptl? ( >=sys-kernel/linux26-headers-2.6.5 )" glibc dependency and wants to install the linux26-headers causing the blocking.

You'll need to explicitly install the linux26 headers before you update world:
Code:
# emerge --oneshot linux26-headers

This will ensure that both virtual/os-headers and nptl? ( >=sys-kernel/linux26-headers-2.6.5 ) are satisfied when you upgrade glibc. More details on upgrading to a NPTL system can be found on the Gentoo Wiki.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Thu Feb 17, 2005 5:33 am    Post subject: Reply with quote

Thanks for the tip -anusaya-, well I did just "emerge linux26-headers" (that was before reading your
post) and indeed after that everything became normal. And I left my computer doing its merge while
heading home. The only thing is that during the merge I got quite a number of message about how
this should be made a part of a linux.eclass or something (I can get the exact message for you tomorrow
if you want).
Now like I said before I had "nptl" in my use flags since I made the switch to kernel 2.6 so I suppose
that apart from glibc (which should be finished by now) I shouldn't have to recompile anything?
From what I read in the wiki you mentioned a reboot is needed is it correct?

For Bruda, the dep script looks interesting I will give it a spin at the first opportunity.
For the circular dependency problem you are probably right, and it could be fixed by
keying the right ebuild with ppc. There is a bug about the circular upgrade problem and
according to the developper it is quite complex and it has been around for a while:
https://bugs.gentoo.org/show_bug.cgi?id=13632 but it is worked on.
Hopefully the next version of portage will include the fix.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum