Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880941 - app-editors/xvile-9.8w - ./x11.c: error: incompatible function pointer types passing
Summary: app-editors/xvile-9.8w - ./x11.c: error: incompatible function pointer types ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vim Maintainers
URL:
Whiteboard: fixed in 9.8x
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-11 12:27 UTC by Toralf Förster
Modified: 2024-10-29 13:45 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2022-11-11 12:27 UTC, Toralf Förster
Details
app-editors:xvile-9.8w:20221111-111626.log (app-editors:xvile-9.8w:20221111-111626.log,87.48 KB, text/plain)
2022-11-11 12:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,154.93 KB, text/plain)
2022-11-11 12:27 UTC, Toralf Förster
Details
environment (environment,28.51 KB, text/plain)
2022-11-11 12:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-11 12:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.96 KB, application/x-bzip)
2022-11-11 12:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.82 KB, application/x-bzip)
2022-11-11 12:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.25 KB, application/x-bzip)
2022-11-11 12:27 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,4.90 KB, application/x-bzip)
2022-11-11 12:27 UTC, Toralf Förster
Details

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-11 12:27:38 UTC
too long lines were shrinked:

clang -c -I. -I. -DHAVE_CONFIG_H -D_GLIBCXX_ASSERTIONS -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500    -DOSMINORVERSION=0 -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=6 -I./filters -DPIXMAP_ROOTDIR=\"/usr/share/vile/pixmaps/\" -DPROGRAM_NAME=\"xvile\" -DVILE_ICON=\"icons/vile.xpm\" -DVILE_LIBDIR_PATH=\"
clang -c -I. -I. -DHAVE_CONFIG_H -D_GLIBCXX_ASSERTIONS -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500    -DOSMINORVERSION=0 -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=6 -I./filters -DPROGRAM_NAME=\"xvile\" -DVILE_ICON=\"icons/vile.xpm\" -DVILE_LIBDIR_PATH=\"/usr/lib64/vile\" -DVILE_STARTUP_PATH=\"/usr/s
clang -c -I. -I. -DHAVE_CONFIG_H -D_GLIBCXX_ASSERTIONS -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500    -DOSMINORVERSION=0 -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=6 -I./filters -DPROGRAM_NAME=\"xvile\" -DVILE_ICON=\"icons/vile.xpm\" -DVILE_LIBDIR_PATH=\"/usr/lib64/vile\" -DVILE_STARTUP_PATH=\"/usr/s
clang -c -I. -I. -DHAVE_CONFIG_H -D_GLIBCXX_ASSERTIONS -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500    -DOSMINORVERSION=0 -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=6 -I./filters -DPROGRAM_NAME=\"xvile\" -DVILE_ICON=\"icons/vile.xpm\" -DVILE_LIBDIR_PATH=\"/usr/lib64/vile\" -DVILE_STARTUP_PATH=\"/usr/s
./x11.c:2262:23: error: incompatible function pointer types passing
      'void (String)' (aka 'void (char *)') to parameter of type 'void
      (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *)

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

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

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 69f0b7550ab587381bffca4687249bd3f505afdf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 10:16:50 2022 +0000

    2022-11-11 10:16:50 UTC

emerge -qpvO app-editors/xvile
[ebuild  N    ] app-editors/xvile-9.8w  USE="-perl"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:27:39 UTC
Created attachment 831069 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:27:41 UTC
Created attachment 831071 [details]
app-editors:xvile-9.8w:20221111-111626.log
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:27:42 UTC
Created attachment 831073 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:27:44 UTC
Created attachment 831075 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:27:44 UTC
Created attachment 831077 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:27:45 UTC
Created attachment 831079 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:27:46 UTC
Created attachment 831081 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:27:47 UTC
Created attachment 831083 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:27:48 UTC
Created attachment 831085 [details]
var.tmp.clang.tar.bz2
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-11 23:19:34 UTC
CCing upstream (hi!)

Clang 16 will make -Wincompatible-function-pointer-types an error by default. You can emulate it with Clang 15 -Werror=... or GCC with -Werror=incompatible-pointer-types (GCC doesn't have the specific warning for just func. ptrs).
Comment 11 Larry the Git Cow gentoo-dev 2022-11-15 02:22:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3d40a29078d1796ed26b83d5a823155a5ce015

commit 4d3d40a29078d1796ed26b83d5a823155a5ce015
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-13 14:05:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 02:08:48 +0000

    app-editors/xvile: fix build for clang16
    
    Closes: https://bugs.gentoo.org/880941
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28255
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/xvile-9.8w-fix-build-for-clang16.patch   | 27 ++++++++++++++++++++++
 .../{xvile-9.8w.ebuild => xvile-9.8w-r1.ebuild}    |  2 ++
 2 files changed, 29 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2022-12-27 11:40:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=367129e7ef4636b0599b12c0cf29977cdb46a2e1

commit 367129e7ef4636b0599b12c0cf29977cdb46a2e1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 11:39:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 11:39:39 +0000

    app-editors/xvile: add 9.8x
    
    Bug: https://bugs.gentoo.org/880941
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/xvile/Manifest          |  2 ++
 app-editors/xvile/xvile-9.8x.ebuild | 59 +++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

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

commit b00fe85321ec6e0418c24eedc17fbc16ffde506f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 11:37:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 11:37:21 +0000

    app-editors/vile: add 9.8x
    
    Bug: https://bugs.gentoo.org/880941
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/vile/Manifest         |  2 ++
 app-editors/vile/vile-9.8x.ebuild | 58 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)