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

Bug 882197

Summary: gnome-extra/libgda-5.2.9-r1 - gda-connection.c: error: incompatible function pointer types passing
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
gnome-extra:libgda-5.2.9-r1:20221120-130230.log.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2
fix incomp. pointer patch

Description Toralf Förster gentoo-dev 2022-11-20 15:09:16 UTC
too long lines were shrinked:

 GCC warning "Deprecated pre-processor symbol"
     ^
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DPACKAGE_NAME=\"GNU\ Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"5.2.9\" -DPACKAGE_STRING=\"GNU\ Data\ Access\ 5.2.9\" -DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter_bug.cgi\?product=libgda\" -DPACKAGE_URL=\"http://www.
libtool: compile:  clang "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"5.2.9\" "-DPACKAGE_STRING=\"GNU Data Access 5.2.9\"" "-DPACKAGE_BUGREPORT=\"https://bugzilla.gnome.org/enter_bug.cgi?product=libgda\"" -DPACKAGE_URL=\"http://www.gnome-db.org\" -DHAVE_STDIO
gda-connection.c:6461:18: error: incompatible function pointer types passing
      'void (PreparedStatementRef *)' to parameter of type 'GDestroyNotify'
      (aka 'void (*)(void *)') [-Werror,-Wincompatible-function-pointer-types]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20221120-010004

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0 *

  HEAD of ::gentoo
commit 2324c0d48fc33eeb5915693bc211d9c0dddb487a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 20 12:46:52 2022 +0000

    2022-11-20 12:46:51 UTC

emerge -qpvO gnome-extra/libgda
[ebuild  N    ] gnome-extra/libgda-5.2.9-r1  USE="introspection ssl -berkdb -canvas -debug -firebird -gnome-keyring -graphviz -gtk -http -java -json -ldap -mdb -mysql -oci8 -postgres -sourceview -vala"
Comment 1 Toralf Förster gentoo-dev 2022-11-20 15:09:17 UTC
Created attachment 834579 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-20 15:09:19 UTC
Created attachment 834581 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-20 15:09:22 UTC
Created attachment 834583 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-20 15:09:23 UTC
Created attachment 834585 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-20 15:09:24 UTC
Created attachment 834587 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-20 15:09:25 UTC
Created attachment 834589 [details]
gnome-extra:libgda-5.2.9-r1:20221120-130230.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-20 15:09:27 UTC
Created attachment 834591 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-20 15:09:29 UTC
Created attachment 834593 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-20 15:09:30 UTC
Created attachment 834595 [details]
var.tmp.clang.tar.bz2
Comment 10 Pascal Jäger 2023-09-22 09:30:41 UTC
Created attachment 871097 [details, diff]
fix incomp. pointer patch
Comment 11 Pascal Jäger 2023-09-22 09:31:51 UTC
Well, here is the patch for that, but I can not build it regardless. I get 

Makefile:660: *** missing separator.  Stop.

Doesn't matter if its clang or gcc.