Page 1 of 1

Nightly build fails with error for macOS

Posted: Sun Dec 17, 2017 1:55 am
by dbolli
Hi There,

I get the following error message when running "sudo ./" from the z88dk dir on the nightly build for 2017-12-16 03:05

"make -C dev/z80asm_lib
../../z80asm -xz80asm-z80-.lib --cpu=z80 @z80asm_lib.lst
Error at file 'z80asm_lib.lst' line 8: library file '/usr/local/share/z88dk/lib/z80asm-z80-.lib' version 9, expected version 11
1 errors occurred during assembly
make[2]: *** [z80asm-z80-.lib] Error 1
make[1]: *** [z80asm_lib] Error 2
make: *** [z80asm] Error 2


Posted: Sun Dec 17, 2017 3:39 am
by alvin
This was an issue a little while back and should have been corrected. z80asm's library file was updated but the build was not re-making those libraries before they were used.
dom's machine creates the nightly package for mac os so see what he says.

Posted: Sun Dec 17, 2017 12:28 pm
by dom
I think this is because you had a previous version installed.

Unfortunately z80asm tries to load the compatibility libraries even when it?s actually building them which is what is happening here.

The best way forward is wipe /usr/local/share/z88dk before building and installing. We?ll need to make some changes to z80asm to add an option to ignore the compat libraries.

Posted: Sun Dec 17, 2017 11:45 pm
by dbolli
Many thanks, deleting /usr/local/share/z88dk worked and the build now completes.

I will add this to my build steps.