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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#79069: closed (libdbi-drivers does not build)
Date: Mon, 28 Jul 2025 20:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 28 Jul 2025 22:36:22 +0200
with message-id <aIffRkYZUSSbujGd <at> jurong>
and subject line Close
has caused the debbugs.gnu.org bug report #79069,
regarding libdbi-drivers does not build
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
79069: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79069
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
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



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.