FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-31-2008, 11:30 AM
"Richard W.M. Jones"
 
Default check-rpaths gives 'xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.'

This is from a bug that was reported to me:

https://bugzilla.redhat.com/show_bug.cgi?id=433433#c4

+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
/usr/lib/rpm/check-rpaths: line 28: 4618 Done find
"$RPM_BUILD_ROOT" -type f -print0
4619 Aborted | xargs -0r /usr/lib/rpm/check-rpaths-worker
error: Bad exit status from /var/tmp/rpm-tmp.92606 (%install)

I can't reproduce this on my machine, but looking at the source for
xargs it looks like the error originates in this check:

{
/* IEEE Std 1003.1, 2003 specifies that the combined argument and
* environment list shall not exceed {ARG_MAX}-2048 bytes. It also
* specifies that it shall be at least LINE_MAX.
*/
#if defined(ARG_MAX)
assert(bc_ctl.arg_max <= bc_ctl.posix_arg_size_max);
#endif
#ifdef LINE_MAX
assert(bc_ctl.arg_max >= LINE_MAX);
#endif

Perhaps the environment is too large or check-rpaths is producing a
really long list of files (but surely the precise point of xargs is to
deal with that?)

Anyone got any ideas?

Rich.

--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 03-31-2008, 11:43 AM
Caolan McNamara
 
Default check-rpaths gives 'xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.'

On Mon, 2008-03-31 at 12:30 +0100, Richard W.M. Jones wrote:
> This is from a bug that was reported to me:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=433433#c4
>
> + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
> xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
> /usr/lib/rpm/check-rpaths: line 28: 4618 Done find
> "$RPM_BUILD_ROOT" -type f -print0
> 4619 Aborted | xargs -0r /usr/lib/rpm/check-rpaths-worker
> error: Bad exit status from /var/tmp/rpm-tmp.92606 (%install)

See https://bugzilla.redhat.com/show_bug.cgi?id=439168
This should be fixed in findutils-4.2.33-2

C.


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 03-31-2008, 11:43 AM
"Jeffrey Ollie"
 
Default check-rpaths gives 'xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.'

On Mon, Mar 31, 2008 at 6:30 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
>
> This is from a bug that was reported to me:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=433433#c4
> [...]
> + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
> xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-2048)' failed.
> [...]
> Anyone got any ideas?

The person that reported the bug needs to update glibc and findutils
to at least the following versions:

glibc-2.7.90-13
findutils-4.2.33-2.fc9

https://bugzilla.redhat.com/show_bug.cgi?id=439168

Jeff

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 08:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org