Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880909 - x11-misc/xlockmore-5.69 - vtlock_proc.c: error: incompatible function pointer types passing int
Summary: x11-misc/xlockmore-5.69 - vtlock_proc.c: error: incompatible function pointer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 5.71
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-11 12:03 UTC by Toralf Förster
Modified: 2024-10-28 19:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2022-11-11 12:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,59.68 KB, text/plain)
2022-11-11 12:03 UTC, Toralf Förster
Details
environment (environment,98.67 KB, text/plain)
2022-11-11 12:03 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,703 bytes, application/x-bzip)
2022-11-11 12:03 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.44 KB, application/x-bzip)
2022-11-11 12:03 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.46 KB, application/x-bzip)
2022-11-11 12:03 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.04 KB, application/x-bzip)
2022-11-11 12:03 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.80 KB, application/x-bzip)
2022-11-11 12:03 UTC, Toralf Förster
Details
x11-misc:xlockmore-5.69:20221111-103719.log (x11-misc:xlockmore-5.69:20221111-103719.log,18.12 KB, text/plain)
2022-11-11 12:03 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:03:31 UTC
too long lines were shrinked:

clang -Wnested-externs -Wno-format -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\"   -I. -I.. -I..  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-de
clang -Wnested-externs -Wno-format -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\"   -I. -I.. -I..  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-de
clang -Wnested-externs -Wno-format -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\"   -I. -I.. -I..  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-de
clang -Wnested-externs -Wno-format -c  -DHAVE_CONFIG_H -DDEF_FILESEARCHPATH=\"/usr/share/X11/app-defaults/%N%C%S:/usr/share/X11/app-defaults/%N%S\"   -I. -I.. -I..  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-de
vtlock_proc.c:191:64: error: incompatible function pointer types passing 'int
      (const struct dirent **, const struct dirent **)' to parameter of type
      'int (*)(const void *, const void *)'

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.1 *

  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 x11-misc/xlockmore
[ebuild  N    ] x11-misc/xlockmore-5.69  USE="crypt pam vtlock -debug -gtk -imagemagick -motif -nas -opengl -truetype -xinerama -xlockrc"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:03:32 UTC
Created attachment 830797 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:03:33 UTC
Created attachment 830799 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:03:34 UTC
Created attachment 830801 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:03:35 UTC
Created attachment 830803 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:03:36 UTC
Created attachment 830805 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:03:37 UTC
Created attachment 830807 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:03:38 UTC
Created attachment 830809 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:03:39 UTC
Created attachment 830811 [details]
var.tmp.clang.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:03:40 UTC
Created attachment 830813 [details]
x11-misc:xlockmore-5.69:20221111-103719.log
Comment 10 Larry the Git Cow gentoo-dev 2022-12-07 21:29:29 UTC
The bug has been closed via the following commit(s):

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

commit 71ae0b143a55fd45d4fd56cff13438cdbc602089
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-12-07 16:18:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-07 21:29:22 +0000

    x11-misc/xlockmore: version bump to 5.71, patch
    
    - version bump to 5.71
    - patch to fix build on clang16
    - add filter-lto
    
    Closes: https://bugs.gentoo.org/880909
    Closes: https://bugs.gentoo.org/864761
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28590
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xlockmore/Manifest                        |   1 +
 .../xlockmore-5.71-fix-build-for-clang16.patch     |  28 +++++
 x11-misc/xlockmore/xlockmore-5.71.ebuild           | 125 +++++++++++++++++++++
 3 files changed, 154 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2024-10-28 19:55:43 UTC
The bug has been referenced in the following commit(s):

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

commit d96edeebef760e2b4b416b1c229f0e93e19297a5
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-10-28 19:55:23 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-10-28 19:55:23 +0000

    x11-misc/xlockmore: drop 5.69
    
    Bug: https://bugs.gentoo.org/880909
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 x11-misc/xlockmore/Manifest              |   1 -
 x11-misc/xlockmore/xlockmore-5.69.ebuild | 121 -------------------------------
 2 files changed, 122 deletions(-)