From patchwork Thu Sep 1 22:29:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 42132 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5439127BBEC; Thu, 1 Sep 2022 23:31:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 709CA27BBEA for ; Thu, 1 Sep 2022 23:31:16 +0100 (BST) Received: from localhost ([::1]:50502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTsiR-0005WL-FW for patchwork@mira.cbaines.net; Thu, 01 Sep 2022 18:31:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTsiE-0005UW-W5 for guix-patches@gnu.org; Thu, 01 Sep 2022 18:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTsiE-0005ZS-Ns for guix-patches@gnu.org; Thu, 01 Sep 2022 18:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTsiE-00035z-J5 for guix-patches@gnu.org; Thu, 01 Sep 2022 18:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57533] [PATCH core-updates 2/5] syscalls: Adjust for glibc 2.34 and later. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Sep 2022 22:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57533 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57533@debbugs.gnu.org Received: via spool by 57533-submit@debbugs.gnu.org id=B57533.166207143811826 (code B ref 57533); Thu, 01 Sep 2022 22:31:02 +0000 Received: (at 57533) by debbugs.gnu.org; 1 Sep 2022 22:30:38 +0000 Received: from localhost ([127.0.0.1]:44336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTshq-00034f-9l for submit@debbugs.gnu.org; Thu, 01 Sep 2022 18:30:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTsho-00034R-Si for 57533@debbugs.gnu.org; Thu, 01 Sep 2022 18:30:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTshj-0005SL-2G for 57533@debbugs.gnu.org; Thu, 01 Sep 2022 18:30:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=/ITJnvUbg6zOESHulka1L06BcDB35gGKcG6nWI04QWw=; b=cor8IjKPx18N+wzJnmJL haPiGVES095AT+Qgirm8a4q1J0rJXAiiOeKTrZJATEBtok3lYruCQuxyuz+aJS5TnU8497+fQCMuX tfd7G48zdkRA0OZ7HyKztkyCJFEeFxNFJBzgBdZzpEkIz6L5fyu7THXa0pBUxiMqYJzRoB5e2fqrc H1JKHlYrrHPnkPbiWjhx52MxGbJS3bRq/LB9+NBPvy36Syu4cOfQaZbCu1y8e5w49gCEIo+NRh4P7 NWzS/qvN5HTP/DgSm21QpHydPeV5keYIsnccefIpUHUNuU8ibjh+rz9IazG+P1Cjzy2padHiSBOpP Jx/vZp7fmT9DyA==; Received: from [84.214.173.6] (port=40082 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTshI-0001c4-2b for 57533@debbugs.gnu.org; Thu, 01 Sep 2022 18:30:09 -0400 From: Marius Bakke Date: Fri, 2 Sep 2022 00:29:54 +0200 Message-Id: <20220901222957.15383-2-marius@gnu.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220901222957.15383-1-marius@gnu.org> References: <20220901222413.14482-1-marius@gnu.org> <20220901222957.15383-1-marius@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/build/syscalls.scm (openpty, login-tty): Remove #:library argument, as these functions have been moved to libc.so. --- guix/build/syscalls.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index eda487f52e..7c88ccdd5a 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -2319,8 +2319,7 @@ (define* (terminal-rows #:optional (port (current-output-port))) (terminal-dimension window-size-rows port (const 25))) (define openpty - (let ((proc (syscall->procedure int "openpty" '(* * * * *) - #:library "libutil"))) + (let ((proc (syscall->procedure int "openpty" '(* * * * *)))) (lambda () "Return two file descriptors: one for the pseudo-terminal control side, and one for the controlled side." @@ -2341,8 +2340,7 @@ (define openpty (values (* head) (* inferior))))))) (define login-tty - (let* ((proc (syscall->procedure int "login_tty" (list int) - #:library "libutil"))) + (let* ((proc (syscall->procedure int "login_tty" (list int)))) (lambda (fd) "Make FD the controlling terminal of the current process (with the TIOCSCTTY ioctl), redirect standard input, standard output and standard error