* [gentoo-user] python segfault
@ 2006-11-14 20:09 Andrey
2006-11-14 20:12 ` Mike Ferry
2006-11-14 23:50 ` Bo Ørsted Andresen
0 siblings, 2 replies; 7+ messages in thread
From: Andrey @ 2006-11-14 20:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]
Hi, guys!
I'm emering python and recieving:
[ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build -doc
-gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
<snip>
running build
running build_ext
db.h: found (4, 2) in /usr/include
db.h: found (4, 1) in /usr/include/db4.1
db lib: using (4, 2) db-4.2
INFO: Can't locate Tcl/Tk libs and/or headers
running build_scripts
Creating directory /usr/lib/python2.4/config
/bin/install -c -m 644 Modules/config.c /var/tmp/portage/python-2.4.3-r4
/image//usr/lib/python2.4/config/config.c
/bin/install -c -m 644 Modules/python.o /var/tmp/portage/python- 2.4.3-r4
/image//usr/lib/python2.4/config/python.o
/bin/install -c -m 644 ./Modules/config.c.in /var/tmp/portage/python-
2.4.3-r4/image//usr/lib/python2.4/config/config.c.in
/bin/install -c -m 644 Makefile /var/tmp/portage/python- 2.4.3-r4
/image//usr/lib/python2.4/config/Makefile
/bin/install -c -m 644 Modules/Setup /var/tmp/portage/python-2.4.3-r4
/image//usr/lib/python2.4/config/Setup
/bin/install -c -m 644 Modules/Setup.local /var/tmp/portage/python- 2.4.3-r4
/image//usr/lib/python2.4/config/Setup.local
/bin/install -c -m 644 Modules/Setup.config /var/tmp/portage/python-2.4.3-r4
/image//usr/lib/python2.4/config/Setup.config
/bin/install -c ./Modules/makesetup /var/tmp/portage/python- 2.4.3-r4
/image//usr/lib/python2.4/config/makesetup
/bin/install -c ./install-sh /var/tmp/portage/python-2.4.3-r4
/image//usr/lib/python2.4/config/install-sh
LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.3-r4/work/Python- 2.4.3:
./python -E ./setup.py install \
--prefix=/usr \
--install-scripts=/usr/bin \
--install-platlib=/usr/lib/python2.4/lib-dynload \
--root=//var/tmp/portage/python- 2.4.3-r4/image/
running install
running build
running build_ext
db.h: found (4, 2) in /usr/include
db.h: found (4, 1) in /usr/include/db4.1
db lib: using (4, 2) db-4.2
INFO: Can't locate Tcl/Tk libs and/or headers
make: *** [sharedinstall] Segmentation fault
!!! ERROR: dev-lang/python-2.4.3-r4 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_install
ebuild.sh, line 1020: Called src_install
python-2.4.3-r4.ebuild , line 190: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Any ideas?
[-- Attachment #2: Type: text/html, Size: 2510 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-14 20:09 [gentoo-user] python segfault Andrey
@ 2006-11-14 20:12 ` Mike Ferry
2006-11-15 18:10 ` Andrey
2006-11-14 23:50 ` Bo Ørsted Andresen
1 sibling, 1 reply; 7+ messages in thread
From: Mike Ferry @ 2006-11-14 20:12 UTC (permalink / raw
To: gentoo-user
Andrey wrote:
> Hi, guys!
> I'm emering python and recieving:
> [ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build
> -doc
> -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
> <snip>
> running build
> running build_ext
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> running build_scripts
> Creating directory /usr/lib/python2.4/config
> /bin/install -c -m 644 Modules/config.c /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/config.c
> /bin/install -c -m 644 Modules/python.o /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/python.o
> /bin/install -c -m 644 ./Modules/config.c.in /var/tmp/portage/python-
> 2.4.3-r4/image//usr/lib/python2.4/config/config.c.in
> /bin/install -c -m 644 Makefile /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/Makefile
> /bin/install -c -m 644 Modules/Setup /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/Setup
> /bin/install -c -m 644 Modules/Setup.local /var/tmp/portage/python-
> 2.4.3-r4
> /image//usr/lib/python2.4/config/Setup.local
> /bin/install -c -m 644 Modules/Setup.config
> /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/Setup.config
> /bin/install -c ./Modules/makesetup /var/tmp/portage/python- 2.4.3-r4
> /image//usr/lib/python2.4/config/makesetup
> /bin/install -c ./install-sh /var/tmp/portage/python-2.4.3-r4
> /image//usr/lib/python2.4/config/install-sh
> LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.3-r4/work/Python- 2.4.3:
> ./python -E ./setup.py install \
> --prefix=/usr \
> --install-scripts=/usr/bin \
> --install-platlib=/usr/lib/python2.4/lib-dynload \
> --root=//var/tmp/portage/python- 2.4.3-r4/image/
> running install
> running build
> running build_ext
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> make: *** [sharedinstall] Segmentation fault
>
> !!! ERROR: dev-lang/python-2.4.3-r4 failed.
> Call stack:
> ebuild.sh, line 1546: Called dyn_install
> ebuild.sh, line 1020: Called src_install
> python-2.4.3-r4.ebuild , line 190: Called die
>
> !!! (no error message)
> !!! If you need support, post the topmost build error, and the call
> stack if
> relevant.
>
> Any ideas?
>
Try enabling the tk use flag:
euse -E tk
Then install dev-lang/tk and dev-lang/python:
emerge -Dva dev-lang/tk dev-lang/python
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-14 20:09 [gentoo-user] python segfault Andrey
2006-11-14 20:12 ` Mike Ferry
@ 2006-11-14 23:50 ` Bo Ørsted Andresen
1 sibling, 0 replies; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-14 23:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
On Tuesday 14 November 2006 21:09, Andrey wrote:
> Hi, guys!
> I'm emering python and recieving:
> [ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build
> -doc -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
> <snip>
[SNIP]
> db.h: found (4, 2) in /usr/include
> db.h: found (4, 1) in /usr/include/db4.1
> db lib: using (4, 2) db-4.2
> INFO: Can't locate Tcl/Tk libs and/or headers
> make: *** [sharedinstall] Segmentation fault
>
> !!! ERROR: dev-lang/python-2.4.3-r4 failed.
[SNIP]
> Any ideas?
So what are your CFLAGS? Please just provide the output of:
# emerge --info
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-14 20:12 ` Mike Ferry
@ 2006-11-15 18:10 ` Andrey
2006-11-15 18:43 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Andrey @ 2006-11-15 18:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
To Mike Ferry:
I have tried it. The same problem but without "INFO: Can't locate Tcl/Tk
libs and/or headers".
To Bo Ørsted Andresen:
;)
Yes I've unstable flags:
LDFLAGSHASHSTYLE=" -Wl,--hash-style=both"
CFLAGS="-Os -march=pentium3 -frename-registers -fweb -pipe
-fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident
-freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload
-fmerge-all-constants -combine"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
But all system emerged well. And works also fine.
Except python... It doesn't compile.
Now I'm using python emerged with stable flags...
[-- Attachment #2: Type: text/html, Size: 774 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-15 18:10 ` Andrey
@ 2006-11-15 18:43 ` Bo Ørsted Andresen
2006-11-15 19:51 ` Andrey
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-11-15 18:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
On Wednesday 15 November 2006 19:10, Andrey wrote:
[SNIP]
> To Bo Ørsted Andresen:
> ;)
> Yes I've unstable flags:
> LDFLAGSHASHSTYLE=" -Wl,--hash-style=both"
> CFLAGS="-Os -march=pentium3 -frename-registers -fweb -pipe
> -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident
> -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload
> -fmerge-all-constants -combine"
> CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
>
> But all system emerged well. And works also fine.
> Except python... It doesn't compile.
> Now I'm using python emerged with stable flags...
So.. been following Conrad's guide to bork your system [1], huh? I got the
hunch from bug #146292 [2]. In either case please don't *ever* file a bug
using this configuration. And note that changing your configuration isn't
just changing the contents of /etc/make.conf. You need to `emerge -e world`
after that! I for one will never understand why people want to break their
systems like this...!
[1] http://forums.gentoo.org/viewtopic-t-509252-highlight-hashstyle.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=146292
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-15 18:43 ` Bo Ørsted Andresen
@ 2006-11-15 19:51 ` Andrey
2006-11-19 22:23 ` Andrey
0 siblings, 1 reply; 7+ messages in thread
From: Andrey @ 2006-11-15 19:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]
2006/11/15, Bo Ørsted Andresen <bo.andresen@zlin.dk>:
>
> On Wednesday 15 November 2006 19:10, Andrey wrote:
> [SNIP]
> > To Bo Ørsted Andresen:
> > ;)
> > Yes I've unstable flags:
> > LDFLAGSHASHSTYLE=" -Wl,--hash-style=both"
> > CFLAGS="-Os -march=pentium3 -frename-registers -fweb -pipe
> > -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident
> > -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload
> > -fmerge-all-constants -combine"
> > CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> > LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
> >
> > But all system emerged well. And works also fine.
> > Except python... It doesn't compile.
> > Now I'm using python emerged with stable flags...
>
> So.. been following Conrad's guide to bork your system [1], huh? I got the
> hunch from bug #146292 [2]. In either case please don't *ever* file a bug
> using this configuration. And note that changing your configuration isn't
> just changing the contents of /etc/make.conf. You need to `emerge -e
> world`
> after that! I for one will never understand why people want to break their
> systems like this...!
>
> Yes, I took theese flags at [1] (Conrad guide).
But I don't want to break my system. It really work and speed up my system!
:)
The only trouble is python doesn't want to build.
So I'm going to reemerge it stable cflags but with hash-style! ;)
[-- Attachment #2: Type: text/html, Size: 1843 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] python segfault
2006-11-15 19:51 ` Andrey
@ 2006-11-19 22:23 ` Andrey
0 siblings, 0 replies; 7+ messages in thread
From: Andrey @ 2006-11-19 22:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
I have found solution to above problem with python:
Migrating from gcc-4.1.1-r2 to gcc-4.3.0-alpha20061111 was helpful.
Python compiled succesfully!
[-- Attachment #2: Type: text/html, Size: 172 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-11-20 9:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 20:09 [gentoo-user] python segfault Andrey
2006-11-14 20:12 ` Mike Ferry
2006-11-15 18:10 ` Andrey
2006-11-15 18:43 ` Bo Ørsted Andresen
2006-11-15 19:51 ` Andrey
2006-11-19 22:23 ` Andrey
2006-11-14 23:50 ` Bo Ørsted Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox