Package Details: c64-debugger-git

Git Clone URL: (read-only, click to copy)
Package Base: c64-debugger-git
Description: Commodore 64 and Atari XL/XE debugger that works in real time
Upstream URL:
Licenses: unknown
Conflicts: c64-debugger
Provides: c64-debugger
Submitter: ruzsa.balazs
Maintainer: ruzsa.balazs
Last Packager: ruzsa.balazs
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-08 12:51
Last Updated: 2020-11-15 07:07

Latest Comments

arch_jeff commented on 2020-11-15 13:51

Thanks! I can confirm it works now.

ruzsa.balazs commented on 2020-11-15 07:08

Fixed the build by replacing any dashes found in the generated pkgver with underscores.

arch_jeff commented on 2020-11-13 15:34

This PKGBUILD will no longer build:

==> Starting prepare()...
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version:
:: Unable to build c64-debugger-git - makepkg exited with code: 12

ruzsa.balazs commented on 2020-06-14 12:29

Found it. It's due to a change in GCC 10.

As says: "GCC now defaults to -fno-common. As a result, global variable accesses are more efficient on various targets. In C, global variables with multiple tentative definitions now result in linker errors. With -fcommon such definitions are silently merged during linking."

In other words, GCC 10 puts global variables without an initializer into the .bss section, while previously these were placed into a COMMON block where the linker could find them and unify them into a single object at link time.

Adding -fcommon to CFLAGS fixed the problem on my machine.

I incorporated this fix into the PKGBUILD, so if you do a git pull and remove the src directory (necessary because the problematic object files need to be rebuilt), you shall be able to build the package without problems.

ruzsa.balazs commented on 2020-06-14 11:23

I tried to reproduce this. My first build (of the latest upstream version succeeded. Then I upgraded Arch via pacman -Syu and rebooted my system. Afterwards building the same upstream version in the same way (makepkg -s) failed and I got the same error message you did.

From this it would seem the error is due to some Arch issue, not an upstream issue.

PTBM133A4X commented on 2020-06-14 00:41

I tried to install this tonight but after downloading and building it, I got this right at the end.

/usr/bin/ld: Games/c64/Emulators/atari800/cpu.o:(.bss+0x1a): multiple definition of CPU_regPC'; Games/c64/Emulators/atari800/AtariInterface/AtariWrapper.o:(.bss+0x18): first defined here /usr/bin/ld: Games/c64/Emulators/vice/arch/ui.o:(.bss+0x0): multiple definition ofc64d_is_cpu_in_jam_state'; Games/c64/Emulators/atari800/esc.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:77: c64debugger] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build c64-debugger-git. ==> Restart building c64-debugger-git ? [y/N]