Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880985 - x11-misc/rofi-file-browser-extended-1.3.1 - /.../filebrowser.c: error: incompatible function pointer types initializing _mode_get_
Summary: x11-misc/rofi-file-browser-extended-1.3.1 - /.../filebrowser.c: error: incomp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-11 13:41 UTC by Toralf Förster
Modified: 2022-11-11 14:25 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.08 KB, text/plain)
2022-11-11 13:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,149.23 KB, text/plain)
2022-11-11 13:41 UTC, Toralf Förster
Details
environment (environment,99.10 KB, text/plain)
2022-11-11 13:41 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-11 13:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,48.51 KB, application/x-bzip)
2022-11-11 13:41 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.05 KB, application/x-bzip)
2022-11-11 13:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.55 KB, application/x-bzip)
2022-11-11 13:41 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.69 KB, application/x-bzip)
2022-11-11 13:41 UTC, Toralf Förster
Details
x11-misc:rofi-file-browser-extended-1.3.1:20221111-132300.log (x11-misc:rofi-file-browser-extended-1.3.1:20221111-132300.log,11.74 KB, text/plain)
2022-11-11 13:41 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 13:41:13 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/8] /var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1/temp/clang-wrappers/clang -DHAVE_FTW_ACTIONRETVAL -D_GNU_SOURCE -Dfilebrowser_EXPORTS -I/var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1/work/rofi-file-browser-extended-1.3.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-
FAILED: CMakeFiles/filebrowser.dir/src/filebrowser.c.o 
/var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1/temp/clang-wrappers/clang -DHAVE_FTW_ACTIONRETVAL -D_GNU_SOURCE -Dfilebrowser_EXPORTS -I/var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1/work/rofi-file-browser-extended-1.3.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/in
/var/tmp/portage/x11-misc/rofi-file-browser-extended-1.3.1/work/rofi-file-browser-extended-1.3.1/src/filebrowser.c:380:27: error: incompatible function pointer types initializing '_mode_get_icon' (aka 'struct _cairo_surface *(*)(const struct rofi_mode *, unsigned int, unsigned int)') with an express
    ._get_icon          = file_browser_get_icon,
                          ^~~~~~~~~~~~~~~~~~~~~

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

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

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

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]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 1f2e8c8f1ba430d55fe0ee16fba422d99766c50d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 12:46:53 2022 +0000

    2022-11-11 12:46:52 UTC

emerge -qpvO x11-misc/rofi-file-browser-extended
[ebuild  N    ] x11-misc/rofi-file-browser-extended-1.3.1
Comment 1 Toralf Förster gentoo-dev 2022-11-11 13:41:14 UTC
Created attachment 831419 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 13:41:16 UTC
Created attachment 831421 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 13:41:17 UTC
Created attachment 831423 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 13:41:18 UTC
Created attachment 831425 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 13:41:19 UTC
Created attachment 831427 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 13:41:20 UTC
Created attachment 831429 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 13:41:21 UTC
Created attachment 831431 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-11 13:41:22 UTC
Created attachment 831433 [details]
var.tmp.clang.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 13:41:23 UTC
Created attachment 831435 [details]
x11-misc:rofi-file-browser-extended-1.3.1:20221111-132300.log
Comment 10 Larry the Git Cow gentoo-dev 2022-11-11 14:25:38 UTC
The bug has been closed via the following commit(s):

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

commit 327662dcb2dd6690f56655e5f29afcceb36655f9
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2022-11-11 14:23:56 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-11-11 14:25:31 +0000

    x11-misc/rofi-file-browser-extended: fix incompatible-function-pointer-types
    
    Closes: https://bugs.gentoo.org/880985
    Signed-off-by: Florian Schmaus <flow@gentoo.org>
    Upstream: https://github.com/marvinkreis/rofi-file-browser-extended/pull/49

 ...1.3.1-fix-function-pointer-initialization.patch | 23 ++++++++++++++++++++++
 ... => rofi-file-browser-extended-1.3.1-r1.ebuild} |  6 +++++-
 2 files changed, 28 insertions(+), 1 deletion(-)