Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919279 - media-gfx/gphoto2-2.5.28-r1 - gphoto2-cmd-config.c: error: passing argument 4 of newCDKDialog from incompatible pointer type [-Wincompatible-pointer-t
Summary: media-gfx/gphoto2-2.5.28-r1 - gphoto2-cmd-config.c: error: passing argument 4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard: indirect
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 14:16 UTC by Toralf Förster
Modified: 2024-10-31 19:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.85 KB, text/plain)
2023-12-05 14:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,69.20 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
environment (environment,74.36 KB, text/plain)
2023-12-05 14:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.93 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.07 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
media-gfx:gphoto2-2.5.28-r1:20231205-131506.log (media-gfx:gphoto2-2.5.28-r1:20231205-131506.log,17.84 KB, text/plain)
2023-12-05 14:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.09 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.86 KB, application/x-xz)
2023-12-05 14:16 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 2023-12-05 14:16:28 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/media-gfx/gphoto2-2.5.28-r1/work/gphoto2-2.5.28/gphoto2'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I/usr/include/cdk -I/usr/include -I/usr/include/libexif   -O2 -pi
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I/usr/include/cdk -I/usr/include -I/usr/include/libexif   -O2 -pi
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I/usr/include/cdk -I/usr/include -I/usr/include/libexif   -O2 -pi
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I.. -I../gphoto2 -I/usr/include/gphoto2 -I/usr/include/libexif -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I/usr/include/cdk -I/usr/include -I/usr/include/libexif   -O2 -pi
gphoto2-cmd-config.c: In function set_config:
gphoto2-cmd-config.c:74:42: error: passing argument 4 of newCDKDialog from incompatible pointer type [-Wincompatible-pointer-types]
   74 |                                          msg, 4, buttons, 2,
      |                                          ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231128-165524

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit dddfee353423c1560f6e74a090798145c829bd7d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 12:16:57 2023 +0000

    2023-12-05 12:16:57 UTC

emerge -qpvO media-gfx/gphoto2
[ebuild  N    ] media-gfx/gphoto2-2.5.28-r1  USE="aalib ncurses nls readline"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 14:16:29 UTC
Created attachment 877465 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 14:16:31 UTC
Created attachment 877466 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 14:16:32 UTC
Created attachment 877467 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 14:16:33 UTC
Created attachment 877468 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 14:16:34 UTC
Created attachment 877469 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 14:16:35 UTC
Created attachment 877470 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 14:16:37 UTC
Created attachment 877471 [details]
media-gfx:gphoto2-2.5.28-r1:20231205-131506.log
Comment 8 Toralf Förster gentoo-dev 2023-12-05 14:16:38 UTC
Created attachment 877472 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 14:16:39 UTC
Created attachment 877473 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-06 16:01:41 UTC
The bug has been closed via the following commit(s):

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

commit 3c6244c59141bcdd5144430a42b87ab90cea2f19
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-06 15:59:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-06 16:00:58 +0000

    dev-libs/cdk: build with --enable-const
    
    I don't understand why, in the year 2023, this is optional or at the very least
    not default-on, but whatever.
    
    It turns out that Fedora and openSUSE at least, probably many others, are building
    cdk with --enable-const which is why this only showed up on Gentoo. We do the same
    --enable-const dance for ncurses so I suppose I should've known.
    
    Enable it for parity given it should be fine to go in this direction anyway.
    
    Bug: https://github.com/gphoto/gphoto2/issues/615
    Closes: https://bugs.gentoo.org/919279
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/cdk/cdk-5.0.20230201-r1.ebuild | 63 +++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)