Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373133 - dev-db/postgresql-server-9.0.4-r1 emerge --config throws "OSError: [Errno 12] Cannot allocate memory"
Summary: dev-db/postgresql-server-9.0.4-r1 emerge --config throws "OSError: [Errno 12]...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 18:23 UTC by Marcin Mirosław
Modified: 2011-06-26 18:46 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 Marcin Mirosław 2011-06-26 18:23:25 UTC
# emerge -av --config postgresql-server; free -m
FEATURES variable contains unknown value(s): Xsplitdebug, Xtest


Ready to configure dev-db/postgresql-server-9.0.4-r1? [Yes/No] Yes

Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1648, in emerge_main
    action_config(settings, trees, myopts, myfiles)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 519, in action_config
    mydbapi=trees[settings["ROOT"]]["vartree"].dbapi, tree="vartree")
  File "/usr/lib64/portage/pym/portage/package/ebuild/doebuild.py", line 633, in doebuild
    rval = _check_temp_dir(mysettings)
  File "/usr/lib64/portage/pym/portage/package/ebuild/doebuild.py", line 907, in _check_temp_dir
    fd = tempfile.NamedTemporaryFile(prefix="exectest-", dir=checkdir)
  File "/usr/lib64/python2.7/tempfile.py", line 447, in NamedTemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib64/python2.7/tempfile.py", line 228, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 12] Cannot allocate memory: '/var/tmp/portage/exectest-jHjdnL'
             total       used       free     shared    buffers     cached
Mem:           493        426         67          0         80        162
-/+ buffers/cache:        182        310
Swap:         1526         35       1491


Reproducible: Always




# emerge --info
FEATURES variable contains unknown value(s): Xsplitdebug, Xtest
Portage 2.1.9.42 (hardened/linux/amd64, gcc-4.5.2, libc-0-r0, 2.6.38-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 26 Jun 2011 10:30:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.5
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe         -fprefetch-loop-arrays -fpeel-loops     -fgraphite-identity -floop-interchange -floop-block -floop-strip-mine -fira-loop-pressure     -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-loop-distribution -ftree-vectorize        --param l2-cache-size=128 --param l1-cache-size=16 --param l1-cache-line-size=32"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe       -fprefetch-loop-arrays -fpeel-loops     -fgraphite-identity -floop-interchange -floop-block -floop-strip-mine -fira-loop-pressure     -fpredictive-commoning -freorder-blocks-and-partition -ftracer -ftree-loop-distribution -ftree-vectorize        --param l2-cache-size=128 --param l1-cache-size=16 --param l1-cache-line-size=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="Xsplitdebug Xtest assume-digests binpkg-logs ccache collision-protect distlocks fail-clean fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
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="/var/lib/layman/sping /var/lib/layman/science /var/lib/layman/horhe"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 bash-completion bzip2 caps cli crypt cups cxx dri hardened iconv idn iproute2 ipv6 justify mmap mmx mmxext modules mudflap multilib ncurses nls nptl nptlonly openmp openssl pcre pppd readline session slang smp sse sse2 sse3 sse4 sse4a ssl ssse3 sysfs syslog threads threadsafe unicode urandom vhosts vim-syntax xattr zlib" 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 auth_digest authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user cache cgid dav dav_fs dav_lock dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif status unique_id usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" ELIBC="glibc" KERNEL="linux" LINGUAS="pl en" NGINX_MODULES_HTTP="access browser charset gzip map limit_zone proxy rewrite stub_status" PHP_TARGETS="php5-3" USERLAND="GNU" XTABLES_ADDONS="geoip ipset psd sysrq tarpit"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS