RTEMS 4.11.0 build fails on Windows
chrisj at rtems.org
Wed Apr 12 00:35:52 UTC 2017
On 12/04/2017 09:24, Linda Huxley wrote:
>> That is fine. Please ask any questions, I am more than happy to help.
> Thanks Chris,
> Well, I could use some help getting Worth's patch to work. I have tried
> making the obvious changes to his patch and I'm still getting a
> "can't find a file to patch" error. For example, after inserting
> "/../gcc-4.9.3" into the difference commands in the patch file, I'm
> seeing the following message from the first difference in the patch:
> + cd newlib-126.96.36.19950423
> + chmod -R a+rX,g-w,o-w .
> + cat /C/opt/rtems/4.11.0/rtems/patches/gcc-4.9.3-20170404-1.patch
> + patch -p1
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> |diff -Naur gcc-4.9.3-orig/../gcc-4.9.3/gcc/cp/cfns.gperf
> |--- gcc-4.9.3-orig/../gcc-4.9.3/gcc/cp/cfns.gperf 2014-01-02
> 17:23:26.000000000 -0500
> |+++ gcc-4.9.3-fixed/../gcc-4.9.3/gcc/cp/cfns.gperf 2017-04-04
> 14:35:14.729966600 -0400
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 2 out of 2 hunks ignored
> I'd like to know if I'm interpreting the log correctly.
Is this a log fragment from the RSB?
> I am building from this directory:
> Can I assume that the script is in the following directory after the
> first command that was logged above?:
The patches are in `patches` below `rtems` in the RSB. The script knows
this and should handle it.
> I can see the target file for the first difference here:
> Do you have any idea about what I might be doing wrong?
Not yet. I ma creating a box to test on. My Windows VM is busy doing
other things and I have not wanted to update MSYS2 so I have been
building a Windows box to test builds on. Once it is running I will take
More information about the users