Re: RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-03-02 Thread Chris Johns
On 20/2/20 5:46 am, Michael Davidsaver wrote:
> On 2/12/20 7:58 PM, Chris Johns wrote:
>> It should have worked. I have built the 5/bsps/beagleboneblack build set and 
>> it
>> worked up building libbsd where I have a packaging issue to sort out, so I am
>> interested in why you are seeing an error.
> 
> Taking this as a starting point, I create config/5/bsps/pc686.bset with
> 
>> cat config/5/bsps/pc686.bset
>> %define mail_single_report 1
>> %define with_rtems_bsp pc686
>> %define rtems_target   i386-rtems5
>> %define rtems_host %{rtems_target}
>> 5/rtems-i386
>> 5/rtems-kernel
>> 5/rtems-libbsd
>> 5/rtems-packages
> 
> I then try:
> 
>> ../source-builder/sb-set-builder --prefix /home/mdavidsaver/source/rtems/usr 
>> 5/bsps/pc686 --source-only-download
> 
> which errors when trying to download the rtems kernel source.
> 
>> config: tools/rtems-kernel-5.cfg
>> package: i386-rtems5-kernel-pc686-1
>> download: https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2 -> 
>> sources/rtems-5.0.0-m2002.tar.xz
>> download: https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2: 
>> error: HTTP Error 404: Not found
>> error: downloading 
>> https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2: all paths 
>> have failed, giving up
>> Build FAILED
> 
> If I manually download rtems-5.0.0-m2002.tar.xz then it gets further, but 
> fails on:
> 
>> config: tools/rtems-libbsd-5.cfg
>> package: 
>> rtems-libbsd-vafaeccc05a556f6aa25ba044a7e49d6aa634a59e-x86_64-linux-gnu-1
>> download: 
>> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz 
>> -> sources/rtems-libbsd-5.0.0-m2002.tar.xz
>> download: 
>> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz: 
>> error: HTTP Error 400: Bad request
>> error: downloading 
>> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz: 
>> all paths have failed, giving up
>> Build FAILED

I think this has been addressed in the release scripts. Then there was ..

https://git.rtems.org/rtems-source-builder/commit/?id=3dd974990e11d12123902349e0f0bc8eba35e8e8

> I can't see how to fetch this manually, so I removed '5/rtems-libbsd' for the 
> moment.
> 
> Proceeding with a build ultimately fails on curl with missing gethostbyname(),
> which I guess is to be expected as I've omitted libbsd.

I think this has been fixed. The kernel version is current as well as libbsd
which has now switched to the 5-freebsd12 branch.

The ticket #3893 has addressed a number of issues when building 3rd party 
packages.

I am looking to create a m2003 snapshot to capture all this.

>> Could you please create a ticket with the error log and I will take a look?
> 
> Is this strictly necessary?  I'd rather conduct this discussion on list.
> 

No not at all, just means I am less likely to forget something so it helps me.

Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Re: RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-19 Thread Michael Davidsaver
On 2/12/20 7:58 PM, Chris Johns wrote:
> It should have worked. I have built the 5/bsps/beagleboneblack build set and 
> it
> worked up building libbsd where I have a packaging issue to sort out, so I am
> interested in why you are seeing an error.

Taking this as a starting point, I create config/5/bsps/pc686.bset with

> cat config/5/bsps/pc686.bset
> %define mail_single_report 1
> %define with_rtems_bsp pc686
> %define rtems_target   i386-rtems5
> %define rtems_host %{rtems_target}
> 5/rtems-i386
> 5/rtems-kernel
> 5/rtems-libbsd
> 5/rtems-packages

I then try:

> ../source-builder/sb-set-builder --prefix /home/mdavidsaver/source/rtems/usr 
> 5/bsps/pc686 --source-only-download

which errors when trying to download the rtems kernel source.

> config: tools/rtems-kernel-5.cfg
> package: i386-rtems5-kernel-pc686-1
> download: https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2 -> 
> sources/rtems-5.0.0-m2002.tar.xz
> download: https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2: 
> error: HTTP Error 404: Not found
> error: downloading 
> https://git.rtems.org/rtems/snapshot/rtems-5.0.0-m2002.tar.bz2: all paths 
> have failed, giving up
> Build FAILED

If I manually download rtems-5.0.0-m2002.tar.xz then it gets further, but fails 
on:

> config: tools/rtems-libbsd-5.cfg
> package: 
> rtems-libbsd-vafaeccc05a556f6aa25ba044a7e49d6aa634a59e-x86_64-linux-gnu-1
> download: 
> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz 
> -> sources/rtems-libbsd-5.0.0-m2002.tar.xz
> download: 
> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz: 
> error: HTTP Error 400: Bad request
> error: downloading 
> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-5.0.0-m2002.tar.xz: 
> all paths have failed, giving up
> Build FAILED

I can't see how to fetch this manually, so I removed '5/rtems-libbsd' for the 
moment.

Proceeding with a build ultimately fails on curl with missing gethostbyname(),
which I guess is to be expected as I've omitted libbsd.


> Could you please create a ticket with the error log and I will take a look?

Is this strictly necessary?  I'd rather conduct this discussion on list.
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Re: RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-12 Thread Chris Johns
On 13/2/20 12:38 am, Michael Davidsaver wrote:
> This snapshot builds successfully for me on Debian 10 (amd64).

Thank you for testing the snapshot and reporting your results to the list. It
helps and I appreciate the feedback.

>> ../source-builder/sb-set-builder --prefix /home/mdavidsaver/source/rtems/usr 
>> --rtems-bsp i386/pc386 5/rtems-i386
> 
> I did expect that these arguments would also build the RTEMS kernel, but this 
> seem
> not to be case.  I also tried (based on some clearly obsolete notes) adding 
> '--with-rtems'
> which had no effect.

A kernel should be downloaded from the release directory. This is different to
the normal process.

> Is there a way to build the toolchain and kernel in one shot?
> Am I missing a link to current RSB documentation?

It should have worked. I have built the 5/bsps/beagleboneblack build set and it
worked up building libbsd where I have a packaging issue to sort out, so I am
interested in why you are seeing an error.

Could you please create a ticket with the error log and I will take a look?

> I'd look further for this myself, but atm. I can't seem to load the rtems.org 
> websites atm.
> I see a redirect to www-new.rtems.org which has an expired Let's Encrypt cert.

The cert had expired. I believe Amar has sorted this out. Again thank you for
reporting it.

Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


Re: RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-12 Thread Michael Davidsaver
This snapshot builds successfully for me on Debian 10 (amd64).

> ../source-builder/sb-set-builder --prefix /home/mdavidsaver/source/rtems/usr 
> --rtems-bsp i386/pc386 5/rtems-i386

I did expect that these arguments would also build the RTEMS kernel, but this 
seem
not to be case.  I also tried (based on some clearly obsolete notes) adding 
'--with-rtems'
which had no effect.

Is there a way to build the toolchain and kernel in one shot?
Am I missing a link to current RSB documentation?

I'd look further for this myself, but atm. I can't seem to load the rtems.org 
websites atm.
I see a redirect to www-new.rtems.org which has an expired Let's Encrypt cert.


On 2/5/20 6:39 PM, chr...@rtems.org wrote:
> RTEMS Release Build - 5.0.0-m2002
> 
> RTEMS 5 Release snapshot m2002 is avaliable for testing.
> It can be found at:
> 
>  https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2002
> 
> Please test and report any issues to the u...@rtems.org or de...@rtems.org
> mailing lists or please raise a ticket.
> 
> If you are part of the RTEMS testing program please build on your preferred
> host posting build and BSP test results to bu...@rtems.org.
> 
> This is a development release and may have errors and be unstable.
> 
> Thanks
> Chris
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 

 
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users


RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-05 Thread chrisj
RTEMS Release Build - 5.0.0-m2002

RTEMS 5 Release snapshot m2002 is avaliable for testing.
It can be found at:

 https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2002

Please test and report any issues to the u...@rtems.org or de...@rtems.org
mailing lists or please raise a ticket.

If you are part of the RTEMS testing program please build on your preferred
host posting build and BSP test results to bu...@rtems.org.

This is a development release and may have errors and be unstable.

Thanks
Chris
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users