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

Problems installing on other platforms
Post Reply
tschak909
Member
Posts: 83
Joined: Sun Sep 09, 2018 5:44 pm

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

Post 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://svn.code.sf.net/p/sdcc/code/trunk/sdcc -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...

-Thom
User avatar
dom
Well known member
Posts: 1194
Joined: Sun Jul 15, 2007 10:01 pm

Post 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.
tschak909
Member
Posts: 83
Joined: Sun Sep 09, 2018 5:44 pm

Post by tschak909 »

Should I....add an rm -rf /tmp/sdcc to build.sh? ;)

-Thom
Post Reply