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

Bug 932436

Summary: app-text/enchant-1.6.1-r2 - enchant.c: error: passing argument 4 of enchant_pwl_suggest from incompatible pointer type [-Wincompatible-pointer-types]
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
app-text:enchant-1.6.1-r2:20240522-011058.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-05-22 08:18:35 UTC
      |                                             ^
enchant.c: In function enchant_session_new:
enchant.c:672:44: warning: cast between incompatible function types from void (*)(void *) to void (*)(void *, void *) [-Wcast-function-type]
  672 |         g_slist_foreach (user_config_dirs, (GFunc)g_free, NULL);
      |                                            ^
enchant.c: In function enchant_dict_suggest:
enchant.c:991:87: error: passing argument 4 of enchant_pwl_suggest from incompatible pointer type [-Wincompatible-pointer-types]
  991 | l_suggs = enchant_pwl_suggest(session->personal, word, len, dict_suggs, &n_pwl_suggs);
      |                                                             ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240520-094755

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit e6d3e6b6b2fc6120d523ee687df634b3b3757220
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue May 21 22:18:45 2024 +0000

    2024-05-21 22:18:45 UTC

emerge -qpvO app-text/enchant
Comment 1 Toralf Förster gentoo-dev 2024-05-22 08:18:36 UTC
Created attachment 893725 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 08:18:37 UTC
Created attachment 893726 [details]
app-text:enchant-1.6.1-r2:20240522-011058.log
Comment 3 Toralf Förster gentoo-dev 2024-05-22 08:18:38 UTC
Created attachment 893727 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-22 08:18:39 UTC
Created attachment 893728 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-22 08:18:40 UTC
Created attachment 893729 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 08:18:41 UTC
Created attachment 893730 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-22 08:18:43 UTC
Created attachment 893731 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-22 08:18:44 UTC
Created attachment 893732 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-05-22 08:18:45 UTC
Created attachment 893733 [details]
temp.tar.xz