[yocto] Non-deterministic build error in package gcc-source

Burton, Ross ross.burton at intel.com
Tue Jul 31 13:18:30 PDT 2018


Obvious short answer is do you actually need to use the archiver in
patched mode?  Changing to a different mode, or disabling the archiver
entirely, may solve this.

Long answer is this is most likely a race in the archiver, so filing a
bug with as many details as you can would be good.

Ross

On 30 July 2018 at 08:48, Erik Nellessen <enellessen at phoenixcontact.com> wrote:
> We are building an operating system based on poky
> (f0ec7c8b2dc1797ba22c45653a5f182b63354092, bitbake: toaster: add 'Sumo' to
> release selection).
>
>
> Sometimes (about 1 in 10 times) our build fails, because the task
> do_ar_patched fails for package gcc-source-7.3.0-7.3.0-r0.
>
>
> The short error message:
>
> 14:44:09 Exception: FileNotFoundError: [Errno 2] No such file or directory:
> '/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/gcc-7.3.0/gcc/gengtype-lex.c'
> 14:44:09
> 14:44:09 ERROR: gcc-source-7.3.0-7.3.0-r0 do_ar_patched: Function failed:
> do_ar_patched
> 14:44:09 ERROR: Logfile of failure stored in:
> /home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2/build/qemux86-64_tmp/work-shared/gcc-7.3.0-r0/temp/log.do_ar_patched.43242
> 14:44:09 NOTE: recipe gcc-source-7.3.0-7.3.0-r0: task do_ar_patched: Failed
> 14:44:09 ERROR: Task
> (/home/jenkins/workspace/_Config_mguard_0.1.0_MG-254-QLU3J23WOWLZZG76AVHU5BVY3M7SIU3EOQQQSUQNOEXHTXRFTQMQ_2//mguard/poky/meta/recipes-devtools/gcc/gcc-source_7.3.bb:do_ar_patched)
> failed with exit code '1'
>
> I attached the full error message as a text file.
>
>
> Does anybody know this error message? Does anybody experience similar
> problems with non-deterministic build failure?
>
>
> Kind regards,
>
> Erik
>
> ..................................................................
> Phoenix Contact GmbH & Co. KG
>
> Sitz der Gesellschaft / registered office of the company: 32825 Blomberg
> USt-Id-Nr.: DE124613250
> Pers. haftende Gesellschafterin / personally liable partner: Phoenix Contact
> Verwaltungs GmbH
> Amtsgericht Lemgo HRB 5273 / district court Lemgo HRB 5273
> Kom. Ges. Amtsgericht Lemgo HRA 3746 / limited commercial partnership
> district court Lemgo HRA 3746
> Geschäftsführer / Executive Board: Frank Stührenberg (Vorsitzender / Chief
> Executive Officer), Roland Bent, Prof. Dr. Gunther Olesch, Axel Wachholz
> ___________________________________________________________________
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren, jegliche anderweitige
> Verwendung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
> ----------------------------------------------------------------------------------------------------
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure, distribution or other use of the material
> or parts thereof is strictly forbidden.
> ___________________________________________________________________
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


More information about the yocto mailing list