Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99627 - sys-apps/sandbox-1.2.10 install fails on libc check
Summary: sys-apps/sandbox-1.2.10 install fails on libc check
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
: 112941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-20 00:51 UTC by James P. Barrett
Modified: 2007-04-02 08:53 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 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.