Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925012 - dev-libs/dqlite-1.16.2 - src/server.c: error: implicit declaration of function raft_register_state_cb [-Wimplicit-function-declaration]
Summary: dev-libs/dqlite-1.16.2 - src/server.c: error: implicit declaration of functio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-02-19 20:08 UTC by Toralf Förster
Modified: 2024-02-20 09:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,22.72 KB, text/plain)
2024-02-19 20:08 UTC, Toralf Förster
Details
dev-libs:dqlite-1.16.2:20240219-123025.log (dev-libs:dqlite-1.16.2:20240219-123025.log,106.05 KB, text/plain)
2024-02-19 20:08 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,91.86 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details
environment (environment,79.13 KB, text/plain)
2024-02-19 20:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.85 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.09 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,93.82 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.27 KB, application/x-xz)
2024-02-19 20:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-19 20:08:01 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" "-DPACKAGE_STRING=\"libdqlite 1.16.2\"" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\" -DVERSION=\"1.16.2\" -DH
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" -DPACKAGE_STRING=\"libdqlite\ 1.16.2\" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\"
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" -DPACKAGE_STRING=\"libdqlite\ 1.16.2\" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\"
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" "-DPACKAGE_STRING=\"libdqlite 1.16.2\"" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\" -DVERSION=\"1.16.2\" -DH
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libdqlite\" -DPACKAGE_TARNAME=\"libdqlite\" -DPACKAGE_VERSION=\"1.16.2\" "-DPACKAGE_STRING=\"libdqlite 1.16.2\"" -DPACKAGE_BUGREPORT=\"https://github.com/canonical/dqlite\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libdqlite\" -DVERSION=\"1.16.2\" -DH
src/server.c: In function 'dqlite__init':
src/server.c:123:9: error: implicit declaration of function 'raft_register_state_cb' [-Wimplicit-function-declaration]
  123 |         raft_register_state_cb(&d->raft, state_cb);
      |         ^~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20240210-221505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Rust versions:
  [1]   rust-bin-1.75.0
  [2]   rust-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit b62a6e6323347499fa3e30b0a43009ca89a365ec
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 19 11:18:54 2024 +0000

    2024-02-19 11:18:53 UTC

emerge -qpvO dev-libs/dqlite
[ebuild     U ] dev-libs/dqlite-1.16.2 [1.16.0] USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-02-19 20:08:02 UTC
Created attachment 885465 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-19 20:08:03 UTC
Created attachment 885466 [details]
dev-libs:dqlite-1.16.2:20240219-123025.log
Comment 3 Toralf Förster gentoo-dev 2024-02-19 20:08:04 UTC
Created attachment 885467 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-02-19 20:08:06 UTC
Created attachment 885468 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-02-19 20:08:06 UTC
Created attachment 885469 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-19 20:08:07 UTC
Created attachment 885470 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-19 20:08:08 UTC
Created attachment 885471 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-19 20:08:10 UTC
Created attachment 885472 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-02-19 20:08:11 UTC
Created attachment 885473 [details]
temp.tar.xz
Comment 10 Brahmajit Das 2024-02-20 06:19:27 UTC
https://github.com/cowsql/raft/issues/178 should be relevant.
Comment 11 Larry the Git Cow gentoo-dev 2024-02-20 09:08:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3962a1c3bca15fb55899d5e44eefea2ed0e95ed

commit e3962a1c3bca15fb55899d5e44eefea2ed0e95ed
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-02-20 09:06:54 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-02-20 09:08:38 +0000

    Revert "dev-libs/dqlite: add 1.16.2"
    
    This reverts commit d8e93a63921f1645ca53aabdcc0245af1320bc5e.
    
    Upstream issue with rationale:
     https://github.com/cowsql/raft/issues/178
    
    Bug: https://bugs.gentoo.org/925012
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/dqlite/Manifest             |  1 -
 dev-libs/dqlite/dqlite-1.16.2.ebuild | 51 ------------------------------------
 2 files changed, 52 deletions(-)