pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57237: Update lang/nim to 1.6.10



>Number:         57237
>Category:       pkg
>Synopsis:       Update lang/nim to 1.6.10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 17 21:15:00 +0000 2023
>Originator:     Chavdar Ivanov
>Release:        current as of 17/02/2023
>Organization:
CI4 Consulting Ltd
>Environment:
NetBSD ymir.lorien.lan 10.99.2 NetBSD 10.99.2 (GENERIC) #1: Thu Feb 16 10:26:26 GMT 2023  sysbuild%ymir.lorien.lan@localhost:/home/sysbuild/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
lang/nim needs an update to the latest release version 1.6.10. 

Tested under -current amd64 and aarch64, as well as under Ubuntu aarch64.
>How-To-Repeat:
n/a
>Fix:
Patch for lang/nim:

? patches/patch-tssl-nim
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/nim/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	14 Jan 2023 07:31:21 -0000	1.30
+++ Makefile	17 Feb 2023 10:53:01 -0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2023/01/14 07:31:21 charlotte Exp $
+# $NetBSD: Makefile,v 1.30 2022/02/17 10:26:10 ci4ic Exp $
 
-DISTNAME=	nim-1.6.8
-PKGREVISION=	1
+DISTNAME=	nim-1.6.10
 CATEGORIES=	lang
 MASTER_SITES=	http://nim-lang.org/download/
 EXTRACT_SUFX=	.tar.xz
@@ -14,6 +13,7 @@
 DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils
 
 USE_TOOLS+=	bash pax
+USE_LANGUAGES+=	c c++
 REPLACE_BASH+=	bin/nim-gdb
 
 INSTALLATION_DIRS=	bin
@@ -49,6 +49,6 @@
 
 do-test:
 	cd ${WRKSRC} && ./bin/nim compile koch.nim
-	cd ${WRKSRC} && LD_LIBRARY_PATH=${PREFIX}/lib ./koch test --parallelBuild:${_MAKE_JOBS_N}
+	cd ${WRKSRC} && LD_LIBRARY_PATH=${PREFIX}/lib ./koch test all --parallelBuild:${_MAKE_JOBS_N}
 
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/nim/PLIST,v
retrieving revision 1.16
diff -u -r1.16 PLIST
--- PLIST	13 Oct 2022 01:17:14 -0000	1.16
+++ PLIST	17 Feb 2023 10:53:01 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2022/10/13 01:17:14 charlotte Exp $
+@comment $NetBSD$
 bin/nim
 bin/nim-gdb
 bin/nim-gdb.bash
@@ -559,6 +559,8 @@
 nim/nimsuggest/tests/tuse_structure.nim
 nim/nimsuggest/tests/tv3.nim
 nim/nimsuggest/tests/tv3_definition.nim
+nim/nimsuggest/tests/tv3_forward_definition.nim
+nim/nimsuggest/tests/tv3_globalSymbols.nim
 nim/nimsuggest/tests/tv3_import.nim
 nim/nimsuggest/tests/tv3_typeDefinition.nim
 nim/nimsuggest/tests/twithin_macro.nim
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/nim/distinfo,v
retrieving revision 1.24
diff -u -r1.24 distinfo
--- distinfo	29 Sep 2022 22:05:39 -0000	1.24
+++ distinfo	17 Feb 2023 10:53:01 -0000
@@ -1,6 +1,7 @@
 $NetBSD: distinfo,v 1.24 2022/09/29 22:05:39 charlotte Exp $
 
-BLAKE2s (nim-1.6.8.tar.xz) = fb28347e9d7db6227ace68ad676695fd6085d1e545319d4f4935468de0064b8d
-SHA512 (nim-1.6.8.tar.xz) = dd046dd393136fdcb78f463e267756bdb990b08e80e3a8be7fec1995b47a930447468e12bb9a59db6ec5546117f62ff4ccd032959879ef2d1d06a7bc5c438f83
-Size (nim-1.6.8.tar.xz) = 5219880 bytes
+BLAKE2s (nim-1.6.10.tar.xz) = 83cb0514d64dba07bd0664ba22134527faaaef1cf5e9858ac027a71c32883316
+SHA512 (nim-1.6.10.tar.xz) = 2ba6c4db68030ace2b4dd9b7f85d2b7c882c62e8f7f68bd0b82f548c91c300ab0e03c66f56c678127058f56b75a5550dec48d68eb6d666a179994cd1a6e2cc47
+Size (nim-1.6.10.tar.xz) = 5216284 bytes
 SHA1 (patch-bin_nim-gdb) = 0d4e9ae4cc8687ca7821891b63808fa1d175069c
+SHA1 (patch-tssl-nim) = f5b0773258e26eab49d1f55f6859c765805201be


patch-tssl-nim: (required - otherwise the test hangs under NetBSD at least):

--- tests/stdlib/tssl.nim.orig	2022-09-27 02:11:49.000000000 +0100
+++ tests/stdlib/tssl.nim	2022-11-01 13:24:18.193138744 +0000
@@ -2,6 +2,7 @@
   joinable: false
   disabled: "freebsd"
   disabled: "openbsd"
+  disabled: "netbsd"
 """
 # disabled: pending bug #15713
 import net, nativesockets





Home | Main Index | Thread Index | Old Index