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

Bug 919233

Summary: dev-lisp/clisp-2.49.92-r1 - /.../gdbm.c: error: passing argument 5 of gdbm_open from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: CONFIRMED ---    
Severity: normal CC: eschwartz93, ted.d.rodgers
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.com/gnu-clisp/clisp/-/issues/50
https://bugs.gentoo.org/show_bug.cgi?id=906023
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-lisp:clisp-2.49.92-r1:20231204-030749.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
gcc_14_compile_withinout_gdbm_set_::success

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"