From unknown Fri Sep 12 06:59:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46572 <46572@debbugs.gnu.org> To: bug#46572 <46572@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add usync. Reply-To: bug#46572 <46572@debbugs.gnu.org> Date: Fri, 12 Sep 2025 13:59:20 +0000 retitle 46572 [PATCH] gnu: Add usync. reassign 46572 guix-patches submitter 46572 Stefan Reich=C3=B6r severity 46572 normal tag 46572 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 16 17:15:38 2021 Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 22:15:38 +0000 Received: from localhost ([127.0.0.1]:41895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8d7-0000LI-Ja for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:15:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:47388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8d5-0000JZ-Q7 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:15:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC8d5-0001jW-Kq for guix-patches@gnu.org; Tue, 16 Feb 2021 17:15:35 -0500 Received: from dd3624.kasserver.com ([85.13.130.11]:34694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lC8d2-0001Hu-3K for guix-patches@gnu.org; Tue, 16 Feb 2021 17:15:35 -0500 Received: from localhost (217-149-162-201.nat.highway.telekom.at [217.149.162.201]) by dd3624.kasserver.com (Postfix) with ESMTPA id E70BA5D400DE; Tue, 16 Feb 2021 23:15:28 +0100 (CET) From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add usync. Date: Tue, 16 Feb 2021 23:15:22 +0100 Message-Id: <20210216221522.822909-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Stefan=20Reich=C3=B6r?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/sync.scm (usync): New variable. --- gnu/packages/sync.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index f3d6e9013c..8715690483 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou ;;; Copyright © 2019 Clément Lassieur ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2021 Stefan Reichör ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,6 +26,7 @@ (define-module (gnu packages sync) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system meson) @@ -46,6 +48,7 @@ #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) #:use-module (gnu packages lua) + #:use-module (gnu packages ocaml) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -53,6 +56,7 @@ #:use-module (gnu packages readline) #:use-module (gnu packages rsync) #:use-module (gnu packages selinux) + #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls)) @@ -315,6 +319,37 @@ comparatively easy to install not requiring new file systems or block devices and does not hamper local file system performance.") (license license:gpl2+))) +(define-public usync + (let ((revision "1") + (commit "09a8059a1adc22666d3ecf7872e22e6846c3ac9e")) + (package + (name "usync") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ebzzry/usync") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16i1q8f0jmfd43rb8d70l2b383vr5ib4kh7iq3yd345q7xjz9c2j")))) + (build-system copy-build-system) + (propagated-inputs + `(("scsh" ,scsh) + ("rsync" ,rsync) + ("unison" ,unison))) + (arguments + `(#:install-plan + '(("usync" "bin/usync")))) + (home-page "https://github.com/ebzzry/usync") + (synopsis "Command line site-to-site synchronization tool") + (description + "@command{usync} is a simple site-to-site synchronization program +written in @command{scsh}. It makes use of @command{unison} and +@command{rsync} for bi- and uni-directional synchronizations.") + (license license:expat)))) + (define-public casync (package (name "casync") -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 12:35:23 2021 Received: (at 46572) by debbugs.gnu.org; 25 Feb 2021 17:35:23 +0000 Received: from localhost ([127.0.0.1]:39163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFKXr-0005wZ-0r for submit@debbugs.gnu.org; Thu, 25 Feb 2021 12:35:23 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:36267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFKXo-0005wJ-O2 for 46572@debbugs.gnu.org; Thu, 25 Feb 2021 12:35:21 -0500 Received: by mail-qt1-f175.google.com with SMTP id 18so2042746qty.3 for <46572@debbugs.gnu.org>; Thu, 25 Feb 2021 09:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XVJLu9g8VZ3TBez/+8u9R1A4jwHrfUN3dI3nPxQT8VA=; b=PWwKW9QPBlPybO3X4LTzciSKPzzrshZH5yHyMpvJXxwVaEHQNS8V9ZfWSsajkf8EPp Z38ZqVaCW/JE2rbTDYj7un5u8wHkowSnuvskpfCESLskkXyT1ODqLkvA+ffVpaYEEX/4 fKX0TsuSltUiDcE1Lf7jCGBvUmbUoKyMKrhsEl/xlXah5VujpJ/0tyyuYHkO9L21JWt2 CSCPHmTxZ7GAUdv3aHO5sUOj6eyAfwE3Rpnoaf4RsqGZk6mS8dB3f8SaUJ4kX6HB7J9C lMVlm5XKpf1/r8QHkNye7+7kyKxqTsksTtxq8u8RzS5RSU0Hl6gsMJigcX4MqbGSjoi2 VHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XVJLu9g8VZ3TBez/+8u9R1A4jwHrfUN3dI3nPxQT8VA=; b=lMSK6CG8AuU4DJFReTssrK3D9L86+6L64PsHbhYAYWW6WYlKgFnNMLHnv03eXmbiJ3 DqyGUKZyRUh+pw1DSa1V8sjYxz5rNWeGshmt5gq10Z7gPU3x5gKg7ezSl3j7Nbp0x7LB x0DMB1Q6TwpYZeFBLwC0MH/DcJf9/XvQkLRvOAR2/qVcVuUuW9Cs9fbxwhIgJNj9IMNr UDq272MvNe9BDR2JWj7ENvfEj2hAZGuXoj2WCUjxj0977jSc/Jjh2ex0HbTuKfAEUdG5 fIqUaLyhJMGmgCiTUJ7CvUz/dKmOCDNQ3Uo1ey4Nj6h9WvbwbZ2I8x1wEDMbFHtZAgyZ MjSg== X-Gm-Message-State: AOAM533h+RRl6LbdoHd340dJDRkeWUaFPB3fE58vm49zVrUEW/pL5+oW GRg8tZvG/rGr9XEJsKOGEOde3TrIHZi4+4vPGII= X-Google-Smtp-Source: ABdhPJzLPDE6ggDsFW7XyCRCIITcgoHYu6BRxxi84PeIE8UgoDzUA0Sj8Cqn3D7Xxoe8i+ge7ylQqp0bAkidEvLHbWw= X-Received: by 2002:a05:622a:42:: with SMTP id y2mr3378784qtw.186.1614274515272; Thu, 25 Feb 2021 09:35:15 -0800 (PST) MIME-Version: 1.0 References: <20210220225047.682956-1-milkeymouse@meme.institute> In-Reply-To: From: zimoun Date: Thu, 25 Feb 2021 18:35:04 +0100 Message-ID: Subject: Re: [bug#46672] [PATCH] gnu: Add usync. To: =?UTF-8?Q?L=C3=A9o_Le_Bouter?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46572 Cc: 46572@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi L=C3=A9o, (Your email was for 46572@debbugs.gnu.org and not 46672@debbugs.gnu, right?= ) Note that even "guix show" would return a backtrace. The error you get comes from circular dependency, I guess. If you comment both 'unison' and '#:use-module (gnu packages ocaml)', then there is no backtrace. To find the offending path and detect the cycle, a tool is still missing, A= FAIK. Hope that helps, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 12:45:17 2021 Received: (at 46572) by debbugs.gnu.org; 25 Feb 2021 17:45:17 +0000 Received: from localhost ([127.0.0.1]:39173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFKhR-0006Ao-4K for submit@debbugs.gnu.org; Thu, 25 Feb 2021 12:45:17 -0500 Received: from mail.zaclys.net ([178.33.93.72]:45141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFKhL-0006AS-Cq for 46572@debbugs.gnu.org; Thu, 25 Feb 2021 12:45:15 -0500 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 11PHj4uw023474 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <46572@debbugs.gnu.org>; Thu, 25 Feb 2021 18:45:04 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 11PHj4uw023474 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1614275104; bh=lyUfdhG9TrB+677co2kqGJh0oSgQ2YTyyDijVxYs9wc=; h=Subject:From:To:Date:References:In-Reply-To:From; b=dTsziEyDbOtVOP4UIE4XWyit2cD4InerjGO/gO9EX2K0zrMIQZCA3FzDPyP/76Q/A 0e1nWM3cAc7+0sHaWWK7HumGUJ7XeBQ6szAuEeG8RZQqEjSdhdqJbCXSjQqxGsFln5 SNlFu5Yl5WKGIMAjCgujK9Jet4DZ5Phbqr5WO9I8= Message-ID: <2c5d3fb08be65bd52015aa446c2722440f077a59.camel@zaclys.net> Subject: [PATCH] gnu: Add usync. From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: 46572@debbugs.gnu.org Date: Thu, 25 Feb 2021 18:44:54 +0100 References: <20210220225047.682956-1-milkeymouse@meme.institute> In-Reply-To: <20210220225047.682956-1-milkeymouse@meme.institute> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-aJQ0OHKXxFl8Pn09HLGX" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46572 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-aJQ0OHKXxFl8Pn09HLGX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! Somehow after applying your patch and running "$ ./pre-inst-env guix lint usync" the following error appears, probably syntax error somewhere, can't figure it out though, can you take a look? I ran something like this to apply the patch on current GNU Guix master (a2ece4da1fdccb9e94681e38a3f3a79b0d43e061): $ curl https://issues.guix.gnu.org/issue/46572/raw/0 | git am Backtrace: In ice-9/boot-9.scm: 1736:10 19 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 636:37 18 (thunk) 1305:8 17 (call-with-build-handler # =E2=80=A6) In guix/scripts/build.scm: 499:2 16 (_) In srfi/srfi-1.scm: 673:15 15 (append-map _ _ . _) 586:17 14 (map1 ((argument . "usync") (build-mode . 0) (# . #t) =E2=80= =A6)) In guix/scripts/build.scm: 519:30 13 (_ _) In gnu/packages.scm: 477:2 12 (%find-package "usync" "usync" #f) 362:6 11 (find-best-packages-by-name _ _) 292:55 10 (_ "usync" _) In unknown file: 9 (force #) In gnu/packages.scm: 239:33 8 (fold-packages # =E2=80=A6) In guix/discovery.scm: 153:11 7 (all-modules _ #:warn _) In srfi/srfi-1.scm: 460:18 6 (fold # =E2=80=A6) In guix/discovery.scm: 143:19 5 (_ _ ()) In srfi/srfi-1.scm: 691:23 4 (filter-map #= . #) In guix/discovery.scm: 118:22 3 (_ . _) In ice-9/eval.scm: 619:8 2 (_ #(#(# (# "re=E2=80=A6" = =E2=80=A6)))) In ice-9/boot-9.scm: 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (python (gnu packages python)) #f))'. Thank you! --=-aJQ0OHKXxFl8Pn09HLGX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmA34hYACgkQRaix6GvN EKbJZQ//Wb3FPs+9ugmxzJlEsa4AqS/7GF4Nx3Xe6wGu10SKk6+zhKXfXzBcwmz8 TMdgIPfhjMCcCTQk70PTl4BX6cU3gdzAs4zjArDK9Ielq7AV6PSj/xgvcUsvE8Rh rq332dh9CjQkVacMif0+oFYkOLl050rB2JQVsalxm8oYXhb/N8pLsB6jJZFC9YgA GvqzddfHE8yK7Libbex7qvvpDTdWBSMUTvOoMQfZeZ6TTAMnWzzUNkXMzDVQ3AoP +kOMzOQN7xYotrLECZLikFU0y+7Vewj+FNvCFh+GI8QRu2KxfFtlOG53gc728ycJ g9WUVN9DGgWjVmv3up7kJ0sqtO+ORWighfWr9Yx7do1ICsVBFDtm4qSsxbWUqLQZ McUu81S1n+ufllM8cFcZDhr1dVbZCrFcVzMi7OvOjvi2wtgKaf6/WSzlCGl90zWx sJPELfNIybdClLf9Fdwk8dcAk1k7/KbutesdZ1sUtb0nHZX8cI59braUwlXpLFgq FnpFLMKIHMLqRle9Uslw2dkK/K20ZBS1HnVHQnNFqVo9islRTaWi6L3EBinik+J1 3/bwTTao5F3cOXDV+Dpsfpu5/8FUnzg453BrF+L1l5NGpcDigfinAWcu9X2Mg358 bTG9RjjVd0MnRl/XiY9IToGJIJuTPLFt0RL2STp09WKI5BGiYaU= =BZu3 -----END PGP SIGNATURE----- --=-aJQ0OHKXxFl8Pn09HLGX-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 02 16:12:07 2021 Received: (at 46572-done) by debbugs.gnu.org; 2 Mar 2021 21:12:07 +0000 Received: from localhost ([127.0.0.1]:54358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHCJL-0005T5-FH for submit@debbugs.gnu.org; Tue, 02 Mar 2021 16:12:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHCJI-0005ST-5O for 46572-done@debbugs.gnu.org; Tue, 02 Mar 2021 16:12:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48616) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHCJC-0002hl-7S; Tue, 02 Mar 2021 16:11:58 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60086 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lHCJB-00056k-SF; Tue, 02 Mar 2021 16:11:58 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Stefan =?utf-8?Q?Reich=C3=B6r?= Subject: Re: bug#46572: [PATCH] gnu: Add usync. References: <20210216221522.822909-1-stefan@xsteve.at> Date: Tue, 02 Mar 2021 22:11:55 +0100 In-Reply-To: <20210216221522.822909-1-stefan@xsteve.at> ("Stefan =?utf-8?Q?Reich=C3=B6r=22's?= message of "Tue, 16 Feb 2021 23:15:22 +0100") Message-ID: <87k0qptg4k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46572-done Cc: 46572-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Stefan Reich=C3=B6r skribis: > * gnu/packages/sync.scm (usync): New variable. Applied, thanks! zimoun skribis: > The error you get comes from circular dependency, I guess. > If you comment both 'unison' and '#:use-module (gnu packages ocaml)', > then there is no backtrace. This came from the reference to =E2=80=98llvm=E2=80=99 in commit 8f710cc598fb675d267f49a82cffc197f03ad52c. Fixed now. Thanks you & L=C3=A9o for reporting it! Ludo=E2=80=99. From unknown Fri Sep 12 06:59:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 31 Mar 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator