public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] problem with cascade profiles
@ 2004-09-05 16:42 Norberto Bensa
  2004-09-05 17:36 ` Andrew Gaffney
  0 siblings, 1 reply; 13+ messages in thread
From: Norberto Bensa @ 2004-09-05 16:42 UTC (permalink / raw
  To: gentoo-dev

nbensa@venkman ~ $ ls -l /etc/make.profile
lrwxrwxrwx  1 root root 56 Sep  5 13:38 /etc/make.profile 
-> /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6
nbensa@venkman ~ $ emerge -puv world
!!! object doesn't support item deletion
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] problem with cascade profiles
  2004-09-05 16:42 [gentoo-dev] problem with cascade profiles Norberto Bensa
@ 2004-09-05 17:36 ` Andrew Gaffney
  2004-09-05 17:47   ` Norberto Bensa
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Gaffney @ 2004-09-05 17:36 UTC (permalink / raw
  To: Norberto Bensa; +Cc: gentoo-dev

Norberto Bensa wrote:
> nbensa@venkman ~ $ ls -l /etc/make.profile
> lrwxrwxrwx  1 root root 56 Sep  5 13:38 /etc/make.profile 
> -> /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6
> nbensa@venkman ~ $ emerge -puv world
> !!! object doesn't support item deletion
> !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
> !!! not then please report this to bugs.gentoo.org and, if possible, a dev
> !!! on #gentoo (irc.freenode.org)

What version of portage?

-- 
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] problem with cascade profiles
  2004-09-05 17:36 ` Andrew Gaffney
@ 2004-09-05 17:47   ` Norberto Bensa
  2004-09-05 17:54     ` [gentoo-dev] " Sebastian Bergmann
  0 siblings, 1 reply; 13+ messages in thread
From: Norberto Bensa @ 2004-09-05 17:47 UTC (permalink / raw
  To: gentoo-dev

Andrew Gaffney wrote:
> Norberto Bensa wrote:
> > nbensa@venkman ~ $ emerge -puv world
> > !!! object doesn't support item deletion
> > !!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
> > !!! not then please report this to bugs.gentoo.org and, if possible, a
> > dev !!! on #gentoo (irc.freenode.org)
>
> What version of portage?

sys-apps/portage-2.0.50-r10

The problem is with those make.default and use.default file on that profile, 
if you remove them, everything backs to normal. Seems like a bug to me :(

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 17:47   ` Norberto Bensa
@ 2004-09-05 17:54     ` Sebastian Bergmann
  2004-09-05 18:15       ` Norberto Bensa
  2004-09-05 19:10       ` Norberto Bensa
  0 siblings, 2 replies; 13+ messages in thread
From: Sebastian Bergmann @ 2004-09-05 17:54 UTC (permalink / raw
  To: gentoo-dev

Norberto Bensa wrote:
> Seems like a bug to me :(

  http://bugs.gentoo.org/show_bug.cgi?id=62889

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 17:54     ` [gentoo-dev] " Sebastian Bergmann
@ 2004-09-05 18:15       ` Norberto Bensa
  2004-09-05 19:10       ` Norberto Bensa
  1 sibling, 0 replies; 13+ messages in thread
From: Norberto Bensa @ 2004-09-05 18:15 UTC (permalink / raw
  To: gentoo-dev

Sebastian Bergmann wrote:
> Norberto Bensa wrote:
> > Seems like a bug to me :(
>
>   http://bugs.gentoo.org/show_bug.cgi?id=62889

Thanks.

Regards,
Norberto

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 17:54     ` [gentoo-dev] " Sebastian Bergmann
  2004-09-05 18:15       ` Norberto Bensa
@ 2004-09-05 19:10       ` Norberto Bensa
  2004-09-05 23:23         ` Jason Stubbs
  1 sibling, 1 reply; 13+ messages in thread
From: Norberto Bensa @ 2004-09-05 19:10 UTC (permalink / raw
  To: gentoo-dev

Sebastian Bergmann wrote:
> Norberto Bensa wrote:
> > Seems like a bug to me :(
>
>   http://bugs.gentoo.org/show_bug.cgi?id=62889

And the fix sucks:

[After installing portage-2.0.51-pre20...]

nbensa@venkman ~ $ sudo emerge ttmkfdir
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to /
!!! No write access to /usr/portage/distfiles/
!!! File ttmkfdir-3.0.9.tar.bz2 isn't fully fetched, but unable to complete it
nbensa@venkman ~ $ sudo emerge -pv ttmkfdir

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

Calculating dependencies ...done!
[ebuild     U ] x11-misc/ttmkfdir-3.0.9-r2 [3.0.9-r1] -debug 0 kB

Total size of downloads: 0 kB

nbensa@venkman ~ $ ls -l /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
-rw-rw----  1 root portage 20160 Mar 16  
2003 /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
nbensa@venkman ~ $ md5sum /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
7fbf13e432aa519669899b13d00673f3  /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
nbensa@venkman ~ $ 
cat /usr/portage/x11-misc/ttmkfdir/files/digest-ttmkfdir-3.0.9-r2
MD5 7fbf13e432aa519669899b13d00673f3 ttmkfdir-3.0.9.tar.bz2 20160


[Why did I installed a pre version of portage ... ~:( ]

Regards,
Norberto

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 19:10       ` Norberto Bensa
@ 2004-09-05 23:23         ` Jason Stubbs
  2004-09-06  1:58           ` Norberto Bensa
  2004-09-06  4:56           ` [gentoo-dev] Re: problem with cascade profiles Sebastian Bergmann
  0 siblings, 2 replies; 13+ messages in thread
From: Jason Stubbs @ 2004-09-05 23:23 UTC (permalink / raw
  To: gentoo-dev

On Monday 06 September 2004 04:10, Norberto Bensa wrote:
> Sebastian Bergmann wrote:
> > Norberto Bensa wrote:
> > > Seems like a bug to me :(
> >
> >   http://bugs.gentoo.org/show_bug.cgi?id=62889
>
> And the fix sucks:
>
> [After installing portage-2.0.51-pre20...]
>
> nbensa@venkman ~ $ sudo emerge ttmkfdir
> Calculating dependencies ...done!
>
> >>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to /
>
> !!! No write access to /usr/portage/distfiles/
> !!! File ttmkfdir-3.0.9.tar.bz2 isn't fully fetched, but unable to complete
> it nbensa@venkman ~ $ sudo emerge -pv ttmkfdir
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild     U ] x11-misc/ttmkfdir-3.0.9-r2 [3.0.9-r1] -debug 0 kB
>
> Total size of downloads: 0 kB
>
> nbensa@venkman ~ $ ls -l /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
> -rw-rw----  1 root portage 20160 Mar 16
> 2003 /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
> nbensa@venkman ~ $ md5sum /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2
> 7fbf13e432aa519669899b13d00673f3 
> /usr/portage/distfiles/ttmkfdir-3.0.9.tar.bz2 nbensa@venkman ~ $
> cat /usr/portage/x11-misc/ttmkfdir/files/digest-ttmkfdir-3.0.9-r2
> MD5 7fbf13e432aa519669899b13d00673f3 ttmkfdir-3.0.9.tar.bz2 20160

portage-2.0.50_pre20 no longer does fetching as root. Make sure that 
the /usr/portage directory also has write access by the portage group and it 
should work. 

> [Why did I installed a pre version of portage ... ~:( ]

There may be a couple of hiccups(sp?) but it should be smooth running after 
working them out.

Regards,
Jason Stubbs

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 23:23         ` Jason Stubbs
@ 2004-09-06  1:58           ` Norberto Bensa
  2004-09-06  7:18             ` Daniel Goller
                               ` (2 more replies)
  2004-09-06  4:56           ` [gentoo-dev] Re: problem with cascade profiles Sebastian Bergmann
  1 sibling, 3 replies; 13+ messages in thread
From: Norberto Bensa @ 2004-09-06  1:58 UTC (permalink / raw
  To: gentoo-dev

Jason Stubbs wrote:
> portage-2.0.50_pre20 no longer does fetching as root. Make sure that
> the /usr/portage directory also has write access by the portage group and
> it should work.

Ermm.... This is a RO-NFS shared distfiles and the file was already fetched. 

> > [Why did I installed a pre version of portage ... ~:( ]
>
> There may be a couple of hiccups(sp?) but it should be smooth running after
> working them out.

Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)

Regards,
Norberto

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-dev] Re: problem with cascade profiles
  2004-09-05 23:23         ` Jason Stubbs
  2004-09-06  1:58           ` Norberto Bensa
@ 2004-09-06  4:56           ` Sebastian Bergmann
  1 sibling, 0 replies; 13+ messages in thread
From: Sebastian Bergmann @ 2004-09-06  4:56 UTC (permalink / raw
  To: gentoo-dev

Jason Stubbs wrote:
> There may be a couple of hiccups(sp?) but it should be smooth running 
> after working them out.

  Is ccache not being used (though defined in FEATURES) one of these
  hiccups?

  I am currently merging xorg-x11-6.7.99.904 and ccache is not used.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-06  1:58           ` Norberto Bensa
@ 2004-09-06  7:18             ` Daniel Goller
  2004-09-06  8:29             ` Daniel Goller
  2004-09-06  9:02             ` [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Brian Harring
  2 siblings, 0 replies; 13+ messages in thread
From: Daniel Goller @ 2004-09-06  7:18 UTC (permalink / raw
  To: Norberto Bensa; +Cc: gentoo-dev

link to /usr/portage/profiles/gcc34-x86-2004.2/
this flat profile should let you do anything 
/usr/portage/profiles/default-linux/x86/2004/2/gcc34 does (no not */2.6)
at least until i get an official answer if 2.0.50-r10 is even meant to 
work with the cascaded profiles


Norberto Bensa wrote:

>Jason Stubbs wrote:
>  
>
>>portage-2.0.50_pre20 no longer does fetching as root. Make sure that
>>the /usr/portage directory also has write access by the portage group and
>>it should work.
>>    
>>
>
>Ermm.... This is a RO-NFS shared distfiles and the file was already fetched. 
>
>  
>
>>>[Why did I installed a pre version of portage ... ~:( ]
>>>      
>>>
>>There may be a couple of hiccups(sp?) but it should be smooth running after
>>working them out.
>>    
>>
>
>Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)
>
>Regards,
>Norberto
>
>--
>gentoo-dev@gentoo.org mailing list
>
>
>  
>

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] Re: problem with cascade profiles
  2004-09-06  1:58           ` Norberto Bensa
  2004-09-06  7:18             ` Daniel Goller
@ 2004-09-06  8:29             ` Daniel Goller
  2004-09-06  9:02             ` [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Brian Harring
  2 siblings, 0 replies; 13+ messages in thread
From: Daniel Goller @ 2004-09-06  8:29 UTC (permalink / raw
  To: Norberto Bensa; +Cc: gentoo-dev

ok, seems there is a bug in 2.0.50 parsing cascaded profiles, the 
make.defaults files are adjusted to this, thanks to jstubbs
please sync 35 mins after reading this mail and test with your portage 
2.0.50-r10
thank you

Daniel


Norberto Bensa wrote:

>Jason Stubbs wrote:
>  
>
>>portage-2.0.50_pre20 no longer does fetching as root. Make sure that
>>the /usr/portage directory also has write access by the portage group and
>>it should work.
>>    
>>
>
>Ermm.... This is a RO-NFS shared distfiles and the file was already fetched. 
>
>  
>
>>>[Why did I installed a pre version of portage ... ~:( ]
>>>      
>>>
>>There may be a couple of hiccups(sp?) but it should be smooth running after
>>working them out.
>>    
>>
>
>Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)
>
>Regards,
>Norberto
>
>--
>gentoo-dev@gentoo.org mailing list
>
>
>  
>

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20
  2004-09-06  1:58           ` Norberto Bensa
  2004-09-06  7:18             ` Daniel Goller
  2004-09-06  8:29             ` Daniel Goller
@ 2004-09-06  9:02             ` Brian Harring
  2004-09-06 14:44               ` Norberto Bensa
  2 siblings, 1 reply; 13+ messages in thread
From: Brian Harring @ 2004-09-06  9:02 UTC (permalink / raw
  To: gentoo-dev; +Cc: Norberto Bensa

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

On Sun, 2004-09-05 at 20:58, Norberto Bensa wrote:
> Jason Stubbs wrote:
> > portage-2.0.50_pre20 no longer does fetching as root. Make sure that
> > the /usr/portage directory also has write access by the portage group and
> > it should work.
> 
> Ermm.... This is a RO-NFS shared distfiles and the file was already fetched. 
Get out the paddles, that one is my fault.  I've filed a bug for it-
http://bugs.gentoo.org/show_bug.cgi?id=62985
and corrected it in cvs.  Basically it was a typo in the fetch function,
that by luck slipped by- instead of 

if fetched != 2:

Which tests a var that reflects the files status (fully fetched,
partially, or non-existant), it was

if fetch != 2:

Kind of entertaining... it was comparing the fetch function against an
int :)

> Thanks. I've reverted to 2.0.50-r10 until those hiccups are fixed ;)
I attached a patch to #62985 that should fix things up for you.  If it
doesn't, please post to the bug.  Note this only affects readonly
distdir's, so general userbase shouldn't hit it.
~brian

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20
  2004-09-06  9:02             ` [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Brian Harring
@ 2004-09-06 14:44               ` Norberto Bensa
  0 siblings, 0 replies; 13+ messages in thread
From: Norberto Bensa @ 2004-09-06 14:44 UTC (permalink / raw
  To: ferringb; +Cc: gentoo-dev

Brian Harring wrote:
> I attached a patch to #62985 that should fix things up for you.  If it
> doesn't, please post to the bug.  

It fixed it.

nbensa@venkman ~ $ emerge --version
Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-mm1 i686 Pentium III (Coppermine))
nbensa@venkman ~ $ sudo emerge ttmkfdir
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to /
!!! No write access to /usr/portage/distfiles/
>>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r2/work
 * Applying ttmkfdir-3.0.9-cpp.patch...                                             [ ok ]
 * Applying ttmkfdir-3.0.9-zlib.patch...                                            [ ok ]
 * Applying ttmkfdir-3.0.9-gcc34.patch...                                           [ ok ]
 * Applying ttmkfdir-3.0.9-encoding.patch...                                        [ ok ]
>>> Source unpacked.
.
.
.

Then ttmkfdir fails, but that's another history :-(


> Note this only affects readonly 
> distdir's, so general userbase shouldn't hit it.

I'm a very special kind of user ;)


> ~brian

Thanks Brian!

Best Regards,
Norberto

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-09-06 14:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-05 16:42 [gentoo-dev] problem with cascade profiles Norberto Bensa
2004-09-05 17:36 ` Andrew Gaffney
2004-09-05 17:47   ` Norberto Bensa
2004-09-05 17:54     ` [gentoo-dev] " Sebastian Bergmann
2004-09-05 18:15       ` Norberto Bensa
2004-09-05 19:10       ` Norberto Bensa
2004-09-05 23:23         ` Jason Stubbs
2004-09-06  1:58           ` Norberto Bensa
2004-09-06  7:18             ` Daniel Goller
2004-09-06  8:29             ` Daniel Goller
2004-09-06  9:02             ` [gentoo-dev] read only distdir and fully fetched files w/ portage 2.0.51_pre20 Brian Harring
2004-09-06 14:44               ` Norberto Bensa
2004-09-06  4:56           ` [gentoo-dev] Re: problem with cascade profiles Sebastian Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox