From bc2d0e4d76eb7ffdcd26a57f80496e48e066c76c Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 24 Nov 2020 03:36:09 +0100 Subject: [PATCH] choosenim: broken on ppc-musl ... /builddir/choosenim-0.7.4/nimarchive/nimarchive/archive.nim(36, 8) template/generic instantiation of `cImport` from here ... /usr/lib/nim/lib/system/fatal.nim(49, 5) Error: unhandled exception: cimport.nim(138, 16) `false` ... # Generated @ 2020-11-24T03:33:34+01:00 ... # Command line: ... # /tmp/.nimble/pkgs/nimterop-0.6.13/nimterop/toast --preprocess -m:c --pnim --symOverride=stat,dev_t,mode_t,archive_read_open_file,archive_write_open_file --nim:/usr/lib/nim/bin/nim --pluginSourcePath=/tmp/.cache/nim/nimterop/cPlugins/nimterop_1173585241.nim /builddir/choosenim-0.7.4/src/archive.h /builddir/choosenim-0.7.4/src/archive_entry.h -o /tmp/.cache/nim/nimterop/toastCache/nimterop_1397168449.nim ... Assertion failed: symbol < self->token_count (/tmp/.cache/nim/nimterop/nimterop/treesitter/lib/src/./language.c: ts_language_table_entry: 33) --- srcpkgs/choosenim/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/choosenim/template b/srcpkgs/choosenim/template index 10cdb557589..d76f1a49bc7 100644 --- a/srcpkgs/choosenim/template +++ b/srcpkgs/choosenim/template @@ -14,6 +14,10 @@ distfiles="${homepage}/archive/v${version}.tar.gz>choosenim-${version}.tar.gz checksum="0e78a59cfb3cf7926f8dff3a4215949ccfaecd6c6dddc3b2e062098b5da03edb c38e8c66c2eac2bc021d450f2b60d0e45c5355df963d0133930448639c0bd8d4" +case "$XBPS_TARGET_MACHINE" in + ppc-musl) broken="ftbfs" ;; +esac + post_extract() { mv ../nimarchive-0.5.4 nimarchive }