Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148531 - openssl-0.9.8c fails with "fork: Resource temporarily unavailable"
Summary: openssl-0.9.8c fails with "fork: Resource temporarily unavailable"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 09:04 UTC by Thomas Sachau
Modified: 2006-09-22 07:40 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 Thomas Sachau gentoo-dev 2006-09-21 09:04:54 UTC
User-Agent:       Mozilla/5.0
Build Identifier: 

emerge -avu openssl tries to compile openssl-0.9.8c but ends with the above error.

Reproducible: Always

Steps to Reproduce:
1. emerge -avu openssl
2.
3.

Actual Results:  
if [ -n "libcrypto.so.0.9.8 libssl.so.0.9.8" ]; then \
        (cd ..; make libcrypto.so.0.9.8); \
fi
make[2]: Entering directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[3]: Entering directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
make[4]: Entering directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
/bin/sh: fork: Resource temporarily unavailable
/bin/sh: fork: Resource temporarily unavailable
/bin/sh: fork: Resource temporarily unavailable
make[4]: *** [link_a.gnu] Error 128
make[4]: Leaving directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
make[2]: *** [libcrypto.so.0.9.8] Error 2
make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c'
make[1]: *** [shared] Error 2
make[1]: Leaving directory
`/var/tmp/portage/openssl-0.9.8c-r2/work/openssl-0.9.8c/crypto'
make: *** [build_crypto] Error 1

!!! ERROR: dev-libs/openssl-0.9.8c-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openssl-0.9.8c-r2.ebuild, line 104:   Called die

!!! make all failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


Expected Results:  
compile without error

emerge --info:
Portage 2.1.1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-hardened-r5 i686)
=================================================================
System uname: 2.6.14-hardened-r5 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 21 Sep 2006 01:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow berkdb bzip2 crypt dlloader elibc_glibc hardened hardenedphp imap
input_devices_keyboard input_devices_mouse kernel_linux libwww maildir mmx mysql
ncurses nls offensive pam pam-mysql pcre perl pic python readline sasl sse ssl
tcpd userland_GNU userlocales x86 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

free -m:
             total       used       free     shared    buffers     cached
Mem:           879        853         26          0         66        523
-/+ buffers/cache:        262        616
Swap:          488         27        461
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 09:17:15 UTC
You set something in /etc/security/limits.conf?
Comment 2 Thomas Sachau gentoo-dev 2006-09-21 11:08:17 UTC
I commented everything in /etc/security/limits.conf and the result is the same as before.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-21 11:13:21 UTC
So, are you setting something in /etc/limits as well? This definitely isn't an openssl issue, you've run out of allowed processes...
Comment 4 Thomas Sachau gentoo-dev 2006-09-21 11:49:14 UTC
everything in /etc/limits and /etc/security/limits.conf is commented out
Comment 5 Thomas Sachau gentoo-dev 2006-09-22 07:40:49 UTC
My fault. After log out and new login with no line in /etc/limits and /etc/security/limits.conf it works.