GNU bug report logs

#73007 Geary Build Failure

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#73007; Package guix. (Tue, 03 Sep 2024 16:35:01 GMT) (full text, mbox, link).


Acknowledgement sent to Juliana Sims <juli@incana.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Tue, 03 Sep 2024 16:35:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Juliana Sims <juli@incana.org>
To: bug-guix@gnu.org
Subject: Geary Build Failure
Date: Tue, 03 Sep 2024 12:32:53 -0400
[Message part 1 (text/plain, inline)]
Hello,

After the recent core update, Geary fails to build. A full build log is 
attached. The relevant bit appears to be this:

```
# GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate 
to using O_CLOEXEC instead
# GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate 
to using O_CLOEXEC instead
ok 177 /engine/Geary.ImapDb.DatabaseTest/upgrade_0_6
not ok 178 
/engine/Geary.ImapDb.DatabaseTest/utf8_case_insensitive_collation
Bail out!
stderr:
Geary.Db-Message: 15:34:23.255: Garbage collection of IMAP database 
/tmp/guix-build-geary-44.1.drv-0/geary-imap-db-database-test-6GMHT2/geary-0.6-db/geary.db 
failed: Operation was cancelled
Geary.ImapDb.DatabaseTest/utf8_case_insensitive_collation: “á” != 
“BB”
```

The related code in the source tree is at 
`test/engine/imap-db-database-test.vala` and specifically the function 
`utf8_case_insensitive_collation` which is:

```
   public void utf8_case_insensitive_collation() throws GLib.Error {
       Database db = new Database(
           this.tmp_dir.get_child("test.db"),
           GLib.File.new_for_path(_SOURCE_ROOT_DIR).get_child("sql"),
           this.tmp_dir.get_child("attachments"),
           new 
Geary.SimpleProgressMonitor(Geary.ProgressType.DB_UPGRADE),
           new 
Geary.SimpleProgressMonitor(Geary.ProgressType.DB_VACUUM)
       );

       db.open.begin(
           Geary.Db.DatabaseFlags.CREATE_FILE, null,
           this.async_completion
       );
       db.open.end(async_result());

       db.exec("""
           CREATE TABLE Test (id INTEGER PRIMARY KEY, test_str TEXT);
           INSERT INTO Test (test_str) VALUES ('a');
           INSERT INTO Test (test_str) VALUES ('b');
           INSERT INTO Test (test_str) VALUES ('B');
           INSERT INTO Test (test_str) VALUES ('BB');
           INSERT INTO Test (test_str) VALUES ('á');
       """);

       string[] expected = { "BB", "B", "b", "á", "a" };
       Db.Result result = db.query(
           "SELECT test_str FROM Test ORDER BY test_str COLLATE 
UTF8COLL DESC"
       );

       int i = 0;
       while (!result.finished) {
           assert_true(i < expected.length, "Too many rows");
           assert_equal(result.string_at(0), expected[i]);
           i++;
           result.next();
       }
       assert_true(i == expected.length, "Not enough rows");

       // Need to close it again to stop the GC process running
       db.close();
   }

```

Best,
Juli

[0rl70ncdb0mdjmn5k3zvcpynf8g8gk-geary-44.1.drv.gz (application/gzip, attachment)]

Reply sent to Guillaume Le Vaillant <glv@posteo.net>:
You have taken responsibility. (Tue, 03 Sep 2024 18:58:01 GMT) (full text, mbox, link).


Notification sent to Juliana Sims <juli@incana.org>:
bug acknowledged by developer. (Tue, 03 Sep 2024 18:58:02 GMT) (full text, mbox, link).


Message #10 received at 73007-close@debbugs.gnu.org (full text, mbox, reply):

From: Guillaume Le Vaillant <glv@posteo.net>
To: Juliana Sims <juli@incana.org>
Cc: 73007-close@debbugs.gnu.org
Subject: Re: bug#73007: Geary Build Failure
Date: Tue, 03 Sep 2024 18:56:06 +0000
[Message part 1 (text/plain, inline)]
Fixed in 56d9745d81ea2d0464ed94fc9b3ba0205619835e.
Thanks for the report.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Wed, 02 Oct 2024 11:24:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Nov 4 22:16:23 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.