Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird baselayout update problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
aquila
n00b
n00b


Joined: 28 Nov 2002
Posts: 18

PostPosted: Sun Jun 22, 2003 12:56 am    Post subject: weird baselayout update problem Reply with quote

Having done a recent emerge sync and emerge -DUp world, I was interested to find that a bunch of important packages, especially baselayout and glibc, are to be updated. Being of the adventurous sort, I tried the upgrades, but when baselayout was being compiled, I received this error:

Code:
 * Please install sys-apps/gawk-3.1.1-r2 or later!

!!! ERROR: sys-apps/baselayout-1.8.6.8-r1 failed.
!!! Function src_compile, Line 128, Exitcode 0
!!! gawk too old


This is weird because I happen to have gawk 3.1.2 installed, as registered by this emerge -s gawk:

Code:
*  sys-apps/gawk
      Latest version available: 3.1.2-r3
      Latest version installed: 3.1.2-r3


Has anyone else had a similar problem?
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jun 22, 2003 1:02 am    Post subject: Reply with quote

Looking at the ebuild for baselayout I see:
Code:

# This ebuild needs to be merged "live".  You can't simply make a package
# of it and merge it later.


You can also see in the baselayout ebuild:
Code:

RDEPEND="${DEPEND}
    || ( >=sys-apps/gawk-3.1.1-r2
         ( !build? ( >=sys-apps/gawk-3.1.1-r2 ) )
         ( !bootstrap? ( >=sys-apps/gawk-3.1.1-r2 ) )
       )"
# This version of baselayout needs gawk in /bin, but as we do not have
# a c++ compiler during bootstrap, we cannot depend on it if "bootstrap"
# or "build" are in USE.


Being adventurous with ~x86 can cause problems. Running it all the time in /etc/make.conf is one thing, but blindly doing emerge -uD world is very risky.

Is your system still usable? I'd just skip updating baselayout, as that unstable version is not meant to be installed except during an initial installation, it looks like.


Last edited by Pythonhead on Sun Jun 22, 2003 1:11 am; edited 1 time in total
Back to top
View user's profile Send private message
aquila
n00b
n00b


Joined: 28 Nov 2002
Posts: 18

PostPosted: Sun Jun 22, 2003 1:10 am    Post subject: Reply with quote

Pythonhead wrote:

Being adventurous with ~x86 can cause problems.


I'm not using ~x86.
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jun 22, 2003 1:12 am    Post subject: Reply with quote

Well then that is very odd because the versions of gawk and baselayout you are trying to update are masked.
Quote:

etcat -v '^gawk$'
* sys-apps/gawk :
[ I] sys-apps/gawk-3.1.1-r2 (0)
[M~ ] sys-apps/gawk-3.1.2-r3 (0)

# etcat -v 'baselayout'
[ Results for search key : baselayout ]
[ Applications found : 1 ]

* sys-apps/baselayout :
[ I] sys-apps/baselayout-1.8.5.9 (0)
[M~ ] sys-apps/baselayout-1.8.6.7 (0)
[M~ ] sys-apps/baselayout-1.8.6.8-r1 (0)

Back to top
View user's profile Send private message
aquila
n00b
n00b


Joined: 28 Nov 2002
Posts: 18

PostPosted: Sun Jun 22, 2003 1:20 am    Post subject: Reply with quote

huh?

Code:
root@hummer sascha # cat /usr/portage/profiles/package.mask |grep baselayout
=sys-apps/baselayout-1.8.6.0
=sys-apps/baselayout-1.8.6.1
=sys-apps/baselayout-1.8.6.2
=sys-apps/baselayout-1.8.6.3
=sys-apps/baselayout-1.8.6.4
# it in baselayout, but we need >=gawk-3.1.0-r3
#we no longer use sysvinit (rolled into baselayout)


Code:
root@hummer sascha # cat /usr/portage/profiles/package.mask |grep gawk     
# gawk is very flexible and can be used instead
# it in baselayout, but we need >=gawk-3.1.0-r3
<sys-apps/gawk-3.1.0-r3


Code:
root@hummer sascha # etcat -v 'gawk'
[ Results for search key : gawk ]
[ Applications found : 2 ]

*  app-doc/ebook-gawk :
        [   ] app-doc/ebook-gawk-3.1.1 (0)

*  sys-apps/gawk :
        [   ] sys-apps/gawk-3.1.1-r2 (0)
        [  I] sys-apps/gawk-3.1.2-r3 (0)

root@hummer sascha # etcat -v 'baselayout'
[ Results for search key : baselayout ]
[ Applications found : 1 ]

*  sys-apps/baselayout :
        [  I] sys-apps/baselayout-1.8.5.9 (0)
        [   ] sys-apps/baselayout-1.8.6.7 (0)
        [   ] sys-apps/baselayout-1.8.6.8-r1 (0)
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jun 22, 2003 1:33 am    Post subject: Reply with quote

In this ebuild:

/usr/portage/sys-apps/baselayout/baselayout-1.8.6.8-r1.ebuild

It shows as being masked (line 25) for every architecture:
Code:

KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~arm ~hppa"
Back to top
View user's profile Send private message
aquila
n00b
n00b


Joined: 28 Nov 2002
Posts: 18

PostPosted: Sun Jun 22, 2003 1:36 am    Post subject: Reply with quote

that is not the case with my version of the ebuild.

Have you "emerge sync"ed recently, or has something rather odd happened on my end?
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jun 22, 2003 1:39 am    Post subject: Reply with quote

I just did an emerge sync to double-check. Anyways, your problem has been bugged already it looks like:

https://bugs.gentoo.org/show_bug.cgi?id=21663

But I'm still stumped on why your pacakges aren't showing as masked. It looks like there is a solution in the comments of the bug. I notice the person shows the bug being reported when he used ACCEPT_KEYWORDS='~x86'
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Jun 22, 2003 8:41 pm    Post subject: Reply with quote

After reading your posts, doing emerge sync lastnight and checking again, baselayout was still masked on my system. A bunch of people started getting the same problem, so I emerge sync'd again and now it is unmasked. I wonder if this was an oversight, like the glibc temporary unmask?
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sun Jun 22, 2003 9:11 pm    Post subject: Re: weird baselayout update problem Reply with quote

aquila wrote:
Has anyone else had a similar problem?

Yep. Just re-emerging gawk fixes it. Dunno why.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9501
Location: beyond the rim

PostPosted: Sun Jun 22, 2003 10:12 pm    Post subject: Reply with quote

A lot of packages got unmasked by an accident of drobbins, not everything is repaired by now. I recommend to not upgrade today or tomorrow for people on x86 (I don't think that's too hard).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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