From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UCUxGM/sqWWQXAEAqHPOHw:P1 (envelope-from ) for ; Fri, 19 Jan 2024 04:30:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UCUxGM/sqWWQXAEAqHPOHw (envelope-from ) for ; Fri, 19 Jan 2024 04:30:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dcuU3wFA; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705635023; 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: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=176jZ0esTGmvuPHHRBovDA/9EZx1KpEGjmHuhGEkye4=; b=MHri9B10H75OYXcRgN1nFfoSOQbKgGsCEMiwv7aChiuMAsc4pbb0DoBgIS39z1vobihIpe gCI5hpbae9XcUEuOM1YnknFIsc+PVxcahfDE9tkJjmcYgijdSbHg41Mkz7MEL32GhfOGh2 Cq3tzNg8E57d5qI9Axzxty+Dzrez9OS7BxpuBm/u+eNZD5ZsFJ/5kd5s/nuiB9QfczR6FW bdlYOj4E/DBUVSOiheaS2DKVVMFljctpmm4rb/GCAZtUXLAIP853kQ00sbUN+QDEqvkRny 8b7K9E/wtYrW5WDw6qpSm60cp1oSaAbgp+r0C1tqACcf8Zy6z4XuS67cJ+FmGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dcuU3wFA; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705635023; a=rsa-sha256; cv=none; b=g++UoJTYIzfT4mlJ0SO2a4Ua8Eqvp1/ocUtbKI0V+Ebnz1DjjTJESpvy3l7dEddL9mQ9V/ duMJSLA/rpF6h551ZlmKeh1jyy5+SsdM6HZVoKFDLTPiwxfftkk4hPblJ0mA1y3pyMK4kV 6Y+CIqUilPIR/IrP3TKmc3dhe6jFzybj29w/31bABp3+/8yjqKVxhyDEUtRhougekQ4xB8 YEaer58dWIegtzzdyFouPcbym0IiH+rHPobYhCd9eJq1y8VNKAwKbTF1/URYTXZCiPa9+a /FqTcEvFlpeBz3eIb0qTS38UDtbUV8atRCt3l/4NHa/w/sFZ3axANiBYJArU+A== 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 8F556584A5 for ; Fri, 19 Jan 2024 04:30:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQfZy-0005l3-Du; Thu, 18 Jan 2024 22:30:03 -0500 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 1rQfZw-0005kS-UG for bug-guix@gnu.org; Thu, 18 Jan 2024 22:30:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQfZw-00061o-M9 for bug-guix@gnu.org; Thu, 18 Jan 2024 22:30:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQfZy-0005ed-Fl for bug-guix@gnu.org; Thu, 18 Jan 2024 22:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68399: GnuTLS fails to build for aarch64 in QEMU Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jan 2024 03:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68399 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars Rustand Cc: 68399@debbugs.gnu.org Received: via spool by 68399-submit@debbugs.gnu.org id=B68399.170563494621590 (code B ref 68399); Fri, 19 Jan 2024 03:30:02 +0000 Received: (at 68399) by debbugs.gnu.org; 19 Jan 2024 03:29:06 +0000 Received: from localhost ([127.0.0.1]:57132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQfZ3-0005cA-SI for submit@debbugs.gnu.org; Thu, 18 Jan 2024 22:29:06 -0500 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]:42424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQfZ1-0005bd-5k for 68399@debbugs.gnu.org; Thu, 18 Jan 2024 22:29:04 -0500 Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-681922a61baso3478506d6.1 for <68399@debbugs.gnu.org>; Thu, 18 Jan 2024 19:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705634935; x=1706239735; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=176jZ0esTGmvuPHHRBovDA/9EZx1KpEGjmHuhGEkye4=; b=dcuU3wFA6KDAZKQstq5ol78eAB1Wr4oe+md4ceL9yBc5nxDJdHgkGEcadWdnToKwhC I7Y+0S8UzK932SU+wE4XqmZIyyTR4izj+L3rEh2Tdwt7nH0GwHGXV9EqdSNKcLjQtn6j 9G8Q4zL3h1oPZUBER/FN2IqtPUNddUvKYHiB2Uv80Y67RnEV98lrmsDzMz4+iLRVhLdi 5f9i1UCHjfDX77agtPqn2QGJ6+3iJjqOoxvq2hOzj0WVxleidKpkMTF/zFUUonVatNXx 10Uyc3fgjJYv2Z8JcagXe8YIA/vgFYu7QPD5C7LB3mTwlOIhhCRvtONoDPGWLIeveERK 6DvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705634935; x=1706239735; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=176jZ0esTGmvuPHHRBovDA/9EZx1KpEGjmHuhGEkye4=; b=Wg2bfJfM947IWqUcB0H6psJ+hli7FLHkD+Ifbix4AGTcJdqTD88LJAPcdehhnnw68z 9mdhnZu6TqfBjcQozvHQBAG6unlbOJIRaxdfiNvmc2ASu4CbIguXxnFYklofH+vzla3G 1hszR6zOsnO3DBxyd7pcgFkIHzDKuG6ev1nxpXUGbjRoyqnelXL91OkLgs/wOvO0vsPG KqQKqGASX3NtnQl5RdoFDv5fPm9b2SsdVMyPSVaeLePvUSxJU6CJoYc39HFrEcFFRx3I +iLzex8wRMR2pLUSlOtBnY4ze7WHt1s5Xrv+gX9Cpdq5K2gHZIqqWluNVUW0vFEs7v25 fesQ== X-Gm-Message-State: AOJu0YwbSShMlXa2Az/Aa4Kvc0B+pIYXVwL7yIXOv/xZPfWN7JQEbac1 9sDOylvLwSNdPe5amyvWaWh8oP51tQKZyElQ/TjDfkseZo84JodNJnDxHcBo71w= X-Google-Smtp-Source: AGHT+IF//WGjzFs//aQq/VgUwJ6XwJWTziV4Kt46h8JxeTAu3VL8LjfzH4LwUEeCE/gztPhlvf5DRw== X-Received: by 2002:a05:6214:268a:b0:681:1322:5f with SMTP id gm10-20020a056214268a00b006811322005fmr421765qvb.58.1705634935127; Thu, 18 Jan 2024 19:28:55 -0800 (PST) Received: from hurd (dsl-10-132-160.b2b2c.ca. [72.10.132.160]) by smtp.gmail.com with ESMTPSA id nc2-20020a0562142dc200b0068187c4b5d2sm1431395qvb.111.2024.01.18.19.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 19:28:54 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <87mstbqbwx.fsf@gmail.com> (Lars Rustand's message of "Fri, 12 Jan 2024 07:52:07 +0100") References: <87mstbqbwx.fsf@gmail.com> Date: Thu, 18 Jan 2024 22:28:53 -0500 Message-ID: <87wms6j91m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.33 X-Migadu-Queue-Id: 8F556584A5 X-Spam-Score: 2.33 X-Migadu-Scanner: mx11.migadu.com X-TUID: 9fx//K/towPN Hi, Lars Rustand writes: [...] > --- ./src/gl/tests/test-suite.log ------------------------------------------- > > =============================================== > GnuTLS 3.8.2: src/gl/tests/test-suite.log > =============================================== > > # TOTAL: 167 > # PASS: 166 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: test-free > =============== > > qemu-aarch64: ../../linux-user/mmap.c:801: mmap_reserve_or_unmap: Assertion `ret == 0' failed. > ** > ERROR:../../accel/tcg/cpu-exec.c:532:cpu_exec_longjmp_cleanup: assertion failed: (cpu == current_cpu) > Bail out! ERROR:../../accel/tcg/cpu-exec.c:532:cpu_exec_longjmp_cleanup: assertion failed: (cpu == current_cpu) > FAIL test-free (exit status: 127) That one looks like a probable discrepancy due to QEMU emulation more than a bug in GnuTLS. On the other hand, we can see from our CI that an aarch64-linux (actual hardware) build also failed with: --8<---------------cut here---------------start------------->8--- FAIL: tls13-resume-x509 ======================= client:668: *** Previous session was NOT resumed try to resume from session ticket (different cipher order) server:911: server: session_is_resumed error (1) try to resume from session ticket (different cipher order) FAIL tls13-resume-x509 (exit status: 1) FAIL: tls13-early-data ====================== client:472: client: max_early_data_size mismatch -1 != 1024 server:692: server: Handshake has failed (The TLS connection was non-properly terminated.) FAIL tls13-early-data (exit status: 1) [...] FAIL: dtls-repro-20170915 ========================= negotiating DTLS 1.2 with cli-cert client: Resource temporarily unavailable, try again. server: The operation timed out dtls_try_with_key_mtu:578: Handshake failed FAIL dtls-repro-20170915 (exit status: 1) FAIL: resume-with-stek-expiration ================================= testing tls1.2 resumption STEK was rotated! client: Handshake was completed client: Success: Session was NOT resumed server: Handshake was completed server: Success: Session was NOT resumed STEK was rotated! client: Handshake was completed client: Success: Session was resumed server: Handshake was completed server: Success: Session was resumed STEK was rotated! client: Handshake was completed client: Success: Session was resumed server: Handshake was completed server: Success: Session was resumed STEK was rotated! client: Handshake was completed client: Success: Session was NOT resumed server: Handshake was completed server: Success: Session was NOT resumed testing tls1.3 resumption client: Handshake was completed client: Success: Session was NOT resumed STEK was rotated! server: Handshake was completed server: Success: Session was NOT resumed client: Handshake was completed resume_and_close:140: client: Session was not resumed (but should) STEK was rotated! server:253: server: Handshake failed: Error in the push function. FAIL resume-with-stek-expiration (exit status: 1) --8<---------------cut here---------------end--------------->8--- See: https://ci.guix.gnu.org/build/3170604/details We should check whether upstream is already tracking these failures and disable the tests in the meantime in our package of QEMU for this architecture. -- Thanks, Maxim