Github messages for voidlinux
 help / color / mirror / Atom feed
From: daniel-eys <daniel-eys@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] arti: update to 1.2.0.
Date: Tue, 21 May 2024 00:31:52 +0200	[thread overview]
Message-ID: <20240520223152.36EE221BE5@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47611@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

There is an updated pull request by daniel-eys against master on the void-packages repository

https://github.com/daniel-eys/void-packages arti
https://github.com/void-linux/void-packages/pull/47611

arti: update to 1.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/47611.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-arti-47611.patch --]
[-- Type: text/x-diff, Size: 2742 bytes --]

From 8aeaa4cd4991dccc1a27edbe0f9f57cfcc33db96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= <daniel.eysser@gmail.com>
Date: Tue, 5 Dec 2023 21:28:00 +0100
Subject: [PATCH] arti: update to 1.2.3.

---
 srcpkgs/arti/patches/fix-32bit-tests.patch | 19 +++++++++++++++++++
 srcpkgs/arti/template                      | 15 +++------------
 2 files changed, 22 insertions(+), 12 deletions(-)
 create mode 100644 srcpkgs/arti/patches/fix-32bit-tests.patch

diff --git a/srcpkgs/arti/patches/fix-32bit-tests.patch b/srcpkgs/arti/patches/fix-32bit-tests.patch
new file mode 100644
index 00000000000000..e800898fdb3b26
--- /dev/null
+++ b/srcpkgs/arti/patches/fix-32bit-tests.patch
@@ -0,0 +1,19 @@
+only run system_time_conversions() test on 64bit systems.
+it fails on 32bit systems with
+
+---- time_store::test::system_time_conversions stdout ----
+thread 'time_store::test::system_time_conversions' panicked at crates/tor-hsservice/src/time_store.rs:524:38:
+2038-01-19T03:14:08Z: OutOfRange
+
+diff --git a/crates/tor-hsservice/src/time_store.rs b/crates/tor-hsservice/src/time_store.rs
+index d63d6f015..fafe806d0 100644
+--- a/crates/tor-hsservice/src/time_store.rs
++++ b/crates/tor-hsservice/src/time_store.rs
+@@ -515,6 +515,7 @@ mod test {
+         assert_eq!(e, FutureTimestamp::from_str("T+23kg"));
+     }
+ 
++    #[cfg(target_pointer_width = "64")]
+     #[test]
+     #[allow(clippy::unusual_byte_groupings)] // we want them to line up, dammit!
+     fn system_time_conversions() {
diff --git a/srcpkgs/arti/template b/srcpkgs/arti/template
index f21951f2b2dcc1..49818784733abe 100644
--- a/srcpkgs/arti/template
+++ b/srcpkgs/arti/template
@@ -1,6 +1,6 @@
 # Template file for 'arti'
 pkgname=arti
-version=1.1.10
+version=1.2.3
 revision=1
 archs="x86_64* i686* aarch64* arm*" # ring
 build_style=cargo
@@ -13,18 +13,9 @@ license="Apache-2.0, MIT"
 homepage="https://gitlab.torproject.org/tpo/core/arti"
 changelog="https://gitlab.torproject.org/tpo/core/arti/-/raw/main/CHANGELOG.md"
 distfiles="https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v${version}/arti-arti-v${version}.tar.gz"
-checksum=bb7f18385022b616fb0fb04c61b890441524eaa884def1eef3c581b711814842
-
-if [ "$XBPS_CHECK_PKGS" ]; then
-	case "$XBPS_TARGET_MACHINE" in
-		# Disable LTO for i686 because otherwise tests fail with:
-		# ---- src/address.rs - address::TorAddr (line 79) stdout ----
-		# error: ran out of registers during register allocation
-		# LLVM ERROR: Cannot emit physreg copy instruction
-		i686*) export CARGO_PROFILE_RELEASE_LTO=false ;;
-	esac
-fi
+checksum=2cfbbc6aa203e0203f773158c4994ee0d55f7213c488281febeef9a15e25aec4
 
 post_install() {
 	vlicense LICENSE-MIT
+	vdoc crates/arti/src/arti-example-config.toml
 }

  parent reply	other threads:[~2024-05-20 22:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 23:42 [PR PATCH] arti: update to 1.1.11 daniel-eys
2023-12-16 11:37 ` [PR PATCH] [Updated] " daniel-eys
2024-01-10  0:02 ` daniel-eys
2024-03-10  1:10 ` [PR PATCH] [Updated] arti: update to 1.1.12 daniel-eys
2024-05-20 22:31 ` daniel-eys [this message]
2024-05-23 15:47 ` [PR PATCH] [Merged]: arti: update to 1.2.3 cinerea0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240520223152.36EE221BE5@inbox.vuxu.org \
    --to=daniel-eys@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).