Page 1 of 1

build of git tree fails with a failed sdcc patch, wth?

Posted: Sat Nov 03, 2018 6:22 pm
by tschak909
When trying to build a brand spanking new git clone (making sure to do a deep clone for all the subprojects), I am getting the following on build:

Code: Select all

svn checkout -r 9958 svn:// -q /tmp/sdcc
cd /tmp/sdcc && patch -p0 < /home/thomc/z88dk/src/zsdcc/sdcc-z88dk.patch
patching file src/SDCC.lex
Reversed (or previously applied) patch detected!  Assume -R? [n]
Am I missing something? especially since it's clear that nightlies are happening just fine...


Posted: Sat Nov 03, 2018 6:38 pm
by dom
I've seen this happen if /tmp/sdcc already exists from a previous build - the build doesn't explicitly clean that directory.

The nightly cheats and doesn't build sdcc, but travis does.

Posted: Sat Nov 03, 2018 6:51 pm
by tschak909
Should I....add an rm -rf /tmp/sdcc to ;)