Build Linux: FAILED devel/qemu4 on x86_64-linux-gnu (qemu-v4.1.0-x86_64-linux-gnu-1)

Chris Johns chrisj at rtems.org
Sun May 3 23:41:06 UTC 2020


Hi Anders,

Thank you for the detailed review and analysis. It helped.

On 3/5/20 6:06 pm, Anders Montonen wrote:
> On 3 May 2020, at 8:37, Joel Sherrill <joel at rtems.org 
> <mailto:joel at rtems.org>> wrote:
>>
>> This appears to fail from the m2005 release snapshot but not when 
>> building git master. This is on CentOS 7.
>>
>> Hopefully there is something useful in what was mailed out. If not, 
>> I'll dig into the saved stuff on the machine tomorrow.
> <snip>
>> download: 
>> https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2005-1/sources/qemu-git-42d58e7.tar.xz: 
>> error: HTTP Error 404: Not Found
> 
> This looks to be the source of the failure. The file name in 
> bare/config/devel/qemu4-git-1.cfg doesn’t match what’s on the FTP. 
> Looking at 
> <https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2005-1/sources/>, 
> the correct file name should be qemu-git-42d58e7c67.tar.xz.

Yes it is wrong ...

https://git.rtems.org/rtems-source-builder/tree/bare/config/devel/qemu-git-1.cfg#n24

It has been wrong a long time.

> Looking in the log, there were a couple of other 404s:
> 
>> download: 
>> https://ftp.rtems.org/pub/rtems/releases/4.12/4.12/sources/qemu-git-42d58e7.tar.xz: 
>> error: HTTP Error 404: Not Found
> 
> I guess this is used as a fallback location, but there is no release 
> 4.12 directory: <https://ftp.rtems.org/pub/rtems/releases/>

That is a bug in bare/config/bare-config.cfg. It needs to use the same 
logic as the rtems/config/rtems-version.cfg or jus include that file. I 
have raised a ticket.

>> download: 
>> https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2005-1/sources/glib-2.46.2.tar.xz: 
>> error: HTTP Error 404: Not Found
>> download: 
>> https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2005-1/sources/glib-2.46.2-werror.patch: 
>> error: HTTP Error 404: Not Found
> 
> bare/config/devel/qemu4.bset specifies glib-2.46.2, but the 5.0.0 
> snapshot contains glib-2.48.2.tar.xz. The older version and the patch 
> are eventually found from upstream locations.

Thanks for spotting this. It looks like the release source capture is 
not picking up this package. The glib-2.48.2.tar.xz maybe coming from 
the devel/qemu-couverture. The devel/qemu4 is not in the list.

https://git.rtems.org/rtems-release/tree/rtems-source-packages#n32

I need to review this file and fix the list. I have added ticket #3967. 
It looks like devel/qemu is under 4.11 for some historical reason.

Chris


More information about the devel mailing list