* bug#73007: Geary Build Failure
@ 2024-09-03 16:32 Juliana Sims via Bug reports for GNU Guix
2024-09-03 18:56 ` Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: Juliana Sims via Bug reports for GNU Guix @ 2024-09-03 16:32 UTC (permalink / raw)
To: 73007
[-- Attachment #1: Type: text/plain, Size: 2570 bytes --]
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
[-- Attachment #2: 0rl70ncdb0mdjmn5k3zvcpynf8g8gk-geary-44.1.drv.gz --]
[-- Type: application/gzip, Size: 33771 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#73007: Geary Build Failure
2024-09-03 16:32 bug#73007: Geary Build Failure Juliana Sims via Bug reports for GNU Guix
@ 2024-09-03 18:56 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2024-09-03 18:56 UTC (permalink / raw)
To: Juliana Sims; +Cc: 73007-close
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
Fixed in 56d9745d81ea2d0464ed94fc9b3ba0205619835e.
Thanks for the report.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-03 18:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 16:32 bug#73007: Geary Build Failure Juliana Sims via Bug reports for GNU Guix
2024-09-03 18:56 ` Guillaume Le Vaillant
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.