Bug 11810 - do_rootfs function failed while building nightly_deb
Summary: do_rootfs function failed while building nightly_deb
Status: RESOLVED WORKSFORME
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 4.99
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-07-19 19:49 UTC by Sonia Leon
Modified: 2020-04-23 07:56 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
nightly-deb errors log (1.15 MB, text/plain)
2017-07-19 20:59 UTC, Sonia Leon
no flags Details
just lor error lines. (89.15 KB, text/plain)
2017-08-03 23:16 UTC, Sonia Leon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sonia Leon 2017-07-19 19:49:06 UTC

    
Comment 1 Jose Perez C 2017-07-19 19:52:17 UTC
Can you elaborate more on description of this bug and ad logs
Comment 2 Sonia Leon 2017-07-19 20:59:44 UTC
Created attachment 3880 [details]
nightly-deb errors log
Comment 3 Sonia Leon 2017-07-19 21:01:03 UTC
while testing Fedora 26, buildset nightly-deb failed with error: 

core-image-minimal-1.0r0 dorootfs: Function failed: dorootfs.

Full error log attached for more details
Comment 4 Richard Purdie 2017-07-20 14:36:43 UTC
Please attach plain logs, not xml ones. The key error here is 

Index creation command 'cd TOPDIR/tmp/deploy/deb/qemux86; PSEUDO_UNLOAD=1 TOPDIR/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/recipe-sysroot-native/usr/bin/apt-ftparchive packages . > Packages;TOPDIR/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/recipe-sysroot-native/usr/bin/gzip -fc Packages > Packages.gz;PSEUDO_UNLOAD=1 TOPDIR/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/recipe-sysroot-native/usr/bin/apt-ftparchive release . >> Release' failed with return code 1:
TOPDIR/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/recipe-sysroot-native/usr/bin/apt-ftparchive: TOPDIR/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.23' not found (required by TOPDIR/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/recipe-sysroot-native/usr/bin/../lib/libapt-pkg.so.5.0)

so looks like a uninative glibc compatibility issue with previous versions.
Comment 5 Richard Purdie 2017-07-20 14:50:54 UTC
I suspect the reproducer here would be to build apt-native on a modern distro, then share an sstate feed and reuse that apt-native sstate on an older distro where it would then fail with this symbol error.

Sonia: Which distro did this fail on?
Comment 6 Richard Purdie 2017-07-20 14:52:45 UTC
(In reply to comment #5)
> I suspect the reproducer here would be to build apt-native on a modern
> distro, then share an sstate feed and reuse that apt-native sstate on an
> older distro where it would then fail with this symbol error.
> 
> Sonia: Which distro did this fail on?

Sorry, it was fedora 26, Sonia did mention that. 

I think if we build in fedora26 we might just see this when rebuilding from sstate.

We might be able to upgrade uninative to a newer glibc to resolve this?
Comment 7 Sonia Leon 2017-08-03 23:16:20 UTC
Created attachment 3917 [details]
just lor error lines.

I have updated glibc, also did a full system update and the sstate are already mounted on fedora 26 and still getting error with do_rootfs. 

Im attaching just the log lines that describe error, to do it more readable.
Comment 8 Richard Purdie 2017-08-15 10:19:48 UTC
(In reply to comment #7)
> Created attachment 3917 [details]
> just lor error lines.
> 
> I have updated glibc, also did a full system update and the sstate are
> already mounted on fedora 26 and still getting error with do_rootfs. 
> 
> Im attaching just the log lines that describe error, to do it more readable.

Which revision of the metadata was this with?
Comment 9 Sonia Leon 2017-08-29 20:46:34 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Created attachment 3917 [details]
> > just lor error lines.
> > 
> > I have updated glibc, also did a full system update and the sstate are
> > already mounted on fedora 26 and still getting error with do_rootfs. 
> > 
> > Im attaching just the log lines that describe error, to do it more readable.
> 
> Which revision of the metadata was this with?

First test i ran was with 6964efddd31c479386d1643c1025bc102710392f and today i ran a newest review bc2e0b2e9b95707d96c840dade12b00e1450ecc3 but error is still there.

As reference, below ius the glib-c packages list installed on worker fedora26. in case it helps.

glibc.x86_64                           2.25-9.fc26              @updates        
glibc-all-langpacks.x86_64             2.25-9.fc26              @updates        
glibc-common.x86_64                    2.25-9.fc26              @updates        
glibc-devel.x86_64                     2.25-9.fc26              @updates        
glibc-headers.x86_64                   2.25-9.fc26              @updates        
glibc-langpack-en.x86_64               2.25-9.fc26              @updates
Comment 10 Robert Yang 2017-09-12 02:40:18 UTC
I've no idea no this one, suggest moving to 2.5 or assign to others.
Comment 11 Richard Purdie 2020-04-23 07:56:21 UTC
We've not seen this on the autobuilder in recent times.