Reproducible Build Status
I think we're now down to:
sudo path issues (Ross is poking)
ncurses-doc issue (assigned to JPEW)
perl host compiler flags issue
sysvinit missing group problem (assigned to Mingli Yu at present)
(thanks Alex for spotting the obvious I couldn't see with one of the perl issues!)
I wanted to document some of the interesting quirks we've seen with reproducibile build failures in case anyone else runs into these kinds of issues.
First is the "embedded git hash" problem where a source tree embeds the output of "git describe" or the hash from a git command, even though the source has come from an upstream tarball.
These commands travel back up the directory structure and find the hash or description (e.g. 3.1M1-XXXX) for our own metadata (poky or OE- Core). These are consistent as long as the same revision of the metadata is built. As soon as there are new commits or a rebase, they change and trigger the reproducible builds failure. This means they usually pass for master-next and break on master.
Second is setcap issues. A number of recipes look for setcap on the host system and then change behaviour depending on whether they find it. Some of our workers have it as part of their default install some don't. Some recipes fall back to suid bits if setcap isn't present too just to confuse things.
Third is the weird group problem for sysvinit. In this case its because the do_package_write_ipk was running against do_package from sstate and that gave different output to a full build due to the differing sysroot contents (missing etc/group file). The reproducer is simple once you realise what is breaking:
bitbake sysvinit
bitbake sysvinit -c clean
bitbake sysvinit -c package_write_ipk -f
Were also seeing a smattering of more well known issues like hardcoded hosttool paths (/bin/mv vs /usr/bin/mv), dash vs bash, sorting issues in generated header/C files and some host variable infection problems.
Cheers,
Richard
Re: Reproducible Build Status (and implications for zeus 3.0.2)
Quoted 6 lines · Richard Purdie
I think we're now down to:
sudo path issues (Ross is poking)
ncurses-doc issue (assigned to JPEW)
perl host compiler flags issue
sysvinit missing group problem (assigned to Mingli Yu at present)
We're now down to:
A gstreamer issue with libcap:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13786
and some potential perl host compiler flags leaking in
(no bug for that, we've not seen it in the last build and I'm not 100% sure if we fixed it or not yet)
I've queued up the recent fixes into zeus-next as I think they're stable material.
I'm seriously considering letting 3.0.2 wait a little to include those fixes in an rc2 and abandon rc1. If we do that, we may want to get the bitbake hashequiv+multiconfig fixes in master-next sorted too.
Cheers,
Richard
Re: Reproducible Build Status (and implications for zeus 3.0.2)
Quoted 12 lines · Richard Purdie
Quoted 6 lines · Richard Purdie
I think we're now down to:
sudo path issues (Ross is poking)
ncurses-doc issue (assigned to JPEW)
perl host compiler flags issue
sysvinit missing group problem (assigned to Mingli Yu at present)We're now down to:
A gstreamer issue with libcap:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13786
Quoted 6 lines
and some potential perl host compiler flags leaking in
(no bug for that, we've not seen it in the last build and I'm not 100% sure if we fixed it or not yet)I've queued up the recent fixes into zeus-next as I think they're stable material.
I can not find your changes so that puts a hold on any zeus work I was planning on doing. I guess this frees up my weekend.
Quoted 3 lines
I'm seriously considering letting 3.0.2 wait a little to include those fixes in an rc2 and abandon rc1.
My vote was for rc2 if it counts.
Quoted 2 lines
If we do that, we may want to get the
bitbake hashequiv+multiconfig fixes in master-next sorted too.
Is we "You" in this case to?
- Armin
Quoted 7 lines
Cheers,
Richard
Re: Reproducible Build Status (and implications for zeus 3.0.2)
Quoted 19 lines · On Sat, 2020-02-08 at 08:36 -0800, akuster808 wrote:
Quoted 17 lines · Richard Purdie
Quoted 6 lines · Richard Purdie
I think we're now down to:
sudo path issues (Ross is poking)
ncurses-doc issue (assigned to JPEW)
perl host compiler flags issue
sysvinit missing group problem (assigned to Mingli Yu at present)We're now down to:
A gstreamer issue with libcap:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13786and some potential perl host compiler flags leaking in (no bug for that, we've not seen it in the last build and I'm not 100%
sure if we fixed it or not yet)
Quoted 4 lines
Quoted 2 lines
I've queued up the recent fixes into zeus-next as I think they're stable material.
I can not find your changes so that puts a hold on any zeus work I was planning on doing. I guess this frees up my weekend.
Sorry, they're pushed now. My scripts don't seem to update zeus-next for some reason.
Quoted 7 lines
Quoted 3 lines
I'm seriously considering letting 3.0.2 wait a little to include those
fixes in an rc2 and abandon rc1.My vote was for rc2 if it counts.
Quoted 2 lines
If we do that, we may want to get the
bitbake hashequiv+multiconfig fixes in master-next sorted too.Is we "You" in this case to?
Yes, I merged those to master now.
Cheers,
Richard