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

Bug 880909

Summary: x11-misc/xlockmore-5.69 - vtlock_proc.c: error: incompatible function pointer types passing int
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28590
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2
x11-misc:xlockmore-5.69:20221111-103719.log

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(+)