Package Details: opencbm-git r1252.9b57b1f-1

Git Clone URL: https://aur.archlinux.org/opencbm-git.git (read-only)
Package Base: opencbm-git
Description: OpenCBM allows access to Commodore (C64) storage devices VIC 1540, 1541, 1570, 1571, or even 1581 floppy drive
Upstream URL: http://sourceforge.net/projects/opencbm/
Licenses: GPL2
Submitter: uffe
Maintainer: uffe
Last Packager: uffe
Votes: 3
Popularity: 0.006398
First Submitted: 2014-07-24 13:17
Last Updated: 2018-05-19 23:28

Latest Comments

Maniaxx commented on 2018-05-05 17:29

Previous diffs are merged already. This are new bugs.

Use this fixed PKGBUILD until merged: https://pastebin.com/raw/aNL5hS09

Fixes:

  • Prevent make job race condition: options=(!makeflags)
  • Missing file: opencbm/sample/testlines/testlines.1

Kakashi-sensei commented on 2018-05-03 22:10

I have no idea how to patch Maniaxx' PKGBUILD with jamincollins' diff etc. Can someone please just fix this package?

Maniaxx commented on 2017-09-15 17:08

Package doesn't compile. Here is a fixed PKGBUILD with kernel module. I have tested it with XMP1541 cable on parallel port.
Needs 'export CC65_HOME=/usr/share/cc65' set before compilation.
https://pastebin.com/hd8MHcdg

There might be a race condition on SMP/Multithread systems. If it doesn't compile just try again (makepkg -Cf).

jamincollins commented on 2017-04-13 17:50

AFAICT, this package currently fails to build, with an error like the following:

if [ -z "" ]; then echo "No KERNEL_SOURCE found, aborting!"; exit 1; fi
No KERNEL_SOURCE found, aborting!
make[1]: *** [LINUX/Makefile:56: checksources] Error 1

This seems to be due to the xa1541 plugin[1].

However, after fixing the above the package build still fails trying to remove a non-existent directory within the pkgdir. Presumably this directory was previously present and empty (based on the PKGBUILD comment).

The following diff fixes both issues:

diff --git a/PKGBUILD b/PKGBUILD
index c49a73d..5a7a472 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,6 +37,12 @@ pkgver() {

prepare() {
cd "${srcdir}/code"
+ sed \
+ --regexp-extended \
+ --in-place \
+ --expression='s|^(PLUGINS.*)plugin-xa1541(.*)|\1\2|' \
+ --expression='s|^(INSTALL_PLUGINS.*)install-plugin-xa1541(.*)|\1\2|' \
+ LINUX/Makefile
}

build() {
@@ -57,8 +63,7 @@ package() {
# remove kernel modules - not supported by this pkg
rm -rf "${pkgdir}/lib/modules"
# clean up empty dirs
- rmdir "${pkgdir}/lib"
- rmdir "${pkgdir}/usr/share/info"
+ find ${pkgdir} -type d -empty | xargs -L1 rmdir
}

# EOF

[1] - http://opencbm-user.22011.x6.nabble.com/opencbm-user-opencbm-on-Raspberry-Pi-tp63p64.html

fatmike commented on 2016-11-28 19:03

The make command seems to finish successfully but the pkgbuild failes anyway.
Could you check this?

fatmike commented on 2015-08-08 20:54

Please remove erroneous ',' in arch.

Could you please install all files into /usr/... and not in /usr/local/...
See the Archlinux filesystem hierarchy: https://wiki.archlinux.org/index.php/Arch_filesystem_hierarchy