dciabrin / ngdevkit

Open source development for Neo-Geo
GNU Lesser General Public License v3.0
262 stars 26 forks source link

Packaging of ngdevkit-toolchain is broken for sdcc #105

Closed dciabrin closed 7 months ago

dciabrin commented 7 months ago

Tested on latest nightly on Ubuntu PPA, the sdldz80 binary should point to a shell script as explained in dciabrin/ngdevkit#98, however the nightly package still ship the original binary, and this breaks sdld:

SDLD_DIAG=1 z80-neogeo-ihx-sdldz80 2>/dev/null
sdld path: z80-neogeo-ihx-sdldz80
is sdld: 0

On Fedora COPR, sdldz80 is a shell script that execs into the real binary as expected, but this binary is not packaged:

SDLD_DIAG=1 /usr/bin/z80-neogeo-ihx-sdldz80            
/usr/bin/z80-neogeo-ihx-sdldz80: line 3: /usr/z80-neogeo-ihx/bin/sdldz80: No such file or directory

There seems to be the same issue with MSYS2 package:


/ucrt64/bin/z80-neogeo-ihx-sdasz80 -g -l -p -u -I../nullsound -o user_commands.rel user_commands.s
/ucrt64/bin/z80-neogeo-ihx-sdasz80: line 3: /ucrt64/z80-neogeo-ihx/bin/sdasz80.exe: No such file or directory
dciabrin commented 7 months ago

The sdcc build issue has been fixed, but the deb packages are still broken for another reason tracked in https://github.com/dciabrin/ngdevkit/issues/106.