FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 12-13-2010, 04:56 PM
Perry Smith
 
Default prefix installer, AIX 5.3 gcc failed to build

On Dec 13, 2010, at 10:49 AM, Michael Haubenwallner wrote:
>> Moved up and did "make" again and that eventually failed with arg list too long.
>
> "arg list too long" rings the "ncargs defaults to 4" bell:
> $ lsattr -E -l sys0 -a ncargs

I have it set to 6 (which I'm sure is the default). What do you set it to? (this is new to me by the way... thanks!)

I started over this morning and I'm up to stage3 of gcc so I'm past the problems I had before. I'll add more details once I get through this.

Perry
 
Old 12-13-2010, 05:02 PM
Perry Smith
 
Default prefix installer, AIX 5.3 gcc failed to build

On Dec 13, 2010, at 10:49 AM, Michael Haubenwallner wrote:Moved up and did "make" again and that eventually failed with arg list too long.

"arg list too long" rings the "ncargs defaults to 4" bell:
$ lsattr -E -l sys0 -a ncargs

We do have it set to 40 here, but on some AIX6.1 I've seen this set to 256:
$ chdev -l sys0 -a ncargs=40

Sorry... answer was right before my eyes.
 
Old 12-13-2010, 07:47 PM
Perry Smith
 
Default prefix installer, AIX 5.3 gcc failed to build

I got through clean with prefix launcher install. To back up just a second, the previous failures while compiling charset.c were very odd. There was no core or error messages except "internal error". As I mentioned, when I tried it a 2nd time, it repeated. When I tried doing the compile by hand, outside the prefix-launcher environment, it worked. Very odd.

I effectively redid what I did before with a couple changes:

1) I did ulimit -S -d unlimited (but I have not yet change ncargs)
2) I had a LIBPATH set before but that should not have changed anything. I unset it in the last pass
3) Moved the place of the source and destination to a shorter pathname.

I used the same gcc 4.5.0 compiler as before. As I said, I've made it through the prefix-launcher install. My guess is that the ulimit avoided the charset.c issue. And the shorter pathnames avoided the arg limit issue which would also be avoided with setting ncargs.

Perhaps add a little comment about ulimit and ncargs in your wiki page.

I'm going to continue onward...
 
Old 12-13-2010, 08:46 PM
Michael Haubenwallner
 
Default prefix installer, AIX 5.3 gcc failed to build

Wait a moment,

On 12/13/10 21:47, Perry Smith wrote:
> I'm going to continue onward...

Right now, I've update portage in prefix-launcher to accept EAPI 3 now,
which is required to support unmodified ebuilds from main Gentoo Linux.

However, this portage version is yet untested with prefix-launcher.

With portage in prefix-launcher-2.1.0 you'll get this error during bootstrap
when using '--with-tree=latest', which is necessary for AIX at the moment:
!!! All ebuilds that could satisfy "app-arch/tar" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-arch/tar-1.25 (masked by: EAPI 3)
- app-arch/tar-1.23-r4 (masked by: missing keyword)
- app-arch/tar-1.23-r2 (masked by: missing keyword)

To use the updated portage, replace the prefix-launcher-2.1.0/portage/ subdirectory
with the one from an svn-export of prefix-launcher-trunk[1], and do:
$ cd prefix-launcher-2.1.0
$ rm -rf buildroot/portage/*
$ gmake config portage_BUILDFROM=SCRATCH
$ gmake portage
$ gmake -t install

[1] http://prefix-launcher.svn.sourceforge.net/viewvc/prefix-launcher/prefix-launcher/trunk/?view=tar

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 
Old 12-13-2010, 08:55 PM
Michael Haubenwallner
 
Default prefix installer, AIX 5.3 gcc failed to build

Wait another moment,

On 12/13/10 22:46, Michael Haubenwallner wrote:
> Wait a moment,
>
> On 12/13/10 21:47, Perry Smith wrote:
>> I'm going to continue onward...
>
> Right now, I've update portage in prefix-launcher to accept EAPI 3 now,
> which is required to support unmodified ebuilds from main Gentoo Linux.
>
> However, this portage version is yet untested with prefix-launcher.

Fabian just said the one I took is broken and I should update tomorrow,
so please be patient...

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 
Old 12-13-2010, 09:47 PM
Perry Smith
 
Default prefix installer, AIX 5.3 gcc failed to build

On Dec 13, 2010, at 3:55 PM, Michael Haubenwallner wrote:

> Wait another moment,
>
> On 12/13/10 22:46, Michael Haubenwallner wrote:
>> Wait a moment,
>>
>> On 12/13/10 21:47, Perry Smith wrote:
>>> I'm going to continue onward...
>>
>> Right now, I've update portage in prefix-launcher to accept EAPI 3 now,
>> which is required to support unmodified ebuilds from main Gentoo Linux.
>>
>> However, this portage version is yet untested with prefix-launcher.
>
> Fabian just said the one I took is broken and I should update tomorrow,
> so please be patient...

Ok. Drop me an email when its done.
 
Old 12-15-2010, 08:25 AM
Michael Haubenwallner
 
Default prefix installer, AIX 5.3 gcc failed to build

On 12/13/2010 11:47 PM, Perry Smith wrote:
>>> Right now, I've update portage in prefix-launcher to accept EAPI 3 now,
>>> which is required to support unmodified ebuilds from main Gentoo Linux.
>>>
>> Fabian just said the one I took is broken and I should update tomorrow,
>> so please be patient...
>
> Ok. Drop me an email when its done.

The portage found in prefix-launcher-trunk now seems to work so far,
although a complete bootstrap still isn't working for different reason:

After emerging python there is no usr/bin/python available.

Thus the portage being merged finds python from prefix-launcher, which
is outside EPREFIX and thus a QA-reason to abort merging initial portage.

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 
Old 12-15-2010, 08:30 AM
Fabian Groffen
 
Default prefix installer, AIX 5.3 gcc failed to build

On 15-12-2010 10:25:39 +0100, Michael Haubenwallner wrote:
> The portage found in prefix-launcher-trunk now seems to work so far,
> although a complete bootstrap still isn't working for different reason:
>
> After emerging python there is no usr/bin/python available.
>
> Thus the portage being merged finds python from prefix-launcher, which
> is outside EPREFIX and thus a QA-reason to abort merging initial portage.

Are you using the latest snapshot? There has been this discussion on
-dev about python not calling eselect python set whatever in the right
way/moment. I synced their latest changes, but I couldn't verify 2 days
ago whether or not it worked. eselect python show didn't list anything,
so I suspect it doesn't. I haven't reviewed the logic in the ebuild
(it's not 'trivial') yet, but given that you report it too, I fear this
code isn't quite right yet.


--
Fabian Groffen
Gentoo on a different level
 
Old 12-15-2010, 09:39 AM
Michael Haubenwallner
 
Default prefix installer, AIX 5.3 gcc failed to build

On 12/15/2010 10:30 AM, Fabian Groffen wrote:
> On 15-12-2010 10:25:39 +0100, Michael Haubenwallner wrote:
>> The portage found in prefix-launcher-trunk now seems to work so far,
>> although a complete bootstrap still isn't working for different reason:
>>
>> After emerging python there is no usr/bin/python available.
>>
>> Thus the portage being merged finds python from prefix-launcher, which
>> is outside EPREFIX and thus a QA-reason to abort merging initial portage.
>
> Are you using the latest snapshot?

Last night the snapshots (both linux & aix) used [1], downloaded by [2].
Both fail with the same QA error, using python from outside EPREFIX.

[1] http://files.prefix.freens.org/snapshots/portage-latest.tar.bz2
[2] http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt

> There has been this discussion on
> -dev about python not calling eselect python set whatever in the right
> way/moment.

Have seen that, but didn't really follow.
There also was a thread about "Sane defaults for USE_PYTHON", but
without any useful result it seems besides "waiting for EAPI 4+".

> I synced their latest changes, but I couldn't verify 2 days
> ago whether or not it worked. eselect python show didn't list anything,
> so I suspect it doesn't. I haven't reviewed the logic in the ebuild
> (it's not 'trivial') yet, but given that you report it too, I fear this
> code isn't quite right yet.

$ eselect python show
<nothing>

$ eselect python show --python2
python2.7

$ eselect python show --python3
<nothing>

/haubi/
--
Michael Haubenwallner
Gentoo on a different level
 
Old 12-20-2010, 04:02 PM
Perry Smith
 
Default prefix installer, AIX 5.3 gcc failed to build

FYI:

In the gmake portage sequence, I got:

( cd /usr/dumps/prefix-launcher-2.1.0/powerpc-ibm-aix5.3.0.0/etc && ln -s /usr/dumps/prefix-launcher-2.1.0/powerpc-ibm-aix5.3.0.0/share/portage/config/make.globals )
ln: creating symbolic link `./make.globals': File exists

So I moved the already existing make.globals to the side which appears to have resolved the issue.

On Dec 13, 2010, at 3:46 PM, Michael Haubenwallner wrote:

> Wait a moment,
>
> On 12/13/10 21:47, Perry Smith wrote:
>> I'm going to continue onward...
>
> Right now, I've update portage in prefix-launcher to accept EAPI 3 now,
> which is required to support unmodified ebuilds from main Gentoo Linux.
>
> However, this portage version is yet untested with prefix-launcher.
>
> With portage in prefix-launcher-2.1.0 you'll get this error during bootstrap
> when using '--with-tree=latest', which is necessary for AIX at the moment:
> !!! All ebuilds that could satisfy "app-arch/tar" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - app-arch/tar-1.25 (masked by: EAPI 3)
> - app-arch/tar-1.23-r4 (masked by: missing keyword)
> - app-arch/tar-1.23-r2 (masked by: missing keyword)
>
> To use the updated portage, replace the prefix-launcher-2.1.0/portage/ subdirectory
> with the one from an svn-export of prefix-launcher-trunk[1], and do:
> $ cd prefix-launcher-2.1.0
> $ rm -rf buildroot/portage/*
> $ gmake config portage_BUILDFROM=SCRATCH
> $ gmake portage
> $ gmake -t install
>
> [1] http://prefix-launcher.svn.sourceforge.net/viewvc/prefix-launcher/prefix-launcher/trunk/?view=tar
>
> /haubi/
> --
> Michael Haubenwallner
> Gentoo on a different level
>
 

Thread Tools




All times are GMT. The time now is 09:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org