Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882197 - gnome-extra/libgda-5.2.9-r1 - gda-connection.c: error: incompatible function pointer types passing
Summary: gnome-extra/libgda-5.2.9-r1 - gda-connection.c: error: incompatible function ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: fixed in 5.2.9-r2
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-20 15:09 UTC by Toralf Förster
Modified: 2024-10-29 14:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.87 KB, text/plain)
2022-11-20 15:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.49 KB, text/plain)
2022-11-20 15:09 UTC, Toralf Förster
Details
environment (environment,163.71 KB, text/plain)
2022-11-20 15:09 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.61 KB, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
gnome-extra:libgda-5.2.9-r1:20221120-130230.log.bz2 (gnome-extra:libgda-5.2.9-r1:20221120-130230.log.bz2,13.23 KB, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.85 KB, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,716.86 KB, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.49 KB, application/x-bzip)
2022-11-20 15:09 UTC, Toralf Förster
Details
fix incomp. pointer patch (libgda-5.2.9-fix-incompatible-pointer-types.patch,706 bytes, patch)
2023-09-22 09:30 UTC, Pascal Jäger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 12 Larry the Git Cow gentoo-dev 2024-06-19 08:56:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2411319426573a7337897e624a97dac407d2c883

commit 2411319426573a7337897e624a97dac407d2c883
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-06-01 15:53:48 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-06-19 08:50:33 +0000

    gnome-extra/libgda: fix gcc-14 and enable tests
    
    * Handle style checks that pkgcheck complains about as well.
    
    Closes: https://bugs.gentoo.org/932738
    Closes: https://bugs.gentoo.org/882197
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36912
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../libgda/files/libgda-5.2.9-fix-gcc14.patch      | 214 +++++++++++++++++++++
 gnome-extra/libgda/libgda-5.2.9-r2.ebuild          | 181 +++++++++++++++++
 2 files changed, 395 insertions(+)