Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919233 - dev-lisp/clisp-2.49.92-r1 - /.../gdbm.c: error: passing argument 5 of gdbm_open from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-lisp/clisp-2.49.92-r1 - /.../gdbm.c: error: passing argument 5 of gdbm_op...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:19 UTC by Toralf Förster
Modified: 2024-02-21 07:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
dev-lisp:clisp-2.49.92-r1:20231204-030749.log.xz (dev-lisp:clisp-2.49.92-r1:20231204-030749.log.xz,36.74 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.81 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
environment (environment,82.95 KB, text/plain)
2023-12-04 20:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.36 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,57.31 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.79 KB, application/x-xz)
2023-12-04 20:19 UTC, Toralf Förster
Details
gcc_14_compile_withinout_gdbm_set_::success (USE_-gdbm_dev-lisp:clisp-2.49.92-r1:20240221-071111.log,709.48 KB, text/plain)
2024-02-21 07:18 UTC, tdr
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-04 20:19:20 UTC
too long lines were shrinked:

      |                                                          1  e
/var/tmp/portage/dev-lisp/clisp-2.49.92-r1/work/clisp-2.49.92/builddir/linkkit/clisp.h:6284:150: note: you can silence this warning by using a hexadecimal constant (0xa rather than 10)
 6284 | && ((((sintB)((((Record)((oint)(obj)-6)))->tfl & 0xFF)) & ~(Rectype_Sbvector ^ Rectype_bvector)) == (Rectype_Sbvector & Rectype_bvector) + (3)) )) obj = check_byte_vector_replacement(obj); return obj; }
      |                                                             ^~
      |                                                             0xa
/var/tmp/portage/dev-lisp/clisp-2.49.92-r1/work/clisp-2.49.92/modules/gdbm/gdbm.c: In function open_gdbm:
/var/tmp/portage/dev-lisp/clisp-2.49.92-r1/work/clisp-2.49.92/modules/gdbm/gdbm.c:127:2107: error: passing argument 5 of gdbm_open from incompatible pointer type [-Wincompatible-pointer-types]
  127 |   with_string_0(path, GLO(pathname_encoding), name, {
      |                                                                                                                                                                                                                                                                                                     

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231128-165524

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

gcc-config -l:
 [1] 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.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
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.4 linux/amd64

  HEAD of ::gentoo
commit 31c53b86617dc55e12ecf200e3033f30e326bf31
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 02:02:05 2023 +0000

    2023-12-04 02:02:05 UTC

emerge -qpvO dev-lisp/clisp
[ebuild  N    ] dev-lisp/clisp-2.49.92-r1  USE="dbus fastcgi gdbm pcre postgres readline unicode zlib -X -berkdb -gtk -hyperspec (-svm) -threads"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:19:21 UTC
Created attachment 877193 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:19:23 UTC
Created attachment 877194 [details]
dev-lisp:clisp-2.49.92-r1:20231204-030749.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:19:24 UTC
Created attachment 877195 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:19:26 UTC
Created attachment 877196 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:19:27 UTC
Created attachment 877197 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:19:28 UTC
Created attachment 877198 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:19:29 UTC
Created attachment 877199 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:19:30 UTC
Created attachment 877200 [details]
qlist-info.txt.xz
Comment 9 tdr 2024-02-21 07:18:00 UTC
Created attachment 885561 [details]
gcc_14_compile_withinout_gdbm_set_::success
Comment 10 tdr 2024-02-21 07:18:29 UTC
=dev-lisp:clisp-2.49.92-r1 successfully builds with gcc-14 if set  USE="gdbm" 

warnings still persist about -Wdeprecated-declarations but are not fatal

(attaching "USE_-gdbm_dev-lisp:clisp-2.49.92-r1:20240221-071111.log"