Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 926167

Summary: dev-db/qdbm-1.8.78-r4 - mod_depot.c: error: return type defaults to int [-Wimplicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Akinori Hattori <hattya>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36558
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-db:qdbm-1.8.78-r4:20240304-111345.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt

Description Toralf Förster gentoo-dev 2024-03-04 16:28:06 UTC
checking for main() in -llzo2... yes
checking for main() in -liconv... no
checking for main() in -lqdbm... yes
creating Makefile
make[1]: Entering directory '/var/tmp/portage/dev-db/qdbm-1.8.78-r4/work/ruby31/qdbm-1.8.78/ruby/depot'
x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-3.1.0/x86_64-linux -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I.   -fPIC -I. -I/var/tmp/portage/dev-db/qdbm-1.8.78-r4/work/all/qdbm-1.8.78 -I/var/tmp/portage/dev-db/qdbm-1.8.78-r4/homedir/include -I/usr/local/include  -o mod_depot.o -c mod_depot.c
mod_depot.c:93:1: error: return type defaults to int [-Wimplicit-int]
   93 | Init_mod_depot(){
      | ^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_split_usr_desktop_plasma-20240301-175756

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

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 Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
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 aaf7a5987416c93ee902089935ffe82d584ce143
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Mar 4 10:33:57 2024 +0000

    2024-03-04 10:33:56 UTC

emerge -qpvO dev-db/qdbm
[ebuild  N    ] dev-db/qdbm-1.8.78-r4  USE="bzip2 perl ruby zlib -cxx -debug -java -lzo -static-libs" RUBY_TARGETS="ruby31 -ruby32"
Comment 1 Toralf Förster gentoo-dev 2024-03-04 16:28:07 UTC
Created attachment 886673 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-04 16:28:08 UTC
Created attachment 886674 [details]
dev-db:qdbm-1.8.78-r4:20240304-111345.log
Comment 3 Toralf Förster gentoo-dev 2024-03-04 16:28:10 UTC
Created attachment 886675 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-04 16:28:12 UTC
Created attachment 886676 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-04 16:28:13 UTC
Created attachment 886677 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-04 16:28:14 UTC
Created attachment 886678 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-04 16:28:15 UTC
Created attachment 886679 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-04 16:28:16 UTC
Created attachment 886680 [details]
qlist-info.txt
Comment 9 Larry the Git Cow gentoo-dev 2024-05-07 12:51:50 UTC
The bug has been closed via the following commit(s):

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

commit 0cab7bd32a6042bf81e193e5ccaccb7bcbb84aed
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2024-05-07 12:50:11 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2024-05-07 12:50:11 +0000

    dev-db/qdbm: fix build with USE=ruby
    
    Closes: https://bugs.gentoo.org/926167
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 dev-db/qdbm/files/qdbm-ruby.patch                  | 81 ++++++++++++++++++++++
 ...qdbm-1.8.78-r4.ebuild => qdbm-1.8.78-r5.ebuild} |  3 +-
 2 files changed, 83 insertions(+), 1 deletion(-)