GNU bug report logs - #79069
libdbi-drivers does not build

Previous Next

Package: guix;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Mon, 21 Jul 2025 11:57:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 79069 in the body.
You can then email your comments to 79069 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#79069; Package guix. (Mon, 21 Jul 2025 11:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 21 Jul 2025 11:57:02 GMT) Full text and rfc822 format available.

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

From: Tomas Volf <~@wolfsden.cz>
To: bug-guix <at> gnu.org
Subject: libdbi-drivers does not build
Date: Mon, 21 Jul 2025 13:56:12 +0200
Hello,

I pulled latest Guix and tried to reconfigure my home, but it failed due
to a build failure in libdbi-drivers:

--8<---------------cut here---------------start------------->8---
$ guix describe            
Generation 1	Jul 21 2025 11:48:06	(current)
  guix e942608
    repository URL: https://git.guix.gnu.org/guix.git
    branch: master
    commit: e94260852b67fcad6f7f32c1944718a8d08a494d
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ guix build libdbi-drivers
[..]
gcc -DHAVE_CONFIG_H -I. -I../.. -Iinclude    -std=gnu99  -MT cdash_reporter.o -MD -MP -MF .deps/cdash_reporter.Tpo -c -o cdash_reporter.o `test -f 'src/cdash_reporter.c' || echo './'`src/cdash_reporter.c
src/constraint.c: In function ‘with_’:
src/constraint.c:104:22: error: assignment to ‘void (*)(Constraint *, const char *, intptr_t,  const char *, int,  TestReporter *)’ {aka ‘void (*)(struct Constraint_ *, const char *, long int,  const char *, int,  struct TestReporter_ *)’} from incompatible pointer type ‘void (*)(Constraint *, const char *, const char *, intptr_t,  const char *, int,  TestReporter *)’ {aka ‘void (*)(struct Constraint_ *, const char *, const char *, long int,  const char *, int,  struct TestReporter_ *)’} [-Wincompatible-pointer-types]
  104 |     constraint->test = &test_with_matcher;
      |                      ^
src/constraint.c: In function ‘compare_using_matcher’:
src/constraint.c:167:39: error: initialization of ‘int (*)(const void *)’ from ‘intptr_t’ {aka ‘long int’} makes pointer from integer without a cast [-Wint-conversion]
  167 |         int (*matches)(const void*) = constraint->expected;
      |                                       ^~~~~~~~~~
src/constraint.c:168:20: error: passing argument 1 of ‘matches’ makes pointer from integer without a cast [-Wint-conversion]
  168 |     return matches(actual);
      |                    ^~~~~~
      |                    |
      |                    intptr_t {aka long int}
src/constraint.c:168:20: note: expected ‘const void *’ but argument is of type ‘intptr_t’ {aka ‘long int’}
make[3]: *** [Makefile:454: constraint.o] Error 1
make[3]: *** Waiting for unfinished jobs....
src/unit.c: In function ‘wait_for_child_process’:
src/unit.c:229:5: error: implicit declaration of function ‘wait’; did you mean ‘want’? [-Wimplicit-function-declaration]
  229 |     wait(&status);
      |     ^~~~
      |     want
mv -f .deps/breadcrumb.Tpo .deps/breadcrumb.Po
make[3]: *** [Makefile:356: unit.o] Error 1
--8<---------------cut here---------------end--------------->8---

Have a nice day,
Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Mon, 28 Jul 2025 20:37:01 GMT) Full text and rfc822 format available.

Notification sent to Tomas Volf <~@wolfsden.cz>:
bug acknowledged by developer. (Mon, 28 Jul 2025 20:37:02 GMT) Full text and rfc822 format available.

Message #10 received at 79069-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 79069-done <at> debbugs.gnu.org
Subject: Close
Date: Mon, 28 Jul 2025 22:36:22 +0200
Fixed in commit b219249717c775c9bc5eb279147e691fea26c549.

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 Aug 2025 11:24:22 GMT) Full text and rfc822 format available.

This bug report was last modified 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.