Gentoo Archives: gentoo-alt

From: justin <jlec@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Building python fails on SLES10.1 (python-2.7.2)
Date: Sat, 24 Sep 2011 15:22:12
Message-Id: 4E7DF591.1070806@gentoo.org
In Reply to: [gentoo-alt] Building python fails on SLES10.1 (python-2.7.2) by Moritz Schlarb
1 On 9/24/11 4:58 PM, Moritz Schlarb wrote:
2 > Hi!
3 >
4 > On SLES 10.1 (glibc-2.4), building Python fails because the modules
5 > crypt and nis cannot be built.
6 > I worked around this by editing the ebuild to exclude these from
7 > building, hoping that they were not needed for any critical
8 > functionality, but maybe there's some other things that can be done!
9 >
10 >
11 > I get this at the end:
12 >
13 > Python build finished, but the necessary bits to build these modules
14 > were not found:
15 > _sqlite3 _tkinter bsddb185
16 > dl imageop sunaudiodev
17 > To find the necessary bits, look in setup.py in detect_modules() for the
18 > module's name.
19 >
20 >
21 > Failed to build these modules:
22 > crypt nis
23 >
24 > The warnings during build are:
25 >
26 > building 'nis' extension
27 > x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe
28 > -fomit-frame-pointer -fwrapv -I/homes/2/schlarbm/gentoo/usr/include -L/ho
29 > mes/2/schlarbm/gentoo/lib -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG
30 > -I/homes/2/schlarbm/gentoo/usr/include -I. -IInclude -I./Include -I/tmp/s
31 > chlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include
32 > -I/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2
33 > -c
34 > /tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.c
35 > -o
36 > build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o
37 > x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L.
38 > -fno-strict-aliasing -O2 -pipe -fomit-frame-pointer -fwrapv
39 > -I/homes/2/schlarbm/gentoo/usr/include -L/homes/2/schlarbm/gentoo/lib
40 > -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include
41 > build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o
42 > -L/homes/2/schlarbm/gentoo/usr/lib -L. -lpython2.7 -o
43 > build/lib.linux-x86_64-2.7/nis.so
44 > *** WARNING: renaming "nis" since importing it failed:
45 > build/lib.linux-x86_64-2.7/nis.so: undefined symbol: yp_get_default_domain
46 > building 'crypt' extension
47 > x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe
48 > -fomit-frame-pointer -fwrapv -I/homes/2/schlarbm/gentoo/usr/include -L/ho
49 > mes/2/schlarbm/gentoo/lib -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG
50 > -I/homes/2/schlarbm/gentoo/usr/include -I. -IInclude -I./Include -I/tmp/s
51 > chlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include
52 > -I/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2 -
53 > c
54 > /tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.c
55 > -o build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo
56 > /portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o
57 > x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L.
58 > -fno-strict-aliasing -O2 -pipe -fomit-frame-pointer -fwrapv
59 > -I/homes/2/schlarb
60 > m/gentoo/usr/include -L/homes/2/schlarbm/gentoo/lib
61 > -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include
62 > build/temp.linux-x86_
63 > 64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o
64 > -L/homes/2/schlarbm/gentoo/usr/lib -L. -lpytho
65 > n2.7 -o build/lib.linux-x86_64-2.7/crypt.so
66 > *** WARNING: renaming "crypt" since importing it failed:
67 > build/lib.linux-x86_64-2.7/crypt.so: undefined symbol: crypt
68 >
69 > Is there something that can be done?
70 >
71 >
72 >
73
74 There is an open bug:
75
76 https://bugs.gentoo.org/show_bug.cgi?id=381163

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] Building python fails on SLES10.1 (python-2.7.2) Martin Luessi <mluessi@×××××.com>