Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 476822

Summary: emerge segfaults on stage3 boot strap
Product: Gentoo/Alt Reporter: sphericus
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED WONTFIX    
Severity: normal CC: ryao
Priority: Normal Keywords: Bug, REGRESSION
Version: unspecified   
Hardware: PPC   
OS: AIX   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: coredump back trace

Description sphericus 2013-07-14 13:47:46 UTC
Created attachment 353274 [details]
coredump back trace

emerge segfaults with the following error.
* host:   powerpc-ibm-aix7.1.0.0
* prefix: /home/sphericus/gentoo
* ready to bootstrap stage3
./bootstrap-prefix.sh: line 1072: 19005528 Segmentation fault      (core dumped) emerge --oneshot ${opts} "${pkg}"

Hmmmm, I was already afraid of this to happen.  Running
  /home/sphericus/gentoo/bin/bash ./bootstrap-prefix.sh "/home/sphericus/gentoo" stage3
somewhere failed :(  Details might be found in the build log:
  (no build logs found?!?)
Comment 1 Richard Yao (RETIRED) gentoo-dev 2013-07-14 13:50:31 UTC
sphericus asked for help in IRC with this issue. I suggested applying the following patch from 2.7.4, which touches the code involved in the segmentation fault:

http://hg.python.org/releasing/2.7.4/rev/09fc7f466bd4
Comment 2 Fabian Groffen gentoo-dev 2013-10-22 19:17:57 UTC
so this is python segfaulting?

I recall haubi recently rolled a new python tar, or am I mistaken?  Did that fix this problem?
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2013-10-23 05:47:38 UTC
(In reply to Fabian Groffen from comment #2)
> so this is python segfaulting?
> 
> I recall haubi recently rolled a new python tar, or am I mistaken?  Did that
> fix this problem?

Erm - no: bootstrap-prefix.sh uses vanilla Python-2.7.3 on AIX for now, as the patched one breaks at build time already (looks like linux-specifics got enabled unconditionally in libffi).

Actually, even baselayout-prefix (einfo) isn't ported to AIX yet - will need to do this first.
Comment 4 Fabian Groffen gentoo-dev 2020-12-20 15:45:08 UTC
AIX no longer is a supported platform, sorry.