error compile on archlinux

Hello, when I try install art-rawconverter from aur I get error at the end of compile procces, with that error with some wrong linker only after switching back for some versions compile with make get done, so I use ld and mold as default linker, why I get this error about wrong linker? Also when I swith some versions back for make compile success, in make log I give error’s: like that:

[ 51%] Building CXX object rtgui/CMakeFiles/art.dir/blackwhite.cc.o
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc: In member function ‘nikon_yuv_load_raw’:
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1423:33: warning: ‘yuv[2]’ may be used uninitialized [-Wmaybe-uninitialized]
 1423 |       rgb[1] = yuv[b] - 0.337633*yuv[2] - 0.698001*yuv[3];
      |                                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1412:17: note: ‘yuv[2]’ was declared here
 1412 |   int row, col, yuv[4], rgb[3], b, c;
      |                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1422:33: warning: ‘yuv[3]’ may be used uninitialized [-Wmaybe-uninitialized]
 1422 |       rgb[0] = yuv[b] + 1.370705*yuv[3];
      |                                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1412:17: note: ‘yuv[3]’ was declared here
 1412 |   int row, col, yuv[4], rgb[3], b, c;
      |                 ^

[ 56%] Building CXX object rtgui/CMakeFiles/art.dir/curveeditor.cc.o
In function ‘memcpy’,
    inlined from ‘foveon_interpolate’ at /home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:4154:10:
/usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin___memcpy_chk’ writing 96 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      | 

/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtgui/exifpanel.cc: In member function ‘operator().isra’:
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtgui/exifpanel.cc:365:40: warning: ‘strncmp’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread]
  365 |                 if (p1 != p2 || strncmp(sa, sb, p1) != 0) {
      |                                        ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc: In member function ‘nikon_yuv_load_raw’:
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1423:33: warning: ‘yuv[2]’ may be used uninitialized [-Wmaybe-uninitialized]
 1423 |       rgb[1] = yuv[b] - 0.337633*yuv[2] - 0.698001*yuv[3];
      |                                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1412:17: note: ‘yuv[2]’ was declared here
 1412 |   int row, col, yuv[4], rgb[3], b, c;
      |                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1422:33: warning: ‘yuv[3]’ may be used uninitialized [-Wmaybe-uninitialized]
 1422 |       rgb[0] = yuv[b] + 1.370705*yuv[3];
      |                                 ^
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:1412:17: note: ‘yuv[3]’ was declared here
 1412 |   int row, col, yuv[4], rgb[3], b, c;
      |                 ^
In member function ‘operator()’,
    inlined from ‘_M_get_insert_unique_pos’ at /usr/include/c++/14.1.1/bits/stl_tree.h:2114:35,
    inlined from ‘_M_insert_unique’ at /usr/include/c++/14.1.1/bits/stl_tree.h:2167:28,
    inlined from ‘insert’ at /usr/include/c++/14.1.1/bits/stl_set.h:523:25,
    inlined from ‘refreshTags’ at /home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtgui/exifpanel.cc:392:30:
/home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtgui/exifpanel.cc:365:40: warning: ‘strncmp’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overread]
  365 |                 if (p1 != p2 || strncmp(sa, sb, p1) != 0) {
      |                                        ^
In function ‘memcpy’,
    inlined from ‘foveon_interpolate’ at /home/ui/Templates/makepkg/art-rawconverter/src/art-rawconverter_1.20/rtengine/dcraw.cc:4154:10:
/usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin___memcpy_chk’ writing 96 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |  

Sorry, but this is normal for appstream?

Please put the build output in “preformatted Text” tags. This is unreadable.

Additionally, please attach the whole build log as file.

There’s another report on the AUR package that seems to be related to CTL. I’m currently investigating whats going on.
Unfortunately i’m not able to reproduce on my machines until now.


Update: atleast the AUR packages for ctl (and aces-container respectively) should be fixed now for systems that use the default ArchLinux makepkg.conf.

They changed the default for lto to true back in 2023. I wasn’t aware of this change and was not affected as i had custom values in place on my system.

It seems that you are building an outdated version.

Additionally, the log snipped you posted only shows warnings. They should not break the build.

errorART.txt (27.3 KB)

ofc, that because is newest version get error after/when/try compile, so I just switched back for some versions. Just for be able make working software, for work.

pacman -Qi ctl
Name : ctl
Version : 1.5.3-2
Description : The Color Transformation Language
Architecture : x86_64
URL : GitHub - ampas/CTL: The Color Transformation Language (CTL)
Licenses : custom
Groups : None
Provides : None
Depends On : openexr libtiff aces-container

pacman -Qi aces-container
Name : aces-container
Version : 1.0.2-2
Description : ACES Container Reference Implementation
Architecture : x86_64
URL : GitHub - ampas/aces_container: Reference Implementation of SMPTE ST2065-4
Licenses : custom
Groups : None
Provides : None
Depends On : gcc-libs
Optional Deps : None
Required By : ctl

Please try again with the latest versions of the packages aces-container, ctl and art-rawconverter. Its hopefully fixed now.