Opened 11 months ago
Last modified 7 months ago
#69035 assigned defect
darktable, darktable-devel @4.4.1: error: too many arguments to function call
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | mascguy (Christopher Nielsen), cooljeanius (Eric Gallager) | |
Port: | darktable, darktable-devel |
Description
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_darktable/darktable/work/darktable-4.4.1/src/imageio/imageio_jpegxl.c:226:93: error: too many arguments to function call, expected 3, have 4 if(JxlDecoderGetICCProfileSize(decoder, &pixel_format, JXL_COLOR_PROFILE_TARGET_DATA, &icc_size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ /opt/local/include/jxl/decode.h:775:29: note: 'JxlDecoderGetICCProfileSize' declared here JXL_EXPORT JxlDecoderStatus JxlDecoderGetICCProfileSize( ^
Change History (5)
comment:1 follow-up: 2 Changed 9 months ago by pinxue (品雪)
comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | darktable, darktable-devel: error: too many arguments to function call → darktable, darktable-devel @4.4.1: error: too many arguments to function call |
---|
Replying to pinxue:
Latest up-stream source code already fixed it by using version check macro, so maybe simplest way is just upgrade the port to use later release.
Indeed, I didn't see that version 4.6.1 has been released. port livecheck darktable
does not identify it. So in addition to updating darktable and darktable-devel to this new version, the livecheck should be fixed.
comment:3 Changed 9 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:4 follow-up: 5 Changed 9 months ago by cooljeanius (Eric Gallager)
Just FYI this blocks rev-upgrade from moving on to rebuilding other broken ports for me
comment:5 Changed 7 months ago by cooljeanius (Eric Gallager)
Replying to cooljeanius:
Just FYI this blocks rev-upgrade from moving on to rebuilding other broken ports for me
...actually wait, I think I might be experiencing a different issue, as I tried applying the patch, and the build is still failing for me... it's hard to tell where exactly the error is due to the parallel build mixing different lines of output together...
Before port is fixed, here is a workaround for darktable 4.4.1 (the release used by port at this moment) Put following text in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/darktable/files/imageio_jpegxl.patch
Then add one line in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/graphics/darktable/Portfile
Then port clean darktable, port install darktable.
Latest up-stream source code already fixed it by using version check macro, so maybe simplest way is just upgrade the port to use later release.