From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id g+EKBfsP3GR2UwEASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 01:53:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sOhxBPsP3GQQzQAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 01:53:31 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B0BB443F9 for ; Wed, 16 Aug 2023 01:53:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692143610; h=from:from: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=xu7hf5g+zxG1yq2VU+rJGVAdsQ9iS12juNM+lvbgNd4=; b=uEeq11k62gMJgsS8YxJVZoxN81IaF41SjLuhOKWoZXefpq7N28TOIbpvcEwrKXc8JW2Mj1 W05lenT1LRZPnw9Tmfu3yGc6QYSXjbVy73eQKb7P6LFGW8NpVPiarwaPwlk1TuOTcsxwmO VbcaFzx6yVm+exT1oimzj7N2MdaTmFMf5/BAhqmIFqtpSRCIEQ6K59UZsB+9kYdOH21HEN DA9LJDp4zDyOsa9N9yuW8ML9qRyf6z5ze/MotRf3+bTGJMCbLHXq2xIgXcgBPN9Ax/EZID NukC6r1AEc3O1hZ/C/D/vqV5Y3z9UTMaUaxpiYQjX4pEtAKaGanvuF1EXAftJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692143610; a=rsa-sha256; cv=none; b=cMhVWyvV0jJVMNvQU8TN1VdhO2w4E4qX/ZP0m4/XIH0nzq1bXy9ZOPHxkr9jPXHsWMwNJJ 711GqoJ6f4GxZmZ55Ut6e/ZGg3az874o+lR4o5IyOCImVgYUcKS4UAyJr545pnzKUydNs2 Nx2/9FaYVSUsrWAY4jslCPq6QRIsZ7F6V/mBzH4iPa8U7Z8+b3PzJ35wEt41L6ivl+dBeK BAcHXdixyNmleuxkBI7ELkXhWj+xZxMY+hwedFTKBkKlD4TcDz5ntOO5ljfI2Zk5KvL19p kjnP5eaGYl7bO8gSj1AGDcNr1S0yBO+imUdwg/iVM/jxSXQhpRcJ2CIFSylIyA== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id AC69F5F38B; Tue, 15 Aug 2023 23:53:21 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157]) by mail.notmuchmail.org (Postfix) with ESMTPS id 076FE5F338 for ; Tue, 15 Aug 2023 23:53:19 +0000 (UTC) Received: from motzkin.cs.unb.ca (fctnnbsc51w-159-2-210-253.dhcp-dynamic.fibreop.nb.bellaliant.net [159.2.210.253]) by phubs.tethera.net (Postfix) with ESMTPS id 2B0B3180172; Tue, 15 Aug 2023 20:53:17 -0300 (ADT) Received: (nullmailer pid 25794 invoked by uid 1000); Tue, 15 Aug 2023 23:53:16 -0000 From: David Bremner To: Michael J Gruber Subject: Re: T040 fails on Fedora 39 rebuild In-Reply-To: <87sf8kk28s.fsf@tethera.net> References: <87edl2ghyn.fsf@tethera.net> <87sf8kk28s.fsf@tethera.net> Date: Tue, 15 Aug 2023 20:53:16 -0300 Message-ID: <871qg3vp5f.fsf@motzkin.cs.unb.ca> MIME-Version: 1.0 Message-ID-Hash: UBUNFOWQNZAMUG6VINZI3T7L6WHT2GB3 X-Message-ID-Hash: UBUNFOWQNZAMUG6VINZI3T7L6WHT2GB3 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Spam-Score: -5.43 X-Spam-Score: -5.43 X-Migadu-Queue-Id: 6B0BB443F9 X-Migadu-Scanner: mx2.migadu.com X-TUID: 8MhTMjfMTt/9 David Bremner writes: > Michael J Gruber writes: > >> At first I thought we (notmuch) might have a flushing problem or such, >> which we should prevent. But this clearly looks like a glib2 >> regression now which caused others' CI to fail, too. At least you're >> prepared in case of incoming reports now ;-) > > I am seeing related (but less obnoxious) failures with glib 2.77.1 and > 2.77.2: namely the comment at the beginning of the file is gone and the > blank lines between groups are gone. Ignoring whitespace variance is > easy enough, but the missing comment at the beginning indicates either a > glib regression or notmuch doing it wrong. > Seems like a glib regression, unless there is something forbidden about the following. Sigh, I guess I need to register for an account to report a glib bug. #include #include #include #include int main(int argc, char** argv){ GKeyFile *file; size_t length; char *data, *filename; GError *error = NULL; file = g_key_file_new (); g_key_file_set_comment (file, NULL, NULL, "top comment", NULL); g_key_file_set_value (file, "section", "dummy_key", "dummy_val"); g_key_file_remove_key (file, "section", "dummy_key", NULL); g_key_file_set_comment (file,"section",NULL, "section comment",NULL); data = g_key_file_to_data (file, &length, NULL); if (data == NULL) { fprintf (stderr, "Out of memory.\n"); return 1; } puts(data); }