Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884155 - media-gfx/darktable-4.0.1 - /.../lib.c: warning: passing arguments to a function without a prototype is deprecated in all versions
Summary: media-gfx/darktable-4.0.1 - /.../lib.c: warning: passing arguments to a funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2022-12-03 15:19 UTC by Toralf Förster
Modified: 2023-03-05 10:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.36 KB, text/plain)
2022-12-03 15:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.90 KB, text/plain)
2022-12-03 15:19 UTC, Toralf Förster
Details
environment (environment,124.48 KB, text/plain)
2022-12-03 15:19 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,703 bytes, application/x-bzip)
2022-12-03 15:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.98 KB, application/x-bzip)
2022-12-03 15:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.48 KB, application/x-bzip)
2022-12-03 15:19 UTC, Toralf Förster
Details
media-gfx:darktable-4.0.1:20221203-103602.log.bz2 (media-gfx:darktable-4.0.1:20221203-103602.log.bz2,20.69 KB, application/x-bzip)
2022-12-03 15:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,70.52 KB, application/x-bzip)
2022-12-03 15:19 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,3.94 KB, application/x-bzip)
2022-12-03 15:19 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-12-03 15:19:13 UTC
too long lines were shrinked:

31 warnings generated.
[405/839] /var/tmp/portage/media-gfx/darktable-4.0.1/temp/clang-wrappers/clang -DGDK_DISABLE_DEPRECATED -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDE
[406/839] /var/tmp/portage/media-gfx/darktable-4.0.1/temp/clang-wrappers/clang -DGDK_DISABLE_DEPRECATED -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDE
[407/839] /var/tmp/portage/media-gfx/darktable-4.0.1/temp/clang-wrappers/clang -DGDK_DISABLE_DEPRECATED -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDE
/var/tmp/portage/media-gfx/darktable-4.0.1/work/darktable-4.0.1/src/libs/lib.c:582:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  const int apos = am->position ? am->position(am) : 0;
                                              ^

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

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

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
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.6
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:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 41ff65d35466bde52fa7248128779dfc354c4f84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 3 09:16:51 2022 +0000

    2022-12-03 09:16:50 UTC

emerge -qpvO media-gfx/darktable
[ebuild  N    ] media-gfx/darktable-4.0.1  USE="cups nls openmp -avif -colord -doc -flickr -gamepad -geolocation -gmic -gnome-keyring -gphoto2 -graphicsmagick -heif -jpeg2k -kwallet -lto -lua -midi -opencl -openexr -test -tools -webp" CPU_FLAGS_X86="avx sse3" L10N="uk -cs -de -eo -es -fi -fr -he -hu -it -ja -nl -pt-BR -ru -sl -tr -zh-CN" LUA_SINGLE_TARGET="lua5-4"
Comment 1 Toralf Förster gentoo-dev 2022-12-03 15:19:14 UTC
Created attachment 839243 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-03 15:19:16 UTC
Created attachment 839245 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-03 15:19:17 UTC
Created attachment 839247 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-03 15:19:18 UTC
Created attachment 839249 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-03 15:19:19 UTC
Created attachment 839251 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-03 15:19:20 UTC
Created attachment 839253 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-03 15:19:21 UTC
Created attachment 839255 [details]
media-gfx:darktable-4.0.1:20221203-103602.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-03 15:19:22 UTC
Created attachment 839257 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-03 15:19:23 UTC
Created attachment 839259 [details]
var.tmp.clang.tar.bz2
Comment 10 Marek Szuba archtester gentoo-dev 2023-02-28 10:11:34 UTC
Do you still get this warning with 4.2.0 or 4.2.1, Toralf?
Comment 11 Toralf Förster gentoo-dev 2023-03-05 10:18:53 UTC
fixed I'd say:

/home/tinderbox/run/17.1_desktop_plasma-j5-20230304-080005/var/log/emerge.log
2023-03-04T19:46:13 >>> media-gfx/darktable-4.2.1: 2 minutes, 53 seconds