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 packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dpfuturehacker, leonchik1976, nd, zsojka |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 629772, 769305 | ||
Bug Blocks: | 870412, 941869 | ||
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
![]() Created attachment 893725 [details]
emerge-info.txt
Created attachment 893726 [details]
app-text:enchant-1.6.1-r2:20240522-011058.log
Created attachment 893727 [details]
emerge-history.txt
Created attachment 893728 [details]
environment
Created attachment 893729 [details]
etc.clang.tar.xz
Created attachment 893730 [details]
etc.portage.tar.xz
Created attachment 893731 [details]
logs.tar.xz
Created attachment 893732 [details]
qlist-info.txt
Created attachment 893733 [details]
temp.tar.xz
Same problem, tried with clang 18 and 19, gcc 13 and 14. Errata, compiles with GCC 13, but not with 14. For anyone hitting this, why do you have enchant:0? What is pulling it in for you? I don't see any deps on enchant:0 at a glance. I see some enchant:* deps we should maybe fix to be :2 to help get rid of :0. (In reply to Sam James from comment #12) > For anyone hitting this, why do you have enchant:0? What is pulling it in > for you? > > I don't see any deps on enchant:0 at a glance. I see some enchant:* deps we > should maybe fix to be :2 to help get rid of :0. i.e. Please share output of emerge -pvc app-text/enchant:0. (In reply to Sam James from comment #13) > (In reply to Sam James from comment #12) > > For anyone hitting this, why do you have enchant:0? What is pulling it in > > for you? > > > > I don't see any deps on enchant:0 at a glance. I see some enchant:* deps we > > should maybe fix to be :2 to help get rid of :0. > > i.e. Please share output of emerge -pvc app-text/enchant:0. # emerge -pvc app-text/enchant:0 Calculating dependencies... done! app-text/enchant-1.6.1-r2 pulled in by: app-text/gtkspell-2.0.16-r2 requires >=app-text/enchant-1.1.6:0 app-text/enchant-1.6.1-r2 pulled in by: app-text/gtkspell-2.0.16-r2 requires >=app-text/enchant-1.1.6:0 app-text/gtkspell-2.0.16-r2 pulled in by: net-im/pidgin-2.14.13 requires >=app-text/gtkspell-2.0.2:2 OK, apparently my grepping was poor ;) Thanks, let me look. If Pidgin is really stuck on older gtkspell (likely until it ports to gtk3/4 finally), then I'll just fix enchant. Interestingly, gtkspell-3 does support both gtk2 and gtk3. Fedora just did https://src.fedoraproject.org/rpms/enchant/c/c4f1921ba3df8453d9fd4c8cc1c11b3adc794e10?branch=rawhide and maybe that's good enough given nothing is really using this except for Pidgin and Pidgin got https://discourse.imfreedom.org/t/pidgin-3-0-0-experimental-1-announcement/216 earlier. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc24169b9ded53a4552542036291f7df5a2571c commit 0cc24169b9ded53a4552542036291f7df5a2571c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-22 14:01:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-22 14:01:27 +0000 app-text/enchant: build with -std=gnu89 for :0 Done with regret but :0 is absolutely ancient and I don't think it's worth spending time on this given only pidgin->gtkspell-2 is left depending on this. Do the same as Fedora and built w/ -std=gnu89. Closes: https://bugs.gentoo.org/932436 Signed-off-by: Sam James <sam@gentoo.org> app-text/enchant/enchant-1.6.1-r2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) |