From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yE6gKqfRbWTMcwAASxT56A (envelope-from ) for ; Wed, 24 May 2023 10:58:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kPE6KqfRbWTbrwAAauVa8A (envelope-from ) for ; Wed, 24 May 2023 10:58:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DD301FBA for ; Wed, 24 May 2023 10:58:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1kJn-00034U-Qy; Wed, 24 May 2023 04:58:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1kJn-00034L-3Y for guix-patches@gnu.org; Wed, 24 May 2023 04:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1kJm-0005KX-Rd for guix-patches@gnu.org; Wed, 24 May 2023 04:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1kJm-0000Ez-7G for guix-patches@gnu.org; Wed, 24 May 2023 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 May 2023 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: 63641@debbugs.gnu.org Received: via spool by 63641-submit@debbugs.gnu.org id=B63641.1684918655888 (code B ref 63641); Wed, 24 May 2023 08:58:02 +0000 Received: (at 63641) by debbugs.gnu.org; 24 May 2023 08:57:35 +0000 Received: from localhost ([127.0.0.1]:41465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1kJL-0000EG-4w for submit@debbugs.gnu.org; Wed, 24 May 2023 04:57:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1kJI-0000E3-Jf for 63641@debbugs.gnu.org; Wed, 24 May 2023 04:57:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1kJC-0005AA-RF; Wed, 24 May 2023 04:57:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=OA4ON2L+baYc1nakdLnPe/kXQuNBjbH6eL5sJXfU/RM=; b=nAI4V4rPOf5PCGjmkdCL deJ8Le5vZyxcDFHokCptjT/iwkHnbEsiJ/DhXCgCNNJv25IXCxLg/5rld0BCQESu0n46yhaLeaV8J sqrQNgNR58W5agJxHybtMstkgwGqu9yYfI5in3Rs5eij0qS7JtVZdpTUPKschcEzcioRsSIGAZmyT PVfM2utZN39EXjGN/5ORc3CIccxM8QWvbYHwkUNX6IcNpNT299HXbE5x8v/oIkLPcy3psJKNz7X8d bBjD3zB5RX83RC49TJp6m3J8L2kZmLwkvCkylENbbG8tbzzJ7dIs9YJbmmQcdFHrebUIJhqAJGUBs er6nupDvDIH7vQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1kJA-0006DL-J0; Wed, 24 May 2023 04:57:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87jzx07lmr.fsf@jpoiret.xyz> <37e9697f42aecfb83757989f8172beba8faf32ab.1684748476.git.dev@jpoiret.xyz> Date: Wed, 24 May 2023 10:57:22 +0200 In-Reply-To: <37e9697f42aecfb83757989f8172beba8faf32ab.1684748476.git.dev@jpoiret.xyz> (Josselin Poiret's message of "Mon, 22 May 2023 11:42:26 +0200") Message-ID: <87wn0yqf7x.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684918695; a=rsa-sha256; cv=none; b=A33sndp+VJpLBUhcxBcS7tV8wgrJ/nd8vqV/qtYM6Lp/DGwSTNsYgnANWrviiGGzJ7qBo8 GTQuDe66F9zHW3JHcC+sgunMS5IeOC94frSeak4Bzu29rkFaqwYx53tRHTnZ0TmSeROyd7 cpKwmjcqwbekWx015ax+X3LM4O7+lE1kT6mtL0fv/pbY4UqIfJo58yQKCCuw35J1WS8Phr Q8c8ym6Wu7U88SX5t8rhX3zAwh1cLHPFQh9atJG4Gp3xAbEXGjXW0gOR9DWM8Ld2T8ZbJj kaCSAcUURnNToIuN4e2lJY3JZiMzRfoqhG+05j0zXzyMJ3RR7TKnQD9iqmzbQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nAI4V4rP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684918695; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OA4ON2L+baYc1nakdLnPe/kXQuNBjbH6eL5sJXfU/RM=; b=YnLAnUOWHjejD++B577MHeG/8JDAvF/UPT4kgOuOYDjiwLSS3rvRmNlCDAOA2lCSP0TCvy eK8ByVk0BDeMIYAuRaiEnvUeq+ngWXpp+u5w5GD586Od0YC7lj6iYAdD1d3eZ5W3LOEdRc BkaVlT9xfzpER/MjpiOTuorwgFwc/+t7ch0ujGiFs+xzFde1Pi8a3icUZRKHqW1/zulxZW iUEY88KJ/oD/QMsmPb7M2xykvcSvuHlLrNmagAX8hqKjsC4GiDkaYHiUb/Ky6TqK2iT/q4 bCvB1ahxQD8Yd32bRMC2pIZjnWunlF3cHEGjS7yAsJBLbbJI2Rv71Uez/6BeSw== X-Migadu-Spam-Score: -3.31 X-Spam-Score: -3.31 X-Migadu-Queue-Id: 6DD301FBA X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nAI4V4rP; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: unOnnS0H5SfU Josselin Poiret skribis: > From: Josselin Poiret > > * gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch > * gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch > * gnu/packages/patches/glibc-2.37-ldd-x86_64.patch > * gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches. > * gnu/local.mk (dist_patch_DATA): Register them. > > * gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables. > (glibc/hurd-headers): Use glibc/hurd. > * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, > glibc-final): Use libc-for-target. > * gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use > libc-for-target. [...] > +(define-public glibc/hurd > + (package/inherit glibc > + (name "glibc-hurd") > + (version "2.37") Could you add a comment stating why we=E2=80=99re using this version so we = know when to unify the two libcs again? > +(define* (libc-for-target #:optional > + (target (or (%current-target-system) > + (%current-system)))) > + (match target > + ((? target-hurd?) > + glibc/hurd) > + (_ > + glibc))) Removed in 2d546858b139e5fcf2cbdf9958a17fd98803ac4c (when we unified the two glibc packages) was also this macro: (define-syntax glibc (identifier-syntax (glibc-for-target))) Maybe we can live without it though. > +++ b/gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch > @@ -0,0 +1,59 @@ > +Some applications assume centisecond precision, or at most millisecond p= recision > +(e.g. guile). This is a work-around for them. [...] > +++ b/gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.= patch > @@ -0,0 +1,133 @@ > +Use the realtime clock for the monotonic clock. This is of course not a = proper > +implementation (which is being done in Mach), but will permit to fix at = least > +the iceweasel stack. > + > +vlc however doesn't build when _POSIX_CLOCK_SELECTION is enabled but > +_POSIX_TIMERS is not, and they refuse to fix that (see #765578), so disa= ble the > +former. These are from Debian, right? Are they submitted upstream? Would be nice to have it mentioned in the comment (the build farms will soon rebuild for you :-)). > +++ b/gnu/packages/patches/glibc-2.37-versioned-locpath.patch > @@ -0,0 +1,247 @@ > +From d73ba2caa10b8e9f51ff4239cc32eeb4e0de4279 Mon Sep 17 00:00:00 2001 > +Message-Id: > +From: Josselin Poiret > +Date: Sat, 13 May 2023 14:10:43 +0200 > +Subject: [PATCH] Add versioned locpath > + > +From: Josselin Poiret Could you preserve the header that=E2=80=99s at the top of =E2=80=98glibc-versioned-locpath.patch=E2=80=99? Thanks, Ludo=E2=80=99.