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

Bug 883269

Summary: dev-tcltk/tix-8.4.3-r2 - ./.../tixUtils.c: error: incompatible function pointer types
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
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
dev-tcltk:tix-8.4.3-r2:20221127-063709.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-27 10:37:55 UTC
^
./generic/tixUtils.c:641:1: warning: a function definition without a prototype
      is deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
./generic/tixUtils.c:674:22: error: incompatible function pointer types
      initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct
      Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type

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

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

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

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 *
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 5c7a1d01fa865e52b9610ac91599de04509fd6ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 06:08:12 2022 +0000

    2022-11-27 06:08:12 UTC

emerge -qpvO dev-tcltk/tix
[ebuild  N    ] dev-tcltk/tix-8.4.3-r2
Comment 1 Toralf Förster gentoo-dev 2022-11-27 10:37:56 UTC
Created attachment 837487 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 10:37:58 UTC
Created attachment 837489 [details]
dev-tcltk:tix-8.4.3-r2:20221127-063709.log
Comment 3 Toralf Förster gentoo-dev 2022-11-27 10:37:59 UTC
Created attachment 837491 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-27 10:38:00 UTC
Created attachment 837493 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-27 10:38:01 UTC
Created attachment 837495 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 10:38:02 UTC
Created attachment 837497 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-27 10:38:03 UTC
Created attachment 837499 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-27 10:38:05 UTC
Created attachment 837501 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-27 10:38:05 UTC
Created attachment 837503 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-01-18 11:30:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743d2f09e1dd694fe7b0302e730ce74928b513b0

commit 743d2f09e1dd694fe7b0302e730ce74928b513b0
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-01-18 11:29:33 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-01-18 11:30:10 +0000

    dev-tcltk/tix: fix incompatible function pointer
    
    Closes: https://bugs.gentoo.org/883269
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tix/files/tix-8.4.3-clang6.patch         | 114 +++++++++++++++++++++
 .../{tix-8.4.3-r2.ebuild => tix-8.4.3-r3.ebuild}   |   3 +-
 2 files changed, 116 insertions(+), 1 deletion(-)