Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99627

Summary: sys-apps/sandbox-1.2.10 install fails on libc check
Product: Portage Development Reporter: James P. Barrett <james.p.barrett>
Component: SandboxAssignee: Sandbox Maintainers <sandbox>
Status: RESOLVED TEST-REQUEST    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James P. Barrett 2005-07-20 00:51:55 UTC
Attempting to emerge portage in order to upgrade to profile 2005.0 I find that
when emerging sandbox-1.2.10 the configure script gets as far as checking for
libc and fails with the error message:

checking libc path ... gawk: cmd. line:1: (FILENAME=- FNR=2) fatal:
grow_iop_buffer: iop->buf: can't allocate 1073741826 bytes of memory (Cannot
allocate memory)
configure: error: unable to determine LIBC PATH

This is running on an old AMD K6-II 66MHz Laptop.

Reproducible: Always
Steps to Reproduce:
1. emerge -n '>=sys-apps/portage-2.0.51'

Actual Results:  
Got as far as checking the libc path when installing sandbox-1.2.10 then:

checking libc path ... gawk: cmd. line:1: (FILENAME=- FNR=2) fatal:
grow_iop_buffer: iop->buf: can't allocate 1073741826 bytes of memory (Cannot
allocate memory)
configure: error: unable to determine LIBC PATH


Expected Results:  
Install a new version of portage.

Old AMD K6-II 66MHz w/ 60MB RAM
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-20 01:37:32 UTC
Please do:

 $ echo "int main(void) { return 0; }" > libctest.c
 $ gcc -Wl,-verbose -o libctest libctest.c 2>&1 | \
        gawk '/attempt to open/ { if (($4 ~ /libc\.so/) && ($5 == "succeeded"))
LIBC = $4; }; END {print LIBC}'
Comment 2 James P. Barrett 2005-07-20 03:13:32 UTC
(In reply to comment #1)
> Please do:
> 
>  $ echo "int main(void) { return 0; }" > libctest.c
>  $ gcc -Wl,-verbose -o libctest libctest.c 2>&1 | \
>         gawk '/attempt to open/ { if (($4 ~ /libc\.so/) && ($5 == "succeeded"))
> LIBC = $4; }; END {print LIBC}'
> 

gawk: cmd. line:1: (FILENAME=- FNR=2) fatal: grow_iop_buffer: iop->buf:
can't allocate 1073741826 bytes of memory (Cannot allocate memory)
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-07-20 05:53:15 UTC
How much memory does it have ?
Comment 4 James P. Barrett 2005-07-20 15:21:44 UTC
(In reply to comment #3)
> How much memory does it have ?

80 MB total.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-11-18 11:43:01 UTC
*** Bug 112941 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 20:50:24 UTC
Reopen if you can reproduce w/ >=sys-apps/sandbox-1.2.17; thanks.