Bug 1243 - poky hangs on tar-replacement-native-1.26-r0
Summary: poky hangs on tar-replacement-native-1.26-r0
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1 M3
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-07-13 22:27 UTC by Kumar Gala
Modified: 2011-08-05 07:57 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Potential fix for issue (3.73 KB, patch)
2011-07-14 19:25 UTC, Kumar Gala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kumar Gala 2011-07-13 22:27:33 UTC
When trying a simple build/run of poky for mpc8315e-rdb on a x86 fedora 13 host system the build hangs at:

NOTE: Running task 74 of 77 (ID: 12, /local/home/galak/git/poky/meta/recipes-extended/tar/tar-replacement-native_1.26.bb, do_configure)
NOTE: package tar-replacement-native-1.26-r0: task do_configure: Started

ATTENTION! pax archive volume change required.
Ready for archive volume: 1
Input archive name or "." to quit pax.
Archive name > 

This seems related to running this with a large UID value:

[galak@right build]$ id
uid=18005187(galak) gid=18005187(galak) groups=18005187(galak)
Comment 1 Kumar Gala 2011-07-13 22:43:05 UTC
(In reply to comment #0)
> When trying a simple build/run of poky for mpc8315e-rdb on a x86 fedora 13 host
> system the build hangs at:
> 
> NOTE: Running task 74 of 77 (ID: 12,
> /local/home/galak/git/poky/meta/recipes-extended/tar/tar-replacement-native_1.26.bb,
> do_configure)
> NOTE: package tar-replacement-native-1.26-r0: task do_configure: Started
> 
> ATTENTION! pax archive volume change required.
> Ready for archive volume: 1
> Input archive name or "." to quit pax.
> Archive name > 
> 
> This seems related to running this with a large UID value:
> 
> [galak@right build]$ id
> uid=18005187(galak) gid=18005187(galak) groups=18005187(galak)

snippet from tmp/work/x86_64-linux/tar-replacement-native-1.26-r0/tar-1.26/config.log 

Written by John Gilmore and Jay Fenlason.
configure:3855: $? = 0
configure:3895: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
tar: value 18005187 out of uid_t range 0..2097151
tar: Exiting with failure status due to previous errors
configure:3898: $? = 2
configure:3902: tar -xf - <conftest.tar
configure:3905: $? = 0
configure:3895: tardir=conftest.dir && eval pax -L -x ustar -w "$tardir" >conftest.tar
pax: Ustar header field is too small for conftest.dir
pax: Ustar header field is too small for conftest.dir/file
configure:3898: $? = 1
configure:3902: pax -r <conftest.tar
pax: Cannot identify format. Searching...
pax: End of archive volume 1 reached

pax: Signal caught, cleaning up.
Comment 2 Kumar Gala 2011-07-14 19:25:07 UTC
Created attachment 187 [details]
Potential fix for issue

Here's a patch based on some work done by Tom Rini that works around the bug.
Comment 3 Scott Garman 2011-07-15 09:41:15 UTC
Thanks Kumar, I hope to take a look at this today. The patch is deeply appreciated.
Comment 5 Richard Purdie 2011-08-05 07:57:49 UTC
Seems to be fixed by the commit mentioned above.