From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 14:56:52 2017 Received: (at submit) by debbugs.gnu.org; 3 Apr 2017 18:56:52 +0000 Received: from localhost ([127.0.0.1]:59434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv79o-0005Yd-E1 for submit@debbugs.gnu.org; Mon, 03 Apr 2017 14:56:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cv79j-0005Xo-HT for submit@debbugs.gnu.org; Mon, 03 Apr 2017 14:56:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cv79d-0001Dj-Ol for submit@debbugs.gnu.org; Mon, 03 Apr 2017 14:56:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cv79d-0001DQ-M0 for submit@debbugs.gnu.org; Mon, 03 Apr 2017 14:56:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cv79c-0007ca-87 for bug-guix@gnu.org; Mon, 03 Apr 2017 14:56:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cv79Z-00012R-62 for bug-guix@gnu.org; Mon, 03 Apr 2017 14:56:40 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:53192) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cv79Y-0000z9-Vk for bug-guix@gnu.org; Mon, 03 Apr 2017 14:56:37 -0400 Received: from localhost (77.118.157.188.wireless.dyn.drei.com [77.118.157.188]) by dd1012.kasserver.com (Postfix) with ESMTPSA id DA6BA1CA198E for ; Mon, 3 Apr 2017 20:56:34 +0200 (CEST) Date: Mon, 3 Apr 2017 20:56:32 +0200 From: Danny Milosavljevic To: Subject: GuixSD /tmp cleaner fails to clean when Umlauts like =?ISO-8859-1?Q?"=E4"?= are used in filenames Message-ID: <20170403202146.2a9317ce@scratchpost.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) Hi, the GuixSD /tmp cleaner fails to clean when Umlauts like "=C3=A4" are used = in filenames. It will just leave them there. For example I have an immortal file "/tmp/!x!home!dannym!scratchpost.org!ww= w!mirror!science!physics!03._Relativit=C3=A4tstheorie!.webseealso~". From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 12 09:04:15 2017 Received: (at 26353) by debbugs.gnu.org; 12 Apr 2017 13:04:16 +0000 Received: from localhost ([127.0.0.1]:43920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyHwV-0007J7-N2 for submit@debbugs.gnu.org; Wed, 12 Apr 2017 09:04:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyHwU-0007Iu-D2 for 26353@debbugs.gnu.org; Wed, 12 Apr 2017 09:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyHwK-0003xM-FF for 26353@debbugs.gnu.org; Wed, 12 Apr 2017 09:04:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyHwK-0003xF-Cw; Wed, 12 Apr 2017 09:04:04 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:40822 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cyHwJ-00007I-Ll; Wed, 12 Apr 2017 09:04:04 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> Date: Wed, 12 Apr 2017 15:04:01 +0200 In-Reply-To: <20170403202146.2a9317ce@scratchpost.org> (Danny Milosavljevic's message of "Mon, 3 Apr 2017 20:56:32 +0200") Message-ID: <87poghdbge.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Danny, Danny Milosavljevic skribis: > the GuixSD /tmp cleaner fails to clean when Umlauts like "=C3=A4" are use= d in filenames. It will just leave them there. > > For example I have an immortal file "/tmp/!x!home!dannym!scratchpost.org!= www!mirror!science!physics!03._Relativit=C3=A4tstheorie!.webseealso~". The problem is that the =E2=80=9Cactivation scripts=E2=80=9D run in the C l= ocale and thus Guile interprets file names in this locale encoding (i.e., ASCII), which fails. I believe the attached patch mostly fixes the problem. Could you try and report back? I say =E2=80=9Cmostly=E2=80=9D because if /tmp contains a file in an encodi= ng other than that of the system locale, we still have a problem. Once we=E2=80=99ve switched to Guile 2.2, we should probably force use of an ISO-8859-1 locale to avoid file name decoding altogether. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/services.scm b/gnu/services.scm index 9f6e323e1..500724eec 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -248,9 +248,9 @@ directory." ;; The service that produces the boot script. (service boot-service-type #t)) -(define (cleanup-gexp _) +(define (cleanup-gexp locale) "Return as a monadic value a gexp to clean up /tmp and similar places upon -boot." +boot. Run with LOCALE to ensure file names are properly decoded." (with-monad %store-monad (with-imported-modules '((guix build utils)) (return #~(begin @@ -272,6 +272,13 @@ boot." #t)))) ;; Ignore I/O errors so the system can boot. (fail-safe + ;; Guile decodes file names according to the current + ;; locale's encoding so attempt to use an appropriate + ;; locale. See . + ;; TODO: With Guile 2.2, choose an ISO-8859-1 locale + ;; to disable decoding altogether. + (setlocale LC_CTYPE #$locale) + (delete-file-recursively "/tmp") (delete-file-recursively "/var/run") (mkdir "/tmp") @@ -280,7 +287,8 @@ boot." (chmod "/var/run" #o755)))))))) (define cleanup-service-type - ;; Service that cleans things up in /tmp and similar. + ;; Service that cleans things up in /tmp and similar. Its value is the name + ;; of a locale to install before traversing these directories. (service-type (name 'cleanup) (extensions (list (service-extension boot-service-type diff --git a/gnu/system.scm b/gnu/system.scm index 0f52351cf..5e0d2db7d 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -309,7 +309,8 @@ a container or that of a \"bare metal\" system." ;; activation code. %shepherd-root-service %activation-service - (service cleanup-service-type #f) + (service cleanup-service-type + (operating-system-locale os)) (pam-root-service (operating-system-pam-services os)) (account-service (append (operating-system-accounts os) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 19:31:11 2017 Received: (at 26353) by debbugs.gnu.org; 22 Apr 2017 23:31:11 +0000 Received: from localhost ([127.0.0.1]:34880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d24Uh-00082d-0g for submit@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d24Uf-00082R-2s for 26353@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d24UV-0002ur-A0 for 26353@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d24UV-0002un-6W; Sat, 22 Apr 2017 19:30:59 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:55578 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d24UU-00052m-J2; Sat, 22 Apr 2017 19:30:58 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> Date: Sun, 23 Apr 2017 01:30:56 +0200 In-Reply-To: <87poghdbge.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 12 Apr 2017 15:04:01 +0200") Message-ID: <87mvb8f2a7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) Hello, Did you have a chance to look at this patch? TIA, Ludo=E2=80=99. ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Hi Danny, > > Danny Milosavljevic skribis: > >> the GuixSD /tmp cleaner fails to clean when Umlauts like "=C3=A4" are us= ed in filenames. It will just leave them there. >> >> For example I have an immortal file "/tmp/!x!home!dannym!scratchpost.org= !www!mirror!science!physics!03._Relativit=C3=A4tstheorie!.webseealso~". > > The problem is that the =E2=80=9Cactivation scripts=E2=80=9D run in the C= locale and > thus Guile interprets file names in this locale encoding (i.e., ASCII), > which fails. > > I believe the attached patch mostly fixes the problem. Could you try > and report back? > > I say =E2=80=9Cmostly=E2=80=9D because if /tmp contains a file in an enco= ding other than > that of the system locale, we still have a problem. > > Once we=E2=80=99ve switched to Guile 2.2, we should probably force use of= an > ISO-8859-1 locale to avoid file name decoding altogether. > > Thanks, > Ludo=E2=80=99. > > diff --git a/gnu/services.scm b/gnu/services.scm > index 9f6e323e1..500724eec 100644 > --- a/gnu/services.scm > +++ b/gnu/services.scm > @@ -248,9 +248,9 @@ directory." > ;; The service that produces the boot script. > (service boot-service-type #t)) >=20=20 > -(define (cleanup-gexp _) > +(define (cleanup-gexp locale) > "Return as a monadic value a gexp to clean up /tmp and similar places = upon > -boot." > +boot. Run with LOCALE to ensure file names are properly decoded." > (with-monad %store-monad > (with-imported-modules '((guix build utils)) > (return #~(begin > @@ -272,6 +272,13 @@ boot." > #t)))) > ;; Ignore I/O errors so the system can boot. > (fail-safe > + ;; Guile decodes file names according to the current > + ;; locale's encoding so attempt to use an appropria= te > + ;; locale. See . > + ;; TODO: With Guile 2.2, choose an ISO-8859-1 locale > + ;; to disable decoding altogether. > + (setlocale LC_CTYPE #$locale) > + > (delete-file-recursively "/tmp") > (delete-file-recursively "/var/run") > (mkdir "/tmp") > @@ -280,7 +287,8 @@ boot." > (chmod "/var/run" #o755)))))))) >=20=20 > (define cleanup-service-type > - ;; Service that cleans things up in /tmp and similar. > + ;; Service that cleans things up in /tmp and similar. Its value is th= e name > + ;; of a locale to install before traversing these directories. > (service-type (name 'cleanup) > (extensions > (list (service-extension boot-service-type > diff --git a/gnu/system.scm b/gnu/system.scm > index 0f52351cf..5e0d2db7d 100644 > --- a/gnu/system.scm > +++ b/gnu/system.scm > @@ -309,7 +309,8 @@ a container or that of a \"bare metal\" system." > ;; activation code. > %shepherd-root-service > %activation-service > - (service cleanup-service-type #f) > + (service cleanup-service-type > + (operating-system-locale os)) >=20=20 > (pam-root-service (operating-system-pam-services os)) > (account-service (append (operating-system-accounts os) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 19:31:21 2017 Received: (at control) by debbugs.gnu.org; 22 Apr 2017 23:31:21 +0000 Received: from localhost ([127.0.0.1]:34883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d24Ur-000831-9y for submit@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d24Up-00082o-UG for control@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d24Uf-000355-VG for control@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d24Uf-00034r-TC for control@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:09 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:55580 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d24Uf-00054z-89 for control@debbugs.gnu.org; Sat, 22 Apr 2017 19:31:09 -0400 Date: Sun, 23 Apr 2017 01:31:07 +0200 Message-Id: <87lgqsf29w.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26353 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) tags 26353 patch From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 20:14:55 2017 Received: (at 26353) by debbugs.gnu.org; 23 Apr 2017 00:14:55 +0000 Received: from localhost ([127.0.0.1]:34933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d25B1-0002QH-IH for submit@debbugs.gnu.org; Sat, 22 Apr 2017 20:14:55 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:42198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d25B0-0002Q9-Fd for 26353@debbugs.gnu.org; Sat, 22 Apr 2017 20:14:54 -0400 Received: from localhost (77.118.129.111.wireless.dyn.drei.com [77.118.129.111]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 83A541CA1FE9; Sun, 23 Apr 2017 02:14:52 +0200 (CEST) Date: Sun, 23 Apr 2017 02:14:48 +0200 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?ISO-8859-1?Q?"=E4"?= are used in filenames Message-ID: <20170423021448.6bcb3235@scratchpost.org> In-Reply-To: <87mvb8f2a7.fsf@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -0.7 (/) Hi Ludo, I've applied it, but the system update is still running. Because of the massive number of patches I write I don't track master daily. I'm always behind 2 weeks (because that's the time until I can merge a patch). It seems lately a huge update got merged :) Right now it's compiling qtbase from source locally (not Hydra - no idea why). 70 GiB non-home root partition seems also be too small for it all. I have to do guix gc quite often - I'll have to repartition somewhen. texlive finally downloaded correctly *shrugs*. Texlive is really getting on my nerves - isn't it possible to modularize it more? Also, one shouldn't require 2 GiB for a word processor and DTP. *mumble mumble* But I will test the tmp cleaner, it will just take some time. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 22:03:15 2017 Received: (at 26353) by debbugs.gnu.org; 23 Apr 2017 02:03:15 +0000 Received: from localhost ([127.0.0.1]:35010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d26rr-0006qt-Gh for submit@debbugs.gnu.org; Sat, 22 Apr 2017 22:03:15 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:58234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d26rp-0006qk-25 for 26353@debbugs.gnu.org; Sat, 22 Apr 2017 22:03:13 -0400 Received: from localhost (77.118.129.111.wireless.dyn.drei.com [77.118.129.111]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 5D7AA1CA1FE9; Sun, 23 Apr 2017 04:03:11 +0200 (CEST) Date: Sun, 23 Apr 2017 04:03:01 +0200 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?ISO-8859-1?Q?"=E4"?= are used in filenames Message-ID: <20170423040301.53ea208f@scratchpost.org> In-Reply-To: <87mvb8f2a7.fsf@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) 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: 26353 Cc: 26353@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: -0.7 (/) On Sun, 23 Apr 2017 01:30:56 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Did you have a chance to look at this patch? Hmm, guix system reconfigure finished with the patch, I rebooted, and I get= the same error message (No such file) and the file is still there. My operating-system locale is en_US.UTF-8. From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 10:51:18 2017 Received: (at 26353) by debbugs.gnu.org; 1 May 2017 14:51:18 +0000 Received: from localhost ([127.0.0.1]:49758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CfW-0001gB-GJ for submit@debbugs.gnu.org; Mon, 01 May 2017 10:51:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CfV-0001fz-Nk for 26353@debbugs.gnu.org; Mon, 01 May 2017 10:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5CfN-0004pP-JZ for 26353@debbugs.gnu.org; Mon, 01 May 2017 10:51:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5CfN-0004pL-G3; Mon, 01 May 2017 10:51:09 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:35942 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5CfM-0006Tj-SN; Mon, 01 May 2017 10:51:09 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: TeX Live References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 01 May 2017 16:51:06 +0200 In-Reply-To: <20170423021448.6bcb3235@scratchpost.org> (Danny Milosavljevic's message of "Sun, 23 Apr 2017 02:14:48 +0200") Message-ID: <871ss83a1x.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) Hi Danny! Danny Milosavljevic skribis: > 70 GiB non-home root partition seems also be too small for it all. I have= to do guix gc quite often - I'll have to repartition somewhen. > > texlive finally downloaded correctly *shrugs*. Texlive is really getting= on my nerves - isn't it possible to modularize it more? Also, one shouldn= 't require 2 GiB for a word processor and DTP. *mumble mumble* TeX Live is getting on everybody=E2=80=99s nerves. :-) There are ways to turn it into a zillion packages from CTAN, which is what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to achieve this and I would really like to see it happen. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 11:11:29 2017 Received: (at 26353) by debbugs.gnu.org; 1 May 2017 15:11:30 +0000 Received: from localhost ([127.0.0.1]:49794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Cz3-00029K-OL for submit@debbugs.gnu.org; Mon, 01 May 2017 11:11:29 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Cz2-00029D-Ej for 26353@debbugs.gnu.org; Mon, 01 May 2017 11:11:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 65934206CC; Mon, 1 May 2017 11:11:28 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 01 May 2017 11:11:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=7koGPcSumYCI2ME/vEHKqIQ4KJfId1UH3awG04nEN +E=; b=A5RkMA0DdZBvbpyh1oQJUUQpirPqBJQoX+TMrHKBLkL8ph8VhiIFCpKzs feduQkXUL1FtvZep+lqUIcAs8ach04MZb3dJB5ooGYayBylkqypal4RhpQTr90Ap mJ7u0l2LVQld3qHhoU4VU6VOjyJMVwMKEH9S+WQfgSEJ6s7v6ts2JUxk09IsVy35 mIbvhKbKBXUWZIozkUY2aycmJtvLnnNbkusZk9rSO8XCrWoDA1ShDCeioy84Y7cD 7wIdunf0CiT4csOVMdta1GkTNfhKYTHgAR68ANRADn575zqnxPvkU4KI2GjiJNyY 10A4MbBEvrY0bObwcNLgmk5Nwd83Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=7koGPcSumYCI2ME/vE HKqIQ4KJfId1UH3awG04nEN+E=; b=FX76lrXIF+j9bvFIQj7ftHePxVS01cwajX NptjRcpHAW2wwal0+20bkeSHz0QTCRbAefSnE31TLaFGMyW0o5zMFmaXaADa906+ 4bda+NWzpmBQjmCFjWwpdVzt0Xzu6ZMoHK1Zh+FmxH5vQfZItL7sGMkZ372xflWF FFR59ih2patGCJYJFLoDPXNVwkAl7Hl7f6I3dTUHHUofAuv+NjvJ/HGFXhWeRTcX qdqivYjMBBIs/WLaHDKf33n+U8v4MaXiaO9TEZ6QwMmQvtoycLh/TLXGS08weAIm kdY0p1J0kahxkDGx0b9+YVAfAQIBakUJvBuwsRPT1yYvykh8Fp7w== X-ME-Sender: X-Sasl-enc: YY6XHTvmhqK//qf2DQkLbmP7rhHVgmvx59lYmGrEW90h 1493651487 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id DA72F247DA; Mon, 1 May 2017 11:11:27 -0400 (EDT) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Danny Milosavljevic Subject: Re: bug#26353: TeX Live In-Reply-To: <871ss83a1x.fsf_-_@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Mon, 01 May 2017 17:11:26 +0200 Message-ID: <87y3ugfw81.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Danny! > > Danny Milosavljevic skribis: > >> 70 GiB non-home root partition seems also be too small for it all. I hav= e to do guix gc quite often - I'll have to repartition somewhen. >> >> texlive finally downloaded correctly *shrugs*. Texlive is really gettin= g on my nerves - isn't it possible to modularize it more? Also, one should= n't require 2 GiB for a word processor and DTP. *mumble mumble* > > TeX Live is getting on everybody=E2=80=99s nerves. :-) > > There are ways to turn it into a zillion packages from CTAN, which is > what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to > achieve this and I would really like to see it happen. That would be great. I miss this snippet from my ~/.nixpkgs/config.nix: myTex =3D pkgs.texlive.combine { inherit (texlive) scheme-small marginnote sectsty cm-super enumitem xifthen ifmtarg unicode-math filehook collection-fontsrecommended collection-fontsextra libertine gentium-tug ucharcat; }; --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkHUB4ACgkQoqBt8qM6 VPoMOAf/blwksT4ysAtwfN2mK3JobQHvdJ2rP/NYIbr9i4WTMVsCqj452Ofz/YFr g2FdiRvD/luVwMrcVfR48gUgkxMWewSBxSOubTIliR5zFg7ACQtlYAcywXm8Vy7f 05CuU/Aj6WWYnCR8kvgtRzwy3pkMs+HideN/4Krd1UBapb9FcPuWtauc38Vmnnvn x94pDsF8WU2cmHIErDqR6pVUvW9Erwc4pvK/VhvpZeJOFXohzAee94bKQeUJvGlQ JGBww0MvmzrX9w93Kc8E4lidATk1xhEnUqyMcmiF+fG4gGJWYvCuVaLUzOQSW8gc KlK4HNtelhJBkeicZI9Z98kvL7RkAQ== =dtpz -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 16:59:36 2017 Received: (at 26353) by debbugs.gnu.org; 1 May 2017 20:59:36 +0000 Received: from localhost ([127.0.0.1]:49995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5IPw-0003Ya-5R for submit@debbugs.gnu.org; Mon, 01 May 2017 16:59:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5IPv-0003YP-7f for 26353@debbugs.gnu.org; Mon, 01 May 2017 16:59:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5IPl-0007Rj-BM for 26353@debbugs.gnu.org; Mon, 01 May 2017 16:59:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5IPl-0007Rf-8A; Mon, 01 May 2017 16:59:25 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:52130 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5IPk-0001SU-Ls; Mon, 01 May 2017 16:59:25 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> Date: Mon, 01 May 2017 22:59:22 +0200 In-Reply-To: <20170423040301.53ea208f@scratchpost.org> (Danny Milosavljevic's message of "Sun, 23 Apr 2017 04:03:01 +0200") Message-ID: <87fugo1efp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) Hi, Danny Milosavljevic skribis: > On Sun, 23 Apr 2017 01:30:56 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Did you have a chance to look at this patch? > > Hmm, guix system reconfigure finished with the patch, I rebooted, and I g= et the same error message (No such file) and the file is still there. Indeed, I just realized that the cleanup code runs before /run/current-system has been created; thus it does not have access to locale data and =E2=80=98setlocale=E2=80=99 fails. I cannot think of a nice way to address this unfortunately. :-( The problem of how to deal with file name encoding has been discussed on the Guile side so hopefully the next release in the 2.2 series will have a solution for this. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 17:24:29 2017 Received: (at 26353) by debbugs.gnu.org; 1 May 2017 21:24:29 +0000 Received: from localhost ([127.0.0.1]:50017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Io1-00048r-6B for submit@debbugs.gnu.org; Mon, 01 May 2017 17:24:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Iny-00048e-ND for 26353@debbugs.gnu.org; Mon, 01 May 2017 17:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5Inp-0005Kv-5q for 26353@debbugs.gnu.org; Mon, 01 May 2017 17:24:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Inp-0005Ko-2Z; Mon, 01 May 2017 17:24:17 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:52348 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5Ino-00052M-Bs; Mon, 01 May 2017 17:24:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Marius Bakke Subject: Re: bug#26353: TeX Live References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> <87y3ugfw81.fsf@fastmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 01 May 2017 23:24:14 +0200 In-Reply-To: <87y3ugfw81.fsf@fastmail.com> (Marius Bakke's message of "Mon, 01 May 2017 17:11:26 +0200") Message-ID: <87o9vcz2wx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@debbugs.gnu.org, Danny Milosavljevic 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: -5.0 (-----) Marius Bakke skribis: > Ludovic Court=C3=A8s writes: > >> Hi Danny! >> >> Danny Milosavljevic skribis: >> >>> 70 GiB non-home root partition seems also be too small for it all. I ha= ve to do guix gc quite often - I'll have to repartition somewhen. >>> >>> texlive finally downloaded correctly *shrugs*. Texlive is really getti= ng on my nerves - isn't it possible to modularize it more? Also, one shoul= dn't require 2 GiB for a word processor and DTP. *mumble mumble* >> >> TeX Live is getting on everybody=E2=80=99s nerves. :-) >> >> There are ways to turn it into a zillion packages from CTAN, which is >> what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to >> achieve this and I would really like to see it happen. > > That would be great. I miss this snippet from my ~/.nixpkgs/config.nix: > > myTex =3D pkgs.texlive.combine { > inherit (texlive) scheme-small marginnote sectsty cm-super enumitem > xifthen ifmtarg unicode-math filehook collection-fontsrecommended > collection-fontsextra libertine gentium-tug ucharcat; > }; Yeah, I agree. Hopefully a profile hook could do what pkgs.texlive.combine does, which would make it more convenient. Then we also need a CTAN importer=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 02 02:32:13 2017 Received: (at 26353) by debbugs.gnu.org; 2 May 2017 06:32:13 +0000 Received: from localhost ([127.0.0.1]:50194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5RM5-00024l-KK for submit@debbugs.gnu.org; Tue, 02 May 2017 02:32:13 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5RM3-00024c-Qx for 26353@debbugs.gnu.org; Tue, 02 May 2017 02:32:12 -0400 Received: from localhost (port-92-200-17-209.dynamic.qsc.de [92.200.17.209]) by mx.zohomail.com with SMTPS id 1493706722860977.2194391568295; Mon, 1 May 2017 23:32:02 -0700 (PDT) References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26353: TeX Live In-reply-to: <871ss83a1x.fsf_-_@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 02 May 2017 08:31:59 +0200 Message-ID: <87zievhiqo.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 26353 Cc: 26353@debbugs.gnu.org, Danny Milosavljevic 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.8 (-) Ludovic Courtès writes: > There are ways to turn it into a zillion packages from CTAN, which is > what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to > achieve this and I would really like to see it happen. Yeah, it’s true, I wanted to work on this, but … it hasn’t happened yet :) I’d be happy if someone could help us out here. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 10:31:17 2017 Received: (at control) by debbugs.gnu.org; 8 May 2017 14:31:17 +0000 Received: from localhost ([127.0.0.1]:34472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7jgz-0006GL-Dy for submit@debbugs.gnu.org; Mon, 08 May 2017 10:31:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7jgx-0006G8-8l for control@debbugs.gnu.org; Mon, 08 May 2017 10:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7jgr-0000YD-GQ for control@debbugs.gnu.org; Mon, 08 May 2017 10:31:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7jgr-0000Y8-EM for control@debbugs.gnu.org; Mon, 08 May 2017 10:31:09 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:57060 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d7jgq-0005kh-MW for control@debbugs.gnu.org; Mon, 08 May 2017 10:31:09 -0400 Date: Mon, 08 May 2017 16:31:06 +0200 Message-Id: <87wp9rl8t1.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26353 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) severity 26353 important From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 01 06:57:51 2017 Received: (at 26353) by debbugs.gnu.org; 1 Jun 2017 10:57:52 +0000 Received: from localhost ([127.0.0.1]:48496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGNnb-0005MW-Nu for submit@debbugs.gnu.org; Thu, 01 Jun 2017 06:57:51 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:57784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGNnZ-0005MN-SJ for 26353@debbugs.gnu.org; Thu, 01 Jun 2017 06:57:50 -0400 Received: from localhost (178.113.243.58.wireless.dyn.drei.com [178.113.243.58]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 5CA061CA066C; Thu, 1 Jun 2017 12:57:48 +0200 (CEST) Date: Thu, 1 Jun 2017 12:57:43 +0200 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: VFS name encoding Message-ID: <20170601125743.6b13cd94@scratchpost.org> In-Reply-To: <87fugo1efp.fsf@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -0.7 (/) Hi Ludo, > The problem of how to deal with file name encoding has been discussed on > the Guile side so hopefully the next release in the 2.2 series will have > a solution for this. For what it's worth, I think the sane solution is the Plan 9 solution: Just represent file names as bytevectors. Programs which don't care about the actual name - for example programs that just want to do (for-each unlink (scandir (string->utf8 "."))) or something - have no reason to care about the encoding at all. And then use UTF-8 encoding everywhere (for the file names, also for everything else) throughout the operating system for the tools that do care. There are also utf8 mount options in the Linux kernel to be able to present UTF-8 names to userspace even when the actual names on disk are something else - and we should use them. (I think we should even modify flags to default to "utf8" or "iocharset=utf8" where possible) This conversion of UTF-8 to UCS-4 especially is really just busywork. My opinion changed over the years - earlier I was all for UCS-4. But actually, most tools don't care about the actual content of the file names - it's just an opaque ID to them (similar to an UUID). Representing them as something else in userspace again (inviting another conversion failure) is just ... unnecessary. In any case, it would be different if we had a non-UNIX kernel underneath. But as long as we do have UNIX the kernel VFS interface expects bytevectors, preferrably interpreted as UTF-8 (if interpreted at all). I think this is also the consensus among the major Linux distributions and also among lowlevel libraries like glib: They assume one is using UTF-8 filenames and default to it whereever possible. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 01 07:17:36 2017 Received: (at 26353) by debbugs.gnu.org; 1 Jun 2017 11:17:36 +0000 Received: from localhost ([127.0.0.1]:48543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGO6i-0005qa-7f for submit@debbugs.gnu.org; Thu, 01 Jun 2017 07:17:36 -0400 Received: from aibo.runbox.com ([91.220.196.211]:54752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGO6g-0005qR-Cu for 26353@debbugs.gnu.org; Thu, 01 Jun 2017 07:17:34 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dGO6b-000693-Fp; Thu, 01 Jun 2017 13:17:29 +0200 Received: from [85.248.227.165] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dGO6X-0001eN-6k; Thu, 01 Jun 2017 13:17:26 +0200 Date: Thu, 1 Jun 2017 11:17:15 +0000 From: ng0 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26353: TeX Live Message-ID: <20170601111715.fieq56xaneztbg6y@abyayala> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Marius Bakke , 26353@debbugs.gnu.org References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> <87y3ugfw81.fsf@fastmail.com> <87o9vcz2wx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ovkoa2462ytcfjzr" Content-Disposition: inline In-Reply-To: <87o9vcz2wx.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@debbugs.gnu.org, Marius Bakke 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: -0.7 (/) --ovkoa2462ytcfjzr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s transcribed 1.3K bytes: > Marius Bakke skribis: >=20 > > Ludovic Court=C3=A8s writes: > > > >> Hi Danny! > >> > >> Danny Milosavljevic skribis: > >> > >>> 70 GiB non-home root partition seems also be too small for it all. I = have to do guix gc quite often - I'll have to repartition somewhen. > >>> > >>> texlive finally downloaded correctly *shrugs*. Texlive is really get= ting on my nerves - isn't it possible to modularize it more? Also, one sho= uldn't require 2 GiB for a word processor and DTP. *mumble mumble* > >> > >> TeX Live is getting on everybody=E2=80=99s nerves. :-) > >> > >> There are ways to turn it into a zillion packages from CTAN, which is > >> what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to > >> achieve this and I would really like to see it happen. > > > > That would be great. I miss this snippet from my ~/.nixpkgs/config.nix: > > > > myTex =3D pkgs.texlive.combine { > > inherit (texlive) scheme-small marginnote sectsty cm-super enumit= em > > xifthen ifmtarg unicode-math filehook collection-fontsrecommended > > collection-fontsextra libertine gentium-tug ucharcat; > > }; >=20 > Yeah, I agree. Hopefully a profile hook could do what > pkgs.texlive.combine does, which would make it more convenient. Then we > also need a CTAN importer=E2=80=A6 >=20 > Ludo=E2=80=99. >=20 >=20 >=20 Importers for the importer deity! But seriously, whoever manages to split Texlive up gets a free non-alcoholic drink if I should ever meet the person at a conference or somewhere else! --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --ovkoa2462ytcfjzr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlkv97sACgkQ4i+bv+40 hYg7qg//d5Kqj2C8ZlyjeAcS+CeiwHzANo8sgsDVgR0Dihqf4yrtG9/n6ayG2hjc 1GXTzM/woFnZFUbx7/Em8SO7CUT3imZ0rP5HQh4aY1ASPsAdaCCYcxzHUb7XuQxF iOPnbBOGMqZKi0lXxL4kyBXGdc7P6pHAaFrxrXJUAalyxptrK8cqXcrSAo0TfnYe ZFb49phdMIZqUhl//5reZzeOrO7Uu9EvWUeY+3sjuwIyU4NjNjYPpqKqwx4rggNp PIhbMU3y7kxEjWrVcwyGbePUa9Y+FT/5FOcCvfy0OhOo19jYwzN61Of6NRlrRv1a 0RV7xVl2d5wKt9q9tpEluxQsOfBBKVdtUzJFg9Gi/iGOyDmayGqG6mKV+GGjmmiJ f53vGOZEFKtOe9sXxm5es9oNcMtdJaHOwKKzHuIjCJIucfNKTBqahM5MGm0u/c5B euqdNqHlFthIwBhf4+4PuvSQVxo+8ytgq1kQp9cLHu0wf6QtwNzztKmxJgMbB4Z7 ri4I4CNqwvuOS6PggUVKCQ0E5pnwTLUpmSojPPS9rVQlnDCUzynrU+OD4n9nYIj5 m5OhBG80wUxE1SB/GfPhOtyi1OAMFjeRZ09LjfPFfIwbuv26BjdIxqFMyNpwnX3P vIzeVqcU79XQA4AtQRrS8kdcyfp7C+kHC+ovZIxx0bedme5csBg= =/uK/ -----END PGP SIGNATURE----- --ovkoa2462ytcfjzr-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 01 07:28:42 2017 Received: (at 26353) by debbugs.gnu.org; 1 Jun 2017 11:28:42 +0000 Received: from localhost ([127.0.0.1]:48613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOHR-00068b-Rj for submit@debbugs.gnu.org; Thu, 01 Jun 2017 07:28:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOHP-00068O-GX for 26353@debbugs.gnu.org; Thu, 01 Jun 2017 07:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGOHH-0006JP-0n for 26353@debbugs.gnu.org; Thu, 01 Jun 2017 07:28:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGOHG-0006JK-TR; Thu, 01 Jun 2017 07:28:30 -0400 Received: from [193.50.110.69] (port=42360 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGOHG-00031o-Am; Thu, 01 Jun 2017 07:28:30 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: VFS name encoding References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20170601125743.6b13cd94@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Prairial an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 01 Jun 2017 13:28:27 +0200 In-Reply-To: <20170601125743.6b13cd94@scratchpost.org> (Danny Milosavljevic's message of "Thu, 1 Jun 2017 12:57:43 +0200") Message-ID: <87o9u82bhg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) Hi Danny, Danny Milosavljevic skribis: >> The problem of how to deal with file name encoding has been >> discussed on the Guile side so hopefully the next release in the 2.2 >> series will have a solution for this. > > For what it's worth, I think the sane solution is the Plan 9 solution: > Just represent file names as bytevectors. Programs which don't care > about the actual name - for example programs that just want to do > (for-each unlink (scandir (string->utf8 "."))) or something - have no > reason to care about the encoding at all. And then use UTF-8 encoding > everywhere (for the file names, also for everything else) throughout > the operating system for the tools that do care. FWIW the problem has been discussed at length in Guile land, although I don=E2=80=99t think anyone has come up with a complete solution yet. I think it=E2=80=99s natural to represent file names as strings, but we mad= e a mistake in 2.0 when we assumed we=E2=80=99d basically always be able to dec= ode file names using the current locale =E2=80=9Con sane systems=E2=80=9D. So = now we need a way to represent file names that cannot be decoded while preserving backward compatibility. To be continued! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 02 04:32:11 2017 Received: (at 26353) by debbugs.gnu.org; 2 Jun 2017 08:32:11 +0000 Received: from localhost ([127.0.0.1]:50410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGi0B-0004JK-22 for submit@debbugs.gnu.org; Fri, 02 Jun 2017 04:32:11 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGi08-0004J9-HS for 26353@debbugs.gnu.org; Fri, 02 Jun 2017 04:32:09 -0400 Received: from localhost (141.80.246.54 [141.80.246.54]) by mx.zohomail.com with SMTPS id 1496392324303646.1447781406165; Fri, 2 Jun 2017 01:32:04 -0700 (PDT) References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> <87zievhiqo.fsf@elephly.net> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26353: TeX Live In-reply-to: <87zievhiqo.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 02 Jun 2017 10:32:01 +0200 Message-ID: <871sr294e6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 26353 Cc: 26353@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.8 (-) Ricardo Wurmus writes: > Ludovic Courtès writes: > >> There are ways to turn it into a zillion packages from CTAN, which is >> what Nixpkgs did. Ricardo (I think?) had some thoughts as to how to >> achieve this and I would really like to see it happen. > > Yeah, it’s true, I wanted to work on this, but … it hasn’t happened yet :) > I’d be happy if someone could help us out here. So… I already have a Texlive importer that fetches things from SVN (because the tarballs on CTAN are not versioned). The texmf-dist tarball actually seems to include a couple of generated files (such as latex.ltx), which needs to be bootstrapped with initex first. I’ve already made some progress on this end, but I need to first build a few metafont fonts. The hardest part here is to override search paths and figure out dependencies. This is a very slow process right now, because it’s mainly error-driven. I’m close to finishing the bootstrap of latex-base. Once that’s done I should be able to finish the texlive-build-system, and then I’ll try building the other latex packages that are distributed with Texlive. There’s more to Texlive (e.g. xetex packages), but I’ll take care of that later. One thing that’s still unknown at this point is how the profile hook should work, but I’ll figure this out as I learn more about the search paths and the like. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 02 11:07:02 2017 Received: (at 26353) by debbugs.gnu.org; 2 Jun 2017 15:07:02 +0000 Received: from localhost ([127.0.0.1]:51724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGoAI-00075X-Bm for submit@debbugs.gnu.org; Fri, 02 Jun 2017 11:07:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGoAH-00075F-JI for 26353@debbugs.gnu.org; Fri, 02 Jun 2017 11:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGoA8-0004c8-CA for 26353@debbugs.gnu.org; Fri, 02 Jun 2017 11:06:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGoA8-0004c1-9l; Fri, 02 Jun 2017 11:06:52 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:37096 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGoA7-00044z-NW; Fri, 02 Jun 2017 11:06:52 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#26353: TeX Live References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> <87zievhiqo.fsf@elephly.net> <871sr294e6.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Prairial an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 02 Jun 2017 17:06:49 +0200 In-Reply-To: <871sr294e6.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 02 Jun 2017 10:32:01 +0200") Message-ID: <87shji5sza.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -5.0 (-----) Hi Ricardo, Ricardo Wurmus skribis: > So=E2=80=A6 I already have a Texlive importer that fetches things from SVN > (because the tarballs on CTAN are not versioned). Awesome! > The texmf-dist tarball actually seems to include a couple of generated > files (such as latex.ltx), which needs to be bootstrapped with initex > first. I=E2=80=99ve already made some progress on this end, but I need t= o first > build a few metafont fonts. > > The hardest part here is to override search paths and figure out > dependencies. This is a very slow process right now, because it=E2=80=99s > mainly error-driven. Yeah kpathsea and all that. > I=E2=80=99m close to finishing the bootstrap of latex-base. Once that=E2= =80=99s done I > should be able to finish the texlive-build-system, and then I=E2=80=99ll = try > building the other latex packages that are distributed with Texlive. > There=E2=80=99s more to Texlive (e.g. xetex packages), but I=E2=80=99ll t= ake care of > that later. > > One thing that=E2=80=99s still unknown at this point is how the profile h= ook > should work, but I=E2=80=99ll figure this out as I learn more about the s= earch > paths and the like. OK, we=E2=80=99ll see. Thank you for this brave effort! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 03 15:14:50 2017 Received: (at 26353) by debbugs.gnu.org; 3 Jun 2017 19:14:50 +0000 Received: from localhost ([127.0.0.1]:54142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHEVe-00046l-AG for submit@debbugs.gnu.org; Sat, 03 Jun 2017 15:14:50 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHEVc-00046d-F0 for 26353@debbugs.gnu.org; Sat, 03 Jun 2017 15:14:48 -0400 Received: from localhost (port-92-200-85-159.dynamic.qsc.de [92.200.85.159]) by mx.zohomail.com with SMTPS id 1496517286090758.8603994866138; Sat, 3 Jun 2017 12:14:46 -0700 (PDT) References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423021448.6bcb3235@scratchpost.org> <871ss83a1x.fsf_-_@gnu.org> <87zievhiqo.fsf@elephly.net> <871sr294e6.fsf@elephly.net> <87shji5sza.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26353: TeX Live In-reply-to: <87shji5sza.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 03 Jun 2017 21:14:42 +0200 Message-ID: <87shjg7ujh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 26353 Cc: 26353@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.8 (-) Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> So… I already have a Texlive importer that fetches things from SVN >> (because the tarballs on CTAN are not versioned). > > Awesome! > >> The texmf-dist tarball actually seems to include a couple of generated >> files (such as latex.ltx), which needs to be bootstrapped with initex >> first. I’ve already made some progress on this end, but I need to first >> build a few metafont fonts. >> >> The hardest part here is to override search paths and figure out >> dependencies. This is a very slow process right now, because it’s >> mainly error-driven. > > Yeah kpathsea and all that. > >> I’m close to finishing the bootstrap of latex-base. Once that’s done I >> should be able to finish the texlive-build-system, and then I’ll try >> building the other latex packages that are distributed with Texlive. >> There’s more to Texlive (e.g. xetex packages), but I’ll take care of >> that later. >> >> One thing that’s still unknown at this point is how the profile hook >> should work, but I’ll figure this out as I learn more about the search >> paths and the like. > > OK, we’ll see. I submitted a new bug for this: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27217 …because this allows us the satisfaction of closing this bug once it’s done; and because we can keep track of progress there. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 17:29:03 2017 Received: (at 26353) by debbugs.gnu.org; 14 Dec 2017 22:29:03 +0000 Received: from localhost ([127.0.0.1]:34264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePbzz-0007fT-BJ for submit@debbugs.gnu.org; Thu, 14 Dec 2017 17:29:03 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:53068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePbzx-0007f4-F0 for 26353@debbugs.gnu.org; Thu, 14 Dec 2017 17:29:02 -0500 Received: from localhost (77.118.194.249.wireless.dyn.drei.com [77.118.194.249]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 903391CA03FA; Thu, 14 Dec 2017 23:28:59 +0100 (CET) Date: Thu, 14 Dec 2017 23:28:57 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?ISO-8859-1?Q?"=E4"?= are used in filenames Message-ID: <20171214232857.131aa0d6@scratchpost.org> In-Reply-To: <87fugo1efp.fsf@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@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: -0.7 (/) > The problem of how to deal with file name encoding has been discussed on > the Guile side so hopefully the next release in the 2.2 series will have > a solution for this. Hmm, any news on this? I've again got some immortal files in /tmp ... From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 15 05:27:54 2017 Received: (at 26353) by debbugs.gnu.org; 15 Dec 2017 10:27:54 +0000 Received: from localhost ([127.0.0.1]:34678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePnDe-0004NQ-Ba for submit@debbugs.gnu.org; Fri, 15 Dec 2017 05:27:54 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:54562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePnDc-0004NI-6X for 26353@debbugs.gnu.org; Fri, 15 Dec 2017 05:27:53 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 96CD6102C9; Fri, 15 Dec 2017 11:27:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m4N9LeixcjRO; Fri, 15 Dec 2017 11:27:53 +0100 (CET) Received: from ribbon (unknown [193.50.110.249]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1CB50102C1; Fri, 15 Dec 2017 11:27:53 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20171214232857.131aa0d6@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Frimaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 15 Dec 2017 11:27:49 +0100 In-Reply-To: <20171214232857.131aa0d6@scratchpost.org> (Danny Milosavljevic's message of "Thu, 14 Dec 2017 23:28:57 +0100") Message-ID: <87d13gl1zu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 26353 Cc: 26353@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 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Danny Milosavljevic skribis: >> The problem of how to deal with file name encoding has been discussed on >> the Guile side so hopefully the next release in the 2.2 series will have >> a solution for this. > > Hmm, any news on this? I've again got some immortal files in /tmp ... I=E2=80=99m afraid no. Months ago a solution was proposed on the Guile sid= e but not implemented. I tried the attached workaround, which attempts to use are UTF-8-only syscalls wrappers for the task. Unfortunately it doesn=E2=80=99t work beca= use the cleanup code runs on the initrd=E2=80=99s statically-linked Guile, where =E2=80=98dynamic-link=E2=80=99 calls used in (guix build syscalls) fail. := -/ Ideas? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/services.scm b/gnu/services.scm index 016ff08e0..7d9fd132f 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -361,9 +361,12 @@ directory." "Return as a monadic value a gexp to clean up /tmp and similar places up= on boot." (with-monad %store-monad - (with-imported-modules '((guix build utils)) + (with-imported-modules (source-module-closure + '((guix build utils) + (guix build syscalls))) (return #~(begin - (use-modules (guix build utils)) + (use-modules (guix build utils) + (guix build syscalls)) =20 ;; Clean out /tmp and /var/run. ;; @@ -387,8 +390,12 @@ boot." (delete-file "/etc/passwd.lock") (delete-file "/etc/.pwd.lock") ;from 'lckpwdf' =20 - (delete-file-recursively "/tmp") - (delete-file-recursively "/var/run") + ;; Assume file names are UTF-8 encoded. See + ;; . + (with-utf8-file-names + (delete-file-recursively "/tmp") + (delete-file-recursively "/var/run")) + (mkdir "/tmp") (chmod "/tmp" #o1777) (mkdir "/var/run") diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm index 1bc7a7027..3cec5af7f 100644 --- a/gnu/tests/base.scm +++ b/gnu/tests/base.scm @@ -29,6 +29,8 @@ #:use-module (gnu services mcron) #:use-module (gnu services shepherd) #:use-module (gnu services networking) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages imagemagick) #:use-module (gnu packages ocr) #:use-module (gnu packages package-management) @@ -36,11 +38,13 @@ #:use-module (gnu packages tmux) #:use-module (guix gexp) #:use-module (guix store) + #:use-module (guix monads) #:use-module (guix packages) #:use-module (srfi srfi-1) #:export (run-basic-test %test-basic-os %test-halt + %test-cleanup %test-mcron %test-nss-mdns)) =20 @@ -476,6 +480,67 @@ in a loop. See .") (run-halt-test (virtual-machine os)))))) =20 +;;; +;;; Cleanup of /tmp, /var/run, etc. +;;; + + +(define %cleanup-os + (simple-operating-system + (simple-service 'dirty-things + boot-service-type + (with-monad %store-monad + (let ((script (plain-file + "create-utf8-file.sh" + "exec touch /tmp/{=CE=BB=CE=B1=CE=BC= =CE=B2=CE=B4=CE=B1,witness}"))) + (with-imported-modules '((guix build utils)) + (return #~(begin + (setenv "PATH" + #$(file-append coreutils "/bi= n")) + (invoke #$(file-append bash "/bin/sh") + #$script))))))))) + +(define (run-cleanup-test name) + (define os + (marionette-operating-system %cleanup-os + #:imported-modules '((gnu services herd) + (guix combinators)))) + (define test + (with-imported-modules '((gnu build marionette)) + #~(begin + (use-modules (gnu build marionette) + (srfi srfi-64) + (ice-9 match)) + + (define marionette + (make-marionette (list #$(virtual-machine os)))) + + (mkdir #$output) + (chdir #$output) + + (test-begin "cleanup") + + (test-assert "dirty service worked" + (marionette-eval '(file-exists? "/witness") marionette)) + + (test-equal "/tmp cleaned up" + 2 + (marionette-eval '(stat:nlink (stat "/tmp")) marionette)) + + (test-end) + (exit (=3D (test-runner-fail-count (test-runner-current)) 0))))) + + (gexp->derivation "cleanup" test)) + +(define %test-cleanup + ;; See . + (system-test + (name "cleanup") + (description "Make sure the 'cleanup' service can remove files with +non-ASCII names from /tmp.") + (value (run-cleanup-test name)))) + + ;;; ;;; Mcron. ;;; diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index 0cb630cfb..ac27fb5d6 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -71,6 +71,7 @@ fdatasync pivot-root scandir* + with-utf8-file-names fcntl-flock =20 set-thread-name @@ -995,6 +996,35 @@ system to PUT-OLD." (lambda () (closedir* directory))))) =20 +(define delete-file* + (let ((proc (syscall->procedure int "unlike" '(*)))) + (lambda* (file #:optional (string->pointer string->pointer/utf-8)) + (proc (string->pointer file))))) + +(define* (call-with-utf8-file-names thunk) + (let ((real-delete-file delete-file) + (real-opendir opendir) + (real-readdir readdir)) + (dynamic-wind + (lambda () + (set! delete-file delete-file*) + (set! opendir opendir*) + (set! readdir readdir*)) + thunk + (lambda () + (set! delete-file real-delete-file) + (set! opendir real-opendir) + (set! readdir real-readdir))))) + +(define-syntax-rule (with-utf8-file-names body ...) + "Evaluate BODY in a context where *some* of the core file system bindings +have been replaced with variants that assume file names are UTF-8-encoded +instead of locale-encoded. + +This hack is meant to address . Use with care, +and only in a single-threaded context!" + (call-with-utf8-file-names (lambda () body ...))) + ;;; ;;; Advisory file locking. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 09 05:30:24 2018 Received: (at 26353) by debbugs.gnu.org; 9 Jun 2018 09:30:24 +0000 Received: from localhost ([127.0.0.1]:40308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRaCW-0003Vb-20 for submit@debbugs.gnu.org; Sat, 09 Jun 2018 05:30:24 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:54488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRaCU-0003VS-Rb for 26353@debbugs.gnu.org; Sat, 09 Jun 2018 05:30:23 -0400 Received: from localhost (84-113-15-225.cable.dynamic.surfer.at [84.113.15.225]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 6297B336384F; Sat, 9 Jun 2018 11:30:21 +0200 (CEST) Date: Sat, 9 Jun 2018 11:30:20 +0200 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?ISO-8859-1?Q?"=E4"?= are used in filenames Message-ID: <20180609113020.5f30981a@scratchpost.org> In-Reply-To: <87d13gl1zu.fsf@gnu.org> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20171214232857.131aa0d6@scratchpost.org> <87d13gl1zu.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@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 Ludo, +(define delete-file* + (let ((proc (syscall->procedure int "unlike" '(*)))) Typo. Should be "unlink". >+ (lambda* (file #:optional (string->pointer string->pointer/utf-8)) >+ (proc (string->pointer file))))) >Ideas? Well, we could always include a special wrapper in guile-static - like we do for load-linux-module/fd. That way, it is included in the statically linked guile executable. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 16:17:02 2018 Received: (at 26353) by debbugs.gnu.org; 19 Jun 2018 20:17:02 +0000 Received: from localhost ([127.0.0.1]:56681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVN3l-0001LX-Q3 for submit@debbugs.gnu.org; Tue, 19 Jun 2018 16:17:02 -0400 Received: from static.195.114.201.195.clients.your-server.de ([195.201.114.195]:47046 helo=conspiracy.of.n0.is) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVN3j-0001LN-6q for 26353@debbugs.gnu.org; Tue, 19 Jun 2018 16:16:59 -0400 Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id 6db3c284 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 19 Jun 2018 20:16:57 +0000 (UTC) Date: Tue, 19 Jun 2018 20:17:35 +0000 From: Nils Gillmann To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean =?utf-8?Q?when_?= =?utf-8?B?VW1sYXV0cyBsaWtlICLDpCI=?= are used in filenames Message-ID: <20180619201735.6o3po7ruiqcw757b@abyayala> References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20171214232857.131aa0d6@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171214232857.131aa0d6@scratchpost.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26353 Cc: 26353@debbugs.gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= 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 (-) Danny Milosavljevic transcribed 249 bytes: > > The problem of how to deal with file name encoding has been discussed on > > the Guile side so hopefully the next release in the 2.2 series will have > > a solution for this. > > Hmm, any news on this? I've again got some immortal files in /tmp ... Did it ever work for you? I can't recall a single time in my years with GuixSD when /tmp was cleaned. It was only when I started reading more system specific code that I found out that the lack of /tmp cleaning on shutdown is not a default. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 16:47:49 2018 Received: (at 26353) by debbugs.gnu.org; 19 Jun 2018 20:47:49 +0000 Received: from localhost ([127.0.0.1]:56687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVNXZ-00023X-Ba for submit@debbugs.gnu.org; Tue, 19 Jun 2018 16:47:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVNXX-00023I-QV for 26353@debbugs.gnu.org; Tue, 19 Jun 2018 16:47:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVNXR-0007de-Kz for 26353@debbugs.gnu.org; Tue, 19 Jun 2018 16:47:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVNXR-0007dH-H9; Tue, 19 Jun 2018 16:47:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35790 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fVNXR-0007b5-4d; Tue, 19 Jun 2018 16:47:41 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Nils Gillmann Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20171214232857.131aa0d6@scratchpost.org> <20180619201735.6o3po7ruiqcw757b@abyayala> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 19 Jun 2018 22:47:39 +0200 In-Reply-To: <20180619201735.6o3po7ruiqcw757b@abyayala> (Nils Gillmann's message of "Tue, 19 Jun 2018 20:17:35 +0000") Message-ID: <87wouusduc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353 Cc: 26353@debbugs.gnu.org, Danny Milosavljevic 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: -6.0 (------) Nils Gillmann skribis: > Danny Milosavljevic transcribed 249 bytes: >> > The problem of how to deal with file name encoding has been discussed = on >> > the Guile side so hopefully the next release in the 2.2 series will ha= ve >> > a solution for this. >>=20 >> Hmm, any news on this? I've again got some immortal files in /tmp ... > > Did it ever work for you? I can't recall a single time in my years with > GuixSD when /tmp was cleaned. It was only when I started reading more > system specific code that I found out that the lack of /tmp cleaning > on shutdown is not a default. This bug report is about the specific case where it doesn=E2=80=99t work. = :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 20 04:07:52 2018 Received: (at 26353-done) by debbugs.gnu.org; 20 Jun 2018 08:07:52 +0000 Received: from localhost ([127.0.0.1]:56881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVY9g-0005Fc-57 for submit@debbugs.gnu.org; Wed, 20 Jun 2018 04:07:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVY9d-0005FN-N3 for 26353-done@debbugs.gnu.org; Wed, 20 Jun 2018 04:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVY9X-0005qx-Ni for 26353-done@debbugs.gnu.org; Wed, 20 Jun 2018 04:07:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVY9X-0005qt-KE; Wed, 20 Jun 2018 04:07:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36104 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fVY9X-0005C5-8F; Wed, 20 Jun 2018 04:07:43 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26353: GuixSD /tmp cleaner fails to clean when Umlauts like =?utf-8?Q?=22=C3=A4=22?= are used in filenames References: <20170403202146.2a9317ce@scratchpost.org> <87poghdbge.fsf@gnu.org> <87mvb8f2a7.fsf@gnu.org> <20170423040301.53ea208f@scratchpost.org> <87fugo1efp.fsf@gnu.org> <20171214232857.131aa0d6@scratchpost.org> <87d13gl1zu.fsf@gnu.org> <20180609113020.5f30981a@scratchpost.org> Date: Wed, 20 Jun 2018 10:07:41 +0200 In-Reply-To: <20180609113020.5f30981a@scratchpost.org> (Danny Milosavljevic's message of "Sat, 9 Jun 2018 11:30:20 +0200") Message-ID: <87sh5hswxe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26353-done Cc: 26353-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: -6.0 (------) Hello! Finally fixed with commit 76c321d8e85683091ecbcd3afe8c56fb7c45c00a. I opted for a simpler approach (and I wonder why it didn=E2=80=99t come to = mind earlier than this=E2=80=A6). Thanks for your patience, and bye bye immortal files! :-) Ludo=E2=80=99. From unknown Sun Jun 15 13:01:36 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, 18 Jul 2018 11:24:05 +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