Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Attempting to emerge -vat @kde-4.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Tue Aug 12, 2008 10:52 pm    Post subject: Attempting to emerge -vat @kde-4.1 Reply with quote

I am attempting to emerge -vat @kde-4.1. I get to libqalculate and it dies with:
Code:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -march=k8 -O2 -pipe -MT MathStructure.lo -MD -MP -MF .deps/MathStructure.Tpo -c MathStructure.cc -o MathStructure.o >/dev/null 2>&1
Traceback (most recent call last):
  File "/usr/bin/emerge", line 18, in <module>
    retval = _emerge.emerge_main()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 13654, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 12779, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 9356, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 9600, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 9706, in _main_loop
    self._poll_loop()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8353, in _poll_loop
    f, event = self._next_poll_event()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8343, in _next_poll_event
    self._poll(timeout)
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8928, in _poll
    self._schedule()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8286, in _schedule
    return self._schedule_tasks()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 9721, in _schedule_tasks
    if q.schedule():
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 8178, in schedule
    task.start()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 1609, in start
    self._start()
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 2263, in _start
    SpawnProcess._start(self)
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 2128, in _start
    retval = self._spawn(self.args, **kwargs)
  File "/usr/lib64/portage/pym/_emerge/__init__.py", line 2158, in _spawn
    return portage.process.spawn(args, **kwargs)
  File "/usr/lib64/portage/pym/portage/process.py", line 219, in spawn
    pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

I do not know if this is related or not but I have recently had to turn down my cpu to 62% power to keep it from overheating while emergeing software.

My emerge --info
Code:

Portage 2.2_rc7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25 x86_64)
=================================================================
System uname: Linux-2.6.25-x86_64-AMD_Athlon-tm-_64_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Sun, 10 Aug 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kdesvn-portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bluetooth bzip2 cdb cddb cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread ffmpeg firefox fortran ftp gdbm gimp gpm hal htmlhandbook iconv ipv6 isdnlog kde kontact matroska midi mmx mp3 mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plasma png pppd python qt3 qt3support qt4 readline reflection rss samba session spl sse sse2 ssl sysfs tcpd unicode usb vorbis wifi xine xinerama xml xorg xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Damoncf
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 13, 2008 9:09 am    Post subject: Reply with quote

sync your overlays / tree and update portage to 2.2_rc8 and try again :idea:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Wed Aug 13, 2008 3:06 pm    Post subject: Reply with quote

How do I update to the new portage. I am assuming it is in an overlay. Which one?
Damoncf
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 13, 2008 3:54 pm    Post subject: Reply with quote

damoncf wrote:
How do I update to the new portage. I am assuming it is in an overlay. Which one?
Damoncf


I was assuming those problems were either due to overlay-problems or due to portage .2-rc7

so just
Code:
emerge -1 portage
should be fine
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Wed Aug 13, 2008 8:10 pm    Post subject: Reply with quote

Quote:
OSError: [Errno 12] Cannot allocate memory
you are not able to fork because system has run out of memory. Configure a swap device. If you have less than 1GB RAM, Google for compcache. Its trivial to use it but it gives huge savings (like make 512MB of your RAM to appear as 1.5G compressed swap, stored inside RAM) on a modern enough processor.
Back to top
View user's profile Send private message
damoncf
Guru
Guru


Joined: 05 Oct 2004
Posts: 388
Location: US OH

PostPosted: Thu Aug 14, 2008 11:52 pm    Post subject: Reply with quote

Quote:
If you have less than 1GB RAM, Google for compcache.

I have a gig of Ram and I am runing a mixlib amd64 and what I read says that compcache is only for x86.

Is it possible I have some bad memory? If so how would I check for that? The other thing(not sure if it is related or not) is that my processor has been overheating to the point of killing my system. I have had to resort to turning down my processor to 62 or 50% of what it is capable of.

Also is it possible to to add swap space to my computer. ( I have the standard that is in the Gentoo Handbook.)

Damoncf
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Fri Aug 15, 2008 12:08 am    Post subject: Reply with quote

damoncf wrote:
Quote:
If you have less than 1GB RAM, Google for compcache.

I have a gig of Ram and I am runing a mixlib amd64 and what I read says that compcache is only for x86.

Is it possible I have some bad memory? If so how would I check for that? The other thing(not sure if it is related or not) is that my processor has been overheating to the point of killing my system. I have had to resort to turning down my processor to 62 or 50% of what it is capable of.

Damoncf
you should check if heatsink is seated properly. If it is, then use some thermal paste and reattach the heatsink.

Bad memory doesn't look like the case. But you can test it with memtest86+ anyway overnight.

compcache runs fine on x86_64 (amd64).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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