Nightly build fails with error for macOS

Problems installing on other platforms
Post Reply
dbolli
New member
Posts: 4
Joined: Wed Mar 27, 2013 7:10 pm

Nightly build fails with error for macOS

Post by dbolli »

Hi There,

I get the following error message when running "sudo ./build.sh" 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
"

Regards,
Derek.
alvin
Well known member
Posts: 1872
Joined: Mon Jul 16, 2007 7:39 pm

Post 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.
User avatar
dom
Well known member
Posts: 1194
Joined: Sun Jul 15, 2007 10:01 pm

Post 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.
dbolli
New member
Posts: 4
Joined: Wed Mar 27, 2013 7:10 pm

Post by dbolli »

Many thanks, deleting /usr/local/share/z88dk worked and the build now completes.

I will add this to my build steps.

Regards,
Derek.
Post Reply