Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem emerging python 3.2.3-r2 (remains stuck)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 177
Location: Italy

PostPosted: Sat Jan 19, 2013 2:24 pm    Post subject: problem emerging python 3.2.3-r2 (remains stuck) Reply with quote

Hi

I have problems updating python from 3.2.1-r1 to 3.2.3-r2

THe ebuil compiles and then remains stuck here:
Quote:
i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,--no-as-needed -o libpython3.so -Wl,-hlibpython3.so libpython3.2.so
i686-pc-linux-gnu-gcc -pthread -Wl,-O1 -Wl,--as-needed -L. -Xlinker -export-dynamic -o python Modules/python.o -L. -lpython3.2 -lpthread -ldl -lutil -lm
^C
Exiting on signal 2
sandbox:stop caught signal 2 in pid 11590
sandbox:stop signal already caught and busy still cleaning up!
^Csandbox:stop signal already caught and busy still cleaning up!
^Csandbox:stop signal already caught and busy still cleaning up!


It doesn't exit/die on ctrl-c. I tried several times, always the same problem.

The machine is not overbusy, but the process remains stuck, as can be seen here:
Quote:


KiB Mem: 512316 total, 386756 used, 125560 free, 40588 buffers
KiB Swap: 748404 total, 0 used, 748404 free, 200100 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18268 root 20 0 10276 7928 2088 R 46.4 1.5 105:57.11 python
26506 root 20 0 59036 53m 3396 R 46.4 10.7 0:38.44 emerge
26537 multix 20 0 3548 1208 916 R 5.8 0.2 0:00.01 top


I have this setup currently:
Code:

think ~ # eselect python list
Available Python interpreters:
  [1]   python2.5
  [2]   python2.7 *
  [3]   python3.2


Any ideas?

Riccardo
_________________
Unix is user friendly. It is only careful selecting its friends.


Last edited by multix on Sun Jan 20, 2013 8:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1564
Location: U.S.A.

PostPosted: Sun Jan 20, 2013 3:08 am    Post subject: Reply with quote

It might help if you had "python" in the thread title.


I have the exact same problem with python-3.2.3-r2 on one of my machines (a Pentium III).

I first noticed it while doing an 'emerge -e world' after upgrading gcc to 4.6.3. I think I had already upgraded python to 3.2.3-r2 successfully under the previous gcc, but I'm not sure. The only other thing notable about the machine is that it only has 192 MiB of RAM (doesn't need much to do its job).

A couple of days ago I searched bugzilla to see if anybody had created a bug for this, but I didn't find anything. Feeling it must be me, I decided to wait a few days and try to build it again.
_________________
True Liberals are individualists. Democrats, on the other hand, are authoritarian collectivists.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 177
Location: Italy

PostPosted: Sun Jan 20, 2013 8:38 am    Post subject: Reply with quote

Hi,

I too have a Pentium III machine, I have more ram 512MB + Swap and as you can see it is not used up at all.
I tried several times even by leaving up the machine for hours, no help, it remains at 100% cpu.

I too have gcc 4.6.3

Riccardo
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 177
Location: Italy

PostPosted: Mon Jan 21, 2013 3:23 pm    Post subject: Reply with quote

Hi.. I forgot I already opened a thread on this... :( but there was not much help. Here is the obligatory emerge --info output:

Code:

Portage 2.1.11.46 (default/linux/x86/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo i686)
=================================================================
System uname: Linux-3.7.1-gentoo-i686-Mobile_Intel-R-_Pentium-R-_III_CPU_-_M_1000MHz-with-gentoo-2.2
KiB Mem:      512316 total,     23592 free
KiB Swap:     748404 total,    748164 free
Timestamp of tree: Sun, 20 Jan 2013 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r3, 3.2.3-r1
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA skype-eula skype-4.0.0.7-copyright"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm iconv mmx modules mudflap ncurses nptl openmp pam pcre pppd readline session sse ssl tcpd udev unicode userlocales x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="savage" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1564
Location: U.S.A.

PostPosted: Wed Jan 23, 2013 7:29 pm    Post subject: Reply with quote

I noticed I had -O3 optimization set on this box for some reason (which we are now expressly advised by Gentoo developers is inadvisable as a global setting and unsupported). I'm not sure this is the issue, but I changed it to -O2, rebuilt the toolchain, then emerge -e world, and everything seems fine.
_________________
True Liberals are individualists. Democrats, on the other hand, are authoritarian collectivists.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum