Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511704 - bootstrap-prefix.sh: stage1 python installation fails on solaris x86
Summary: bootstrap-prefix.sh: stage1 python installation fails on solaris x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Solaris
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-28 16:56 UTC by oliver.schweitzer
Modified: 2020-12-14 20:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oliver.schweitzer 2014-05-28 16:56:49 UTC
Stage1 ends like this, stage2 fails afterwards (after unpacking):

<snip>
gmake: Target `install' not remade because of errors.
??? Python failed to install *sigh* continuing anyway
* python-2.7.3 bootstrapped
* stage1 successfully finished
* Bootstrapping Gentoo prefixed portage installation using
* host:   i386-pc-solaris2.10
* prefix: /mysite/BuildTools/build_solaris_x64/gentoo
* ready to bootstrap stage2

</snip>

Only explicit error I see during python build is

<snip>

if test -d /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7/distutils/tests; then \
                /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/bin/install -c -m 644 ./Modules/xxmodule.c \
                        /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7/distutils/tests ; \
        fi
PYTHONPATH=/mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7   \
                ./python -Wi -tt /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7/compileall.py \
                -d /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7 -f \
                -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
                /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7
Traceback (most recent call last):
  File "/mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7/compileall.py", line 16, in <module>
    import struct
  File "/mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/lib/python2.7/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
gmake: *** [libinstall] Error 1
Creating directory /mysite/BuildTools/build_solaris_x64/gentoo/tmp/usr/include/python2.7

</snip>

Reproducible: Always

Steps to Reproduce:
1.Execute bootstrap-prefix.sh on Solaris 10 x86 

Actual Results:  
Bootstrap Stage1 (and following) fails

Expected Results:  
Successful bootsrap

Stage1 on Solaris 10 Sparc with (virtually) identical environment settings succeeds!
Comment 1 Fabian Groffen gentoo-dev 2014-06-12 20:15:49 UTC
Hmmm, I'll have to try this myself
Comment 2 Fabian Groffen gentoo-dev 2020-12-14 20:35:05 UTC
we use 3.8.6 today, and a bootstrap using it for x86-solaris succeeded yesterday