#2475 closed defect (duplicate)

Various bugfixes for rtems-source-builder

Reported by: Goetz Pfeiffer Owned by:
Priority: normal Milestone:
Component: config Version:
Severity: normal Keywords: rtems-source-builder
Cc: Blocked By:
Blocking:

Description

Hello, I tried to build rtems 4.9, 4.10, 4.11 and 4.12 with rtems-source-builder on a debian 7 linux system (64 bit).

Due to a wrong configuration of the rtems download url none of the versions could be built. Rtems 4.9 and 4.10 could not be build with modern versions of the texinfo package. The implementation of the "file://" URL for the "%patch" command didn't work.

Attached to this ticket are my patches that fix these bugs. Can you integrate them in the rtems-source-builder ?

Attachments (8)

01-file-url-bugfix (923 bytes) - added by Goetz Pfeiffer on Nov 20, 2015 at 3:12:31 PM.
02-rtems-kernel-4-1-url-patch (1.1 KB) - added by Goetz Pfeiffer on Nov 20, 2015 at 3:12:42 PM.
03-newlib-gcc-4.3.2-config-bugfix (1.1 KB) - added by Goetz Pfeiffer on Nov 20, 2015 at 3:12:53 PM.
rtems-tools-patchbundle (12.6 KB) - added by Goetz Pfeiffer on Nov 24, 2015 at 9:12:54 AM.
Patch bundle for git.rtems.org/rtems-tools.git
04-binutils-2.20.1-patch (1009 bytes) - added by Goetz Pfeiffer on Nov 25, 2015 at 7:59:12 AM.
05-gcc-4.4.7-patch (930 bytes) - added by Goetz Pfeiffer on Nov 25, 2015 at 7:59:28 AM.
06-gdb-7.3.1-patch (785 bytes) - added by Goetz Pfeiffer on Nov 25, 2015 at 7:59:43 AM.
07-gcc-4.3.2-bugfix (996 bytes) - added by Goetz Pfeiffer on Nov 25, 2015 at 8:00:03 AM.

Download all attachments as: .zip

Change History (13)

Changed on Nov 20, 2015 at 3:12:31 PM by Goetz Pfeiffer

Attachment: 01-file-url-bugfix added

Changed on Nov 20, 2015 at 3:12:42 PM by Goetz Pfeiffer

Changed on Nov 20, 2015 at 3:12:53 PM by Goetz Pfeiffer

comment:1 Changed on Nov 22, 2015 at 10:44:10 PM by Chris Johns

Many thanks for the patches.

attachment:01-file-url-bugfix Please add some white space around '!=' on line 27

attachment:02-rtems-kernel-4-1-url-patch Should we just define rtems_major_kernel_version where we define rtems_kernel_version? The use of sed here works but I feel it makes things fragile over time. Another solution is to add a way to split a version into parts within the RSB python code. I feel it would be more robust but I am happy to discuss this and see what is best.

The remaining patches have a common issue. We do not put patches into the RSB. Patches go in the https://git.rtems.org/rtems-tools/tree/tools repo. Could please create the patches for that repo then please update the RSB to reference them. I can push the rtems-tools patches first so you can test.

comment:2 Changed on Nov 24, 2015 at 9:11:06 AM by Goetz Pfeiffer

Hello, as you suggested I have added some of the patches to my local copy of git://git.rtems.org/rtems-tools.git. I have added these as a patch bundle file "rtems-tools-patchbundle" to this ticket. You can apply this file with git am < rtems-tools-patchbundle.

Changed on Nov 24, 2015 at 9:12:54 AM by Goetz Pfeiffer

Attachment: rtems-tools-patchbundle added

Patch bundle for git.rtems.org/rtems-tools.git

comment:3 Changed on Nov 24, 2015 at 9:14:16 AM by Goetz Pfeiffer

Summary: Varoious bugfixes for rtems-source-builderVarious bugfixes for rtems-source-builder

comment:4 Changed on Nov 25, 2015 at 7:51:43 AM by Goetz Pfeiffer

Since the diff files from my patches 04-.. to 07-.. should be added to git://git.rtems.org/rtems-tools.git, these patches have to be changed. I have added new versions of these patches here.

Changed on Nov 25, 2015 at 7:59:12 AM by Goetz Pfeiffer

Attachment: 04-binutils-2.20.1-patch added

Changed on Nov 25, 2015 at 7:59:28 AM by Goetz Pfeiffer

Attachment: 05-gcc-4.4.7-patch added

Changed on Nov 25, 2015 at 7:59:43 AM by Goetz Pfeiffer

Attachment: 06-gdb-7.3.1-patch added

Changed on Nov 25, 2015 at 8:00:03 AM by Goetz Pfeiffer

Attachment: 07-gcc-4.3.2-bugfix added

comment:5 Changed on Jan 12, 2016 at 10:09:25 AM by Goetz Pfeiffer

Resolution: duplicate
Status: newclosed

Due to changes in the RSB in the recent weeks this ticket is now obsolete.

The new tickets related to RSB and building RTEMS with RSB are:
#2518 #2519 #2520 #2521 #2522 #2523

Note: See TracTickets for help on using tickets.