Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920460 - dev-db/libdbi-drivers-0.9.0-r2 - dbd_firebird.c: error: implicit declaration of function isdigit [-Wimplicit-function-declaration]
Summary: dev-db/libdbi-drivers-0.9.0-r2 - dbd_firebird.c: error: implicit declaration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 932711 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-21 09:45 UTC by Toralf Förster
Modified: 2024-06-12 02:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.30 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
dev-db:libdbi-drivers-0.9.0-r2:20231221-052119.log (dev-db:libdbi-drivers-0.9.0-r2:20231221-052119.log,35.47 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,256.00 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
environment (environment,74.59 KB, text/plain)
2023-12-21 09:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.09 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.21 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.58 KB, application/x-xz)
2023-12-21 09:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.11 KB, application/x-xz)
2023-12-21 09:45 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 2023-12-21 09:45:37 UTC
utility.c:396:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  396 |         asprintf(&sql_cmd, "SELECT GEN_ID( %s ,%d ) FROM RDB$DATABASE",sequence, type );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:519: utility.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
dbd_firebird.c: In function 'dbd_get_engine_version':
dbd_firebird.c:249:41: error: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
  249 |                 while (start>version && isdigit((int)(*(start-1)))) {
      |                                         ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

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

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.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 54d3121a6b8a6e80b6e2f602fb8b5a3285ea83d9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 21 04:31:57 2023 +0000

    2023-12-21 04:31:56 UTC

emerge -qpvO dev-db/libdbi-drivers
[ebuild  N    ] dev-db/libdbi-drivers-0.9.0-r2  USE="firebird mysql postgres sqlite -doc -oci8 -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-12-21 09:45:38 UTC
Created attachment 880135 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-21 09:45:39 UTC
Created attachment 880136 [details]
dev-db:libdbi-drivers-0.9.0-r2:20231221-052119.log
Comment 3 Toralf Förster gentoo-dev 2023-12-21 09:45:41 UTC
Created attachment 880137 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-21 09:45:42 UTC
Created attachment 880138 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-21 09:45:42 UTC
Created attachment 880139 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-21 09:45:44 UTC
Created attachment 880140 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-21 09:45:44 UTC
Created attachment 880141 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-21 09:45:46 UTC
Created attachment 880142 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-21 09:45:47 UTC
Created attachment 880143 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 01:53:58 UTC
*** Bug 932711 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-06-12 02:01:12 UTC
The bug has been closed via the following commit(s):

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

commit 1c52fc05c6b46b242e64eb746af429892b986d0a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-12 01:57:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-12 01:57:18 +0000

    dev-db/libdbi-drivers: fix memory corruption issues w/ sqlite
    
    Backport some memory corruption fixes for sqlite3.
    
    Note that I haven't fixed bug #920440 - I have essentially no idea
    about this package and I'd really prefer someone investigate what
    it's even trying to do there.
    
    Bug: https://bugs.gentoo.org/920440
    Closes: https://bugs.gentoo.org/920460
    Closes: https://bugs.gentoo.org/933427
    Signed-off-by: Sam James <sam@gentoo.org>

 ...bdbi-drivers-0.9.0-buffer-overflow-sqlite.patch | 14 ++++
 .../files/libdbi-drivers-0.9.0-c99.patch           | 11 +++
 ...ibdbi-drivers-0.9.0-fortify-source-sqlite.patch | 13 ++++
 .../libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild  | 90 ++++++++++++++++++++++
 4 files changed, 128 insertions(+)