Build issue: FTBFS on Fedora 40 #67

Closed
opened 2 weeks ago by Francois · 9 comments
Collaborator

Basic information

  • TDE version: 14.1.2
  • Distribution: Fedora 40
  • Hardware: amd64

Description

FTBFS

Steps to reproduce

Builkd

Screenshots

Backtrace
CImg.h: In member function 'cimg_library::CImg<T>::_draw_fill<T1, T2>& cimg_library::CImg<T>::_draw_fill<T1, T2>::operator=(const cimg_library::CImg<T>::_draw_fill<T1, T2>&)':
CImg.h:11113:15: error: assignment of read-only member 'cimg_library::CImg<T>::_draw_fill<T1, T2>::sigma'
11113 |         sigma = d.sigma;
      |         ~~~~~~^~~~~~~~~
CImg.h:11114:17: error: assignment of read-only member 'cimg_library::CImg<T>::_draw_fill<T1, T2>::opacity'
11114 |         opacity = d.opacity;
      |         ~~~~~~~~^~~~~~~~~~~
CImg.h: In static member function 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_cimg(const char*)':
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17276:7: note: in expansion of macro 'cimg_load_cimg_case'
17276 |       cimg_load_cimg_case("unsigned char",uchar);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17276:7: note: in expansion of macro 'cimg_load_cimg_case'
17276 |       cimg_load_cimg_case("unsigned char",uchar);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17277:7: note: in expansion of macro 'cimg_load_cimg_case'
17277 |       cimg_load_cimg_case("uchar",uchar);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17277:7: note: in expansion of macro 'cimg_load_cimg_case'
17277 |       cimg_load_cimg_case("uchar",uchar);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17278:7: note: in expansion of macro 'cimg_load_cimg_case'
17278 |       cimg_load_cimg_case("char",char);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17278:7: note: in expansion of macro 'cimg_load_cimg_case'
17278 |       cimg_load_cimg_case("char",char);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17279:7: note: in expansion of macro 'cimg_load_cimg_case'
17279 |       cimg_load_cimg_case("unsigned short",ushort);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17279:7: note: in expansion of macro 'cimg_load_cimg_case'
17279 |       cimg_load_cimg_case("unsigned short",ushort);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17280:7: note: in expansion of macro 'cimg_load_cimg_case'
17280 |       cimg_load_cimg_case("ushort",ushort);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17280:7: note: in expansion of macro 'cimg_load_cimg_case'
17280 |       cimg_load_cimg_case("ushort",ushort);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17281:7: note: in expansion of macro 'cimg_load_cimg_case'
17281 |       cimg_load_cimg_case("short",short);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17281:7: note: in expansion of macro 'cimg_load_cimg_case'
17281 |       cimg_load_cimg_case("short",short);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17282:7: note: in expansion of macro 'cimg_load_cimg_case'
17282 |       cimg_load_cimg_case("unsigned int",uint);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17282:7: note: in expansion of macro 'cimg_load_cimg_case'
17282 |       cimg_load_cimg_case("unsigned int",uint);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17283:7: note: in expansion of macro 'cimg_load_cimg_case'
17283 |       cimg_load_cimg_case("uint",uint);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17283:7: note: in expansion of macro 'cimg_load_cimg_case'
17283 |       cimg_load_cimg_case("uint",uint);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17284:7: note: in expansion of macro 'cimg_load_cimg_case'
17284 |       cimg_load_cimg_case("int",int);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17284:7: note: in expansion of macro 'cimg_load_cimg_case'
17284 |       cimg_load_cimg_case("int",int);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17285:7: note: in expansion of macro 'cimg_load_cimg_case'
17285 |       cimg_load_cimg_case("unsigned long",ulong);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17285:7: note: in expansion of macro 'cimg_load_cimg_case'
17285 |       cimg_load_cimg_case("unsigned long",ulong);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17286:7: note: in expansion of macro 'cimg_load_cimg_case'
17286 |       cimg_load_cimg_case("ulong",ulong);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17286:7: note: in expansion of macro 'cimg_load_cimg_case'
17286 |       cimg_load_cimg_case("ulong",ulong);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17287:7: note: in expansion of macro 'cimg_load_cimg_case'
17287 |       cimg_load_cimg_case("long",long);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17287:7: note: in expansion of macro 'cimg_load_cimg_case'
17287 |       cimg_load_cimg_case("long",long);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17288:7: note: in expansion of macro 'cimg_load_cimg_case'
17288 |       cimg_load_cimg_case("float",float);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17288:7: note: in expansion of macro 'cimg_load_cimg_case'
17288 |       cimg_load_cimg_case("float",float);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  366 | #define cimg_mapoff(img,off)      for (unsigned int off=0; off<(img).size(); off++)
      |                                   ^~~
CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff'
17254 |         CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \
      |                                 ^~~~~~~~~~~
CImg.h:17289:7: note: in expansion of macro 'cimg_load_cimg_case'
17289 |       cimg_load_cimg_case("double",double);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
17255 |                           idest[off] = (T)(buf[off]); idest.swap(res[l]); \
      |                                                       ^~~~~
CImg.h:17289:7: note: in expansion of macro 'cimg_load_cimg_case'
17289 |       cimg_load_cimg_case("double",double);
      |       ^~~~~~~~~~~~~~~~~~~
CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = unsigned char]':
CImg.h:4121:38:   required from here
CImg.h:17255:55: note:  4121 |         case 8: { unsigned char foo; _resize(foo,dimx,dimy,redraw); } break;
CImg.h:17255:55: note:       |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter]
 4073 |     template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) {
      |                                       ~~~~~~~~~^~~
CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = short unsigned int]':
CImg.h:4122:40:   required from here
CImg.h:4073:48: warning:  4122 |         case 16: { unsigned short foo; _resize(foo,dimx,dimy,redraw); } break;
CImg.h:4073:48: warning:       |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter]
 4073 |     template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) {
      |                                       ~~~~~~~~~^~~
CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = unsigned int]':
CImg.h:4123:38:   required from here
CImg.h:4073:48: warning:  4123 |         default: { unsigned int foo; _resize(foo,dimx,dimy,redraw); } break;
CImg.h:4073:48: warning:       |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter]
 4073 |     template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) {
      |                                       ~~~~~~~~~^~~
CImg.h: In instantiation of 'cimg_library::CImg<T> cimg_library::CImg<T>::get_dilate(unsigned int, unsigned int) const [with T = unsigned char]':
CImg.h:12415:24:   required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::dilate(unsigned int, unsigned int) [with T = unsigned char]'
CImg.h:4073:48: warning: 12415 |       return get_dilate(n,cond).swap(*this);
CImg.h:4073:48: warning:       |              ~~~~~~~~~~^~~~~~~~
kis_cimg_filter.cpp:372:28:   required from here
CImg.h:4073:48: warning:   372 |     if (dilate) mask.dilate(dilate);
CImg.h:4073:48: warning:       |                 ~~~~~~~~~~~^~~~~~~~
CImg.h:12408:40: warning: unused parameter 'n' [-Wunused-parameter]
12408 |     CImg get_dilate(const unsigned int n=1, const unsigned int cond=1) const {
      |                     ~~~~~~~~~~~~~~~~~~~^~~
CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = unsigned char]':
CImg.h:16954:54:   required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = unsigned char]'
CImg.h:12408:40: warning: 16954 |     CImgl& insert(const CImg<T>& img) { return insert(img,size); }
CImg.h:12408:40: warning:       |                                                ~~~~~~^~~~~~~~~~
CImg.h:17884:40:   required from 'int cimg_library::cimg::dialog(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const cimg_library::CImg<T>&, bool) [with t = unsigned char]'
CImg.h:12408:40: warning: 17884 |       if (button1_txt) { buttons.insert(CImg<unsigned char>().draw_text(button1_txt,0,0,black,gray,13));
CImg.h:12408:40: warning:       |                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:18012:18:   required from here
CImg.h:12408:40: warning: 18012 |     return dialog(title,msg,button1_txt,button2_txt,button3_txt,button4_txt,button5_txt,button6_txt,
CImg.h:12408:40: warning:       |            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   18013 |                   CImg<unsigned char>::get_logo40x38(),centering);
CImg.h:12408:40: warning:       |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16934 |           if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos);
      |                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16935 |           if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
16936 |           std::memset(data,0,sizeof(CImg<T>)*(size-1));
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16940 |         else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h: In instantiation of 'XImage* cimg_library::CImgDisplay::render(const cimg_library::CImg<T>&, bool) [with T = unsigned char; XImage = XImage]':
CImg.h:4009:13:   required from 'cimg_library::CImgDisplay::CImgDisplay(const cimg_library::CImg<T>&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned char]'
CImg.h:5210:31: note:  4009 |       render(img);
CImg.h:5210:31: note:       |       ~~~~~~^~~~~
CImg.h:17956:14:   required from 'int cimg_library::cimg::dialog(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const cimg_library::CImg<T>&, bool) [with t = unsigned char]'
CImg.h:5210:31: note: 17956 |         CImgDisplay disp(canvas,title?title:" ",0,3,false,centering?true:false);
CImg.h:5210:31: note:       |                     ^~~~
CImg.h:18012:18:   required from here
CImg.h:5210:31: note: 18012 |     return dialog(title,msg,button1_txt,button2_txt,button3_txt,button4_txt,button5_txt,button6_txt,
CImg.h:5210:31: note:       |            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   18013 |                   CImg<unsigned char>::get_logo40x38(),centering);
CImg.h:5210:31: note:       |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:4494:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 4494 |             *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~^~
CImg.h:4499:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 4499 |             *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~^~
CImg.h:4556:66: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 4556 |             *(ptrd++) = (unsigned char)(255*(*(data1++)-nmin)/mm)&M | (G>>3);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
CImg.h:4561:66: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 4561 |             *(ptrd++) = (unsigned char)(255*(*(data1++)-nmin)/mm)&M | (G>>3);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = float]':
CImg.h:16954:54:   required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = float]'
CImg.h:4561:66: warning: 16954 |     CImgl& insert(const CImg<T>& img) { return insert(img,size); }
CImg.h:4561:66: warning:       |                                                ~~~~~~^~~~~~~~~~
CImg.h:17320:20:   required from 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_parrec(const char*) [with T = unsigned char]'
CImg.h:4561:66: warning: 17320 |           st_slices.insert(CImg<float>::vector((float)sn,(float)pixsize,(float)sizex,(float)sizey,ri,rs,ss,0));
CImg.h:4561:66: warning:       |           ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:15413:39:   required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_parrec(const char*, char, char) [with T = unsigned char]'
CImg.h:4561:66: warning: 15413 |       return CImgl<T>::get_load_parrec(filename).get_append(axe,align);
CImg.h:4561:66: warning:       |              ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
CImg.h:14505:56:   required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load(const char*) [with T = unsigned char]'
CImg.h:4561:66: warning: 14505 |           !cimg::strcasecmp(ext,"rec")) return get_load_parrec(filename);
CImg.h:4561:66: warning:       |                                                ~~~~~~~~~~~~~~~^~~~~~~~~~
CImg.h:14522:55:   required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]'
CImg.h:4561:66: warning: 14522 |     CImg& load(const char *filename) { return get_load(filename).swap(*this); }
CImg.h:4561:66: warning:       |                                               ~~~~~~~~^~~~~~~~~~
CImg.h:5429:7:   required from 'cimg_library::CImg<T>::CImg(const char*) [with T = unsigned char]'
CImg.h:4561:66: warning:  5429 |       load(filename);
CImg.h:4561:66: warning:       |       ^~~~
kis_cimg_filter.cpp:365:34:   required from here
CImg.h:4561:66: warning:   365 |         mask = CImg<uchar>(file_m);
CImg.h:4561:66: warning:       |                                  ^
CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16934 |           if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos);
      |                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16935 |           if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
16936 |           std::memset(data,0,sizeof(CImg<T>)*(size-1));
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16940 |         else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = unsigned int]':
CImg.h:16954:54:   required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = unsigned int]'
CImg.h:5210:31: note: 16954 |     CImgl& insert(const CImg<T>& img) { return insert(img,size); }
CImg.h:5210:31: note:       |                                                ~~~~~~^~~~~~~~~~
CImg.h:17322:43:   required from 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_parrec(const char*) [with T = unsigned char]'
CImg.h:5210:31: note: 17322 |           if (i==st_global.size) st_global.insert(CImg<unsigned int>::vector(sizex,sizey,sn));
CImg.h:5210:31: note:       |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:15413:39:   required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_parrec(const char*, char, char) [with T = unsigned char]'
CImg.h:5210:31: note: 15413 |       return CImgl<T>::get_load_parrec(filename).get_append(axe,align);
CImg.h:5210:31: note:       |              ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
CImg.h:14505:56:   required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load(const char*) [with T = unsigned char]'
CImg.h:5210:31: note: 14505 |           !cimg::strcasecmp(ext,"rec")) return get_load_parrec(filename);
CImg.h:5210:31: note:       |                                                ~~~~~~~~~~~~~~~^~~~~~~~~~
CImg.h:14522:55:   required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]'
CImg.h:5210:31: note: 14522 |     CImg& load(const char *filename) { return get_load(filename).swap(*this); }
CImg.h:5210:31: note:       |                                               ~~~~~~~~^~~~~~~~~~
CImg.h:5429:7:   required from 'cimg_library::CImg<T>::CImg(const char*) [with T = unsigned char]'
CImg.h:5210:31: note:  5429 |       load(filename);
CImg.h:5210:31: note:       |       ^~~~
kis_cimg_filter.cpp:365:34:   required from here
CImg.h:5210:31: note:   365 |         mask = CImg<uchar>(file_m);
CImg.h:5210:31: note:       |                                  ^
CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16934 |           if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos);
      |                    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16935 |           if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
16936 |           std::memset(data,0,sizeof(CImg<T>)*(size-1));
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
16940 |         else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos));
      |                               ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here
 5210 |   template<typename T> struct CImg {
      |                               ^~~~
CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_ascii(const char*) [with T = unsigned char]':
CImg.h:14528:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14528 |       std::fscanf(file,"%255[^\n]",line);
      |       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
CImg.h: In static member function 'static void cimg_library::CImg<T>::_load_inr(FILE*, int*, float*) [with T = unsigned char]':
CImg.h:15096:79: warning: this statement may fall through [-Wimplicit-fallthrough=]
15096 |         case 2: out[5] = cimg::strncasecmp(tmp1,"unsigned",8)?1:0; std::strcpy(tmp1,tmp2);
      |                                                                    ~~~~~~~~~~~^~~~~~~~~~~
CImg.h:15097:9: note: here
15097 |         case 1:
      |         ^~~~
CImg.h:15101:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
15101 |           if (out[4]>=0) break;
      |           ^~
CImg.h:15102:9: note: here
15102 |         default: throw CImgIOException("cimg::inr_header_read() : Invalid TYPE '%s'",tmp2);
      |         ^~~~~~~
CImg.h:15078:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15078 |       std::fscanf(file,"%63s",item);
      |       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = float]':
CImg.h:7080:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7080 |         case 7: *(--ptr_end)=val6;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7081:9: note: here
 7081 |         case 6: *(--ptr_end)=val5;
      |         ^~~~
CImg.h:7081:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7081 |         case 6: *(--ptr_end)=val5;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7082:9: note: here
 7082 |         case 5: *(--ptr_end)=val4;
      |         ^~~~
CImg.h:7082:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7082 |         case 5: *(--ptr_end)=val4;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7083:9: note: here
 7083 |         case 4: *(--ptr_end)=val3;
      |         ^~~~
CImg.h:7083:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7083 |         case 4: *(--ptr_end)=val3;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7084:9: note: here
 7084 |         case 3: *(--ptr_end)=val2;
      |         ^~~~
CImg.h:7084:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7084 |         case 3: *(--ptr_end)=val2;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7085:9: note: here
 7085 |         case 2: *(--ptr_end)=val1;
      |         ^~~~
CImg.h:7085:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7085 |         case 2: *(--ptr_end)=val1;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7086:9: note: here
 7086 |         case 1: *(--ptr_end)=val0;
      |         ^~~~
CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&) [with T = unsigned int]':
CImg.h:6951:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 6951 |         case 2: *(--ptr_end)=val1;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:6952:9: note: here
 6952 |         case 1: *(--ptr_end)=val0;
      |         ^~~~
CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_pnm(const char*) [with T = unsigned char]':
CImg.h:14610:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14610 |         cimg_mapoff(dest,off) { std::fscanf(file,"%d",&rval); *(rdata++)=(T)rval; }
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CImg.h:14616:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14616 |           std::fscanf(file,"%d %d %d",&rval,&gval,&bval);
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CImg.h: In function 'void cimg_library::cimg::system(const char*)':
CImg.h:2803:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result]
 2803 |       std::system(command);
      |       ~~~~~~~~~~~^~~~~~~~~
CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = float]':
CImg.h:7116:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7116 |         case 8: *(--ptr_end)=val7;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7117:9: note: here
 7117 |         case 7: *(--ptr_end)=val6;
      |         ^~~~
CImg.h:7117:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7117 |         case 7: *(--ptr_end)=val6;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7118:9: note: here
 7118 |         case 6: *(--ptr_end)=val5;
      |         ^~~~
CImg.h:7118:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7118 |         case 6: *(--ptr_end)=val5;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7119:9: note: here
 7119 |         case 5: *(--ptr_end)=val4;
      |         ^~~~
CImg.h:7119:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7119 |         case 5: *(--ptr_end)=val4;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7120:9: note: here
 7120 |         case 4: *(--ptr_end)=val3;
      |         ^~~~
CImg.h:7120:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7120 |         case 4: *(--ptr_end)=val3;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7121:9: note: here
 7121 |         case 3: *(--ptr_end)=val2;
      |         ^~~~
CImg.h:7121:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7121 |         case 3: *(--ptr_end)=val2;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7122:9: note: here
 7122 |         case 2: *(--ptr_end)=val1;
      |         ^~~~
CImg.h:7122:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 7122 |         case 2: *(--ptr_end)=val1;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:7123:9: note: here
 7123 |         case 1: *(--ptr_end)=val0;
      |         ^~~~
CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&) [with T = float]':
CImg.h:6971:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 6971 |         case 3: *(--ptr_end)=val2;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:6972:9: note: here
 6972 |         case 2: *(--ptr_end)=val1;
      |         ^~~~
CImg.h:6972:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
 6972 |         case 2: *(--ptr_end)=val1;
      |                 ~~~~~~~~~~~~^~~~~
CImg.h:6973:9: note: here
 6973 |         case 1: *(--ptr_end)=val0;
      |         ^~~~
CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_ascii(const char*) [with T = float]':
CImg.h:14528:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14528 |       std::fscanf(file,"%255[^\n]",line);
      |       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
CImg.h: In static member function 'static void cimg_library::CImg<T>::_load_inr(FILE*, int*, float*) [with T = float]':
CImg.h:15096:79: warning: this statement may fall through [-Wimplicit-fallthrough=]
15096 |         case 2: out[5] = cimg::strncasecmp(tmp1,"unsigned",8)?1:0; std::strcpy(tmp1,tmp2);
      |                                                                    ~~~~~~~~~~~^~~~~~~~~~~
CImg.h:15097:9: note: here
15097 |         case 1:
      |         ^~~~
CImg.h:15101:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
15101 |           if (out[4]>=0) break;
      |           ^~
CImg.h:15102:9: note: here
15102 |         default: throw CImgIOException("cimg::inr_header_read() : Invalid TYPE '%s'",tmp2);
      |         ^~~~~~~
CImg.h:15078:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15078 |       std::fscanf(file,"%63s",item);
      |       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_pnm(const char*) [with T = float]':
CImg.h:14610:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14610 |         cimg_mapoff(dest,off) { std::fscanf(file,"%d",&rval); *(rdata++)=(T)rval; }
      |                                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CImg.h:14616:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14616 |           std::fscanf(file,"%d %d %d",&rval,&gval,&bval);
      |           ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:780: kis_cimg_filter.lo] Error 1
make[6]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins/filters/cimg'
make[5]: *** [Makefile:641: all-recursive] Error 1
make[5]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins/filters'
make[4]: *** [Makefile:642: all-recursive] Error 1
make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins'
make[3]: *** [Makefile:1068: all-recursive] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk'
make[2]: *** [Makefile:702: all-recursive] Error 1
make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47'
make[1]: *** [Makefile:619: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47'

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: 14.1.2 - Distribution: Fedora 40 - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description FTBFS ## Steps to reproduce Builkd ## Screenshots <details> <summary>Backtrace</summary> ``` CImg.h: In member function 'cimg_library::CImg<T>::_draw_fill<T1, T2>& cimg_library::CImg<T>::_draw_fill<T1, T2>::operator=(const cimg_library::CImg<T>::_draw_fill<T1, T2>&)': CImg.h:11113:15: error: assignment of read-only member 'cimg_library::CImg<T>::_draw_fill<T1, T2>::sigma' 11113 | sigma = d.sigma; | ~~~~~~^~~~~~~~~ CImg.h:11114:17: error: assignment of read-only member 'cimg_library::CImg<T>::_draw_fill<T1, T2>::opacity' 11114 | opacity = d.opacity; | ~~~~~~~~^~~~~~~~~~~ CImg.h: In static member function 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_cimg(const char*)': CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17276:7: note: in expansion of macro 'cimg_load_cimg_case' 17276 | cimg_load_cimg_case("unsigned char",uchar); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17276:7: note: in expansion of macro 'cimg_load_cimg_case' 17276 | cimg_load_cimg_case("unsigned char",uchar); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17277:7: note: in expansion of macro 'cimg_load_cimg_case' 17277 | cimg_load_cimg_case("uchar",uchar); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17277:7: note: in expansion of macro 'cimg_load_cimg_case' 17277 | cimg_load_cimg_case("uchar",uchar); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17278:7: note: in expansion of macro 'cimg_load_cimg_case' 17278 | cimg_load_cimg_case("char",char); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17278:7: note: in expansion of macro 'cimg_load_cimg_case' 17278 | cimg_load_cimg_case("char",char); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17279:7: note: in expansion of macro 'cimg_load_cimg_case' 17279 | cimg_load_cimg_case("unsigned short",ushort); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17279:7: note: in expansion of macro 'cimg_load_cimg_case' 17279 | cimg_load_cimg_case("unsigned short",ushort); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17280:7: note: in expansion of macro 'cimg_load_cimg_case' 17280 | cimg_load_cimg_case("ushort",ushort); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17280:7: note: in expansion of macro 'cimg_load_cimg_case' 17280 | cimg_load_cimg_case("ushort",ushort); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17281:7: note: in expansion of macro 'cimg_load_cimg_case' 17281 | cimg_load_cimg_case("short",short); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17281:7: note: in expansion of macro 'cimg_load_cimg_case' 17281 | cimg_load_cimg_case("short",short); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17282:7: note: in expansion of macro 'cimg_load_cimg_case' 17282 | cimg_load_cimg_case("unsigned int",uint); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17282:7: note: in expansion of macro 'cimg_load_cimg_case' 17282 | cimg_load_cimg_case("unsigned int",uint); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17283:7: note: in expansion of macro 'cimg_load_cimg_case' 17283 | cimg_load_cimg_case("uint",uint); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17283:7: note: in expansion of macro 'cimg_load_cimg_case' 17283 | cimg_load_cimg_case("uint",uint); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17284:7: note: in expansion of macro 'cimg_load_cimg_case' 17284 | cimg_load_cimg_case("int",int); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17284:7: note: in expansion of macro 'cimg_load_cimg_case' 17284 | cimg_load_cimg_case("int",int); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17285:7: note: in expansion of macro 'cimg_load_cimg_case' 17285 | cimg_load_cimg_case("unsigned long",ulong); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17285:7: note: in expansion of macro 'cimg_load_cimg_case' 17285 | cimg_load_cimg_case("unsigned long",ulong); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17286:7: note: in expansion of macro 'cimg_load_cimg_case' 17286 | cimg_load_cimg_case("ulong",ulong); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17286:7: note: in expansion of macro 'cimg_load_cimg_case' 17286 | cimg_load_cimg_case("ulong",ulong); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17287:7: note: in expansion of macro 'cimg_load_cimg_case' 17287 | cimg_load_cimg_case("long",long); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17287:7: note: in expansion of macro 'cimg_load_cimg_case' 17287 | cimg_load_cimg_case("long",long); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17288:7: note: in expansion of macro 'cimg_load_cimg_case' 17288 | cimg_load_cimg_case("float",float); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17288:7: note: in expansion of macro 'cimg_load_cimg_case' 17288 | cimg_load_cimg_case("float",float); | ^~~~~~~~~~~~~~~~~~~ CImg.h:366:35: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 366 | #define cimg_mapoff(img,off) for (unsigned int off=0; off<(img).size(); off++) | ^~~ CImg.h:17254:33: note: in expansion of macro 'cimg_mapoff' 17254 | CImg<T> idest(w,h,z,k); cimg_mapoff(idest,off) \ | ^~~~~~~~~~~ CImg.h:17289:7: note: in expansion of macro 'cimg_load_cimg_case' 17289 | cimg_load_cimg_case("double",double); | ^~~~~~~~~~~~~~~~~~~ CImg.h:17255:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17255 | idest[off] = (T)(buf[off]); idest.swap(res[l]); \ | ^~~~~ CImg.h:17289:7: note: in expansion of macro 'cimg_load_cimg_case' 17289 | cimg_load_cimg_case("double",double); | ^~~~~~~~~~~~~~~~~~~ CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = unsigned char]': CImg.h:4121:38: required from here CImg.h:17255:55: note: 4121 | case 8: { unsigned char foo; _resize(foo,dimx,dimy,redraw); } break; CImg.h:17255:55: note: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter] 4073 | template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) { | ~~~~~~~~~^~~ CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = short unsigned int]': CImg.h:4122:40: required from here CImg.h:4073:48: warning: 4122 | case 16: { unsigned short foo; _resize(foo,dimx,dimy,redraw); } break; CImg.h:4073:48: warning: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter] 4073 | template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) { | ~~~~~~~~~^~~ CImg.h: In instantiation of 'void cimg_library::CImgDisplay::_resize(const T&, unsigned int, unsigned int, bool) [with T = unsigned int]': CImg.h:4123:38: required from here CImg.h:4073:48: warning: 4123 | default: { unsigned int foo; _resize(foo,dimx,dimy,redraw); } break; CImg.h:4073:48: warning: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CImg.h:4073:48: warning: unused parameter 'foo' [-Wunused-parameter] 4073 | template<typename T> void _resize(const T& foo, const unsigned int ndimx, const unsigned int ndimy, const bool redraw) { | ~~~~~~~~~^~~ CImg.h: In instantiation of 'cimg_library::CImg<T> cimg_library::CImg<T>::get_dilate(unsigned int, unsigned int) const [with T = unsigned char]': CImg.h:12415:24: required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::dilate(unsigned int, unsigned int) [with T = unsigned char]' CImg.h:4073:48: warning: 12415 | return get_dilate(n,cond).swap(*this); CImg.h:4073:48: warning: | ~~~~~~~~~~^~~~~~~~ kis_cimg_filter.cpp:372:28: required from here CImg.h:4073:48: warning: 372 | if (dilate) mask.dilate(dilate); CImg.h:4073:48: warning: | ~~~~~~~~~~~^~~~~~~~ CImg.h:12408:40: warning: unused parameter 'n' [-Wunused-parameter] 12408 | CImg get_dilate(const unsigned int n=1, const unsigned int cond=1) const { | ~~~~~~~~~~~~~~~~~~~^~~ CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = unsigned char]': CImg.h:16954:54: required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = unsigned char]' CImg.h:12408:40: warning: 16954 | CImgl& insert(const CImg<T>& img) { return insert(img,size); } CImg.h:12408:40: warning: | ~~~~~~^~~~~~~~~~ CImg.h:17884:40: required from 'int cimg_library::cimg::dialog(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const cimg_library::CImg<T>&, bool) [with t = unsigned char]' CImg.h:12408:40: warning: 17884 | if (button1_txt) { buttons.insert(CImg<unsigned char>().draw_text(button1_txt,0,0,black,gray,13)); CImg.h:12408:40: warning: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:18012:18: required from here CImg.h:12408:40: warning: 18012 | return dialog(title,msg,button1_txt,button2_txt,button3_txt,button4_txt,button5_txt,button6_txt, CImg.h:12408:40: warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18013 | CImg<unsigned char>::get_logo40x38(),centering); CImg.h:12408:40: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16934 | if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16935 | if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 16936 | std::memset(data,0,sizeof(CImg<T>)*(size-1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned char>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16940 | else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned char>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h: In instantiation of 'XImage* cimg_library::CImgDisplay::render(const cimg_library::CImg<T>&, bool) [with T = unsigned char; XImage = XImage]': CImg.h:4009:13: required from 'cimg_library::CImgDisplay::CImgDisplay(const cimg_library::CImg<T>&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned char]' CImg.h:5210:31: note: 4009 | render(img); CImg.h:5210:31: note: | ~~~~~~^~~~~ CImg.h:17956:14: required from 'int cimg_library::cimg::dialog(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const cimg_library::CImg<T>&, bool) [with t = unsigned char]' CImg.h:5210:31: note: 17956 | CImgDisplay disp(canvas,title?title:" ",0,3,false,centering?true:false); CImg.h:5210:31: note: | ^~~~ CImg.h:18012:18: required from here CImg.h:5210:31: note: 18012 | return dialog(title,msg,button1_txt,button2_txt,button3_txt,button4_txt,button5_txt,button6_txt, CImg.h:5210:31: note: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18013 | CImg<unsigned char>::get_logo40x38(),centering); CImg.h:5210:31: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:4494:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4494 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:4499:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4499 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:4556:66: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4556 | *(ptrd++) = (unsigned char)(255*(*(data1++)-nmin)/mm)&M | (G>>3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:4561:66: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4561 | *(ptrd++) = (unsigned char)(255*(*(data1++)-nmin)/mm)&M | (G>>3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = float]': CImg.h:16954:54: required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = float]' CImg.h:4561:66: warning: 16954 | CImgl& insert(const CImg<T>& img) { return insert(img,size); } CImg.h:4561:66: warning: | ~~~~~~^~~~~~~~~~ CImg.h:17320:20: required from 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_parrec(const char*) [with T = unsigned char]' CImg.h:4561:66: warning: 17320 | st_slices.insert(CImg<float>::vector((float)sn,(float)pixsize,(float)sizex,(float)sizey,ri,rs,ss,0)); CImg.h:4561:66: warning: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:15413:39: required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_parrec(const char*, char, char) [with T = unsigned char]' CImg.h:4561:66: warning: 15413 | return CImgl<T>::get_load_parrec(filename).get_append(axe,align); CImg.h:4561:66: warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ CImg.h:14505:56: required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load(const char*) [with T = unsigned char]' CImg.h:4561:66: warning: 14505 | !cimg::strcasecmp(ext,"rec")) return get_load_parrec(filename); CImg.h:4561:66: warning: | ~~~~~~~~~~~~~~~^~~~~~~~~~ CImg.h:14522:55: required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]' CImg.h:4561:66: warning: 14522 | CImg& load(const char *filename) { return get_load(filename).swap(*this); } CImg.h:4561:66: warning: | ~~~~~~~~^~~~~~~~~~ CImg.h:5429:7: required from 'cimg_library::CImg<T>::CImg(const char*) [with T = unsigned char]' CImg.h:4561:66: warning: 5429 | load(filename); CImg.h:4561:66: warning: | ^~~~ kis_cimg_filter.cpp:365:34: required from here CImg.h:4561:66: warning: 365 | mask = CImg<uchar>(file_m); CImg.h:4561:66: warning: | ^ CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16934 | if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16935 | if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 16936 | std::memset(data,0,sizeof(CImg<T>)*(size-1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<float>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16940 | else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<float>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h: In instantiation of 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&, unsigned int) [with T = unsigned int]': CImg.h:16954:54: required from 'cimg_library::CImgl<T>& cimg_library::CImgl<T>::insert(const cimg_library::CImg<T>&) [with T = unsigned int]' CImg.h:5210:31: note: 16954 | CImgl& insert(const CImg<T>& img) { return insert(img,size); } CImg.h:5210:31: note: | ~~~~~~^~~~~~~~~~ CImg.h:17322:43: required from 'static cimg_library::CImgl<T> cimg_library::CImgl<T>::get_load_parrec(const char*) [with T = unsigned char]' CImg.h:5210:31: note: 17322 | if (i==st_global.size) st_global.insert(CImg<unsigned int>::vector(sizex,sizey,sn)); CImg.h:5210:31: note: | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:15413:39: required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_parrec(const char*, char, char) [with T = unsigned char]' CImg.h:5210:31: note: 15413 | return CImgl<T>::get_load_parrec(filename).get_append(axe,align); CImg.h:5210:31: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ CImg.h:14505:56: required from 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load(const char*) [with T = unsigned char]' CImg.h:5210:31: note: 14505 | !cimg::strcasecmp(ext,"rec")) return get_load_parrec(filename); CImg.h:5210:31: note: | ~~~~~~~~~~~~~~~^~~~~~~~~~ CImg.h:14522:55: required from 'cimg_library::CImg<T>& cimg_library::CImg<T>::load(const char*) [with T = unsigned char]' CImg.h:5210:31: note: 14522 | CImg& load(const char *filename) { return get_load(filename).swap(*this); } CImg.h:5210:31: note: | ~~~~~~~~^~~~~~~~~~ CImg.h:5429:7: required from 'cimg_library::CImg<T>::CImg(const char*) [with T = unsigned char]' CImg.h:5210:31: note: 5429 | load(filename); CImg.h:5210:31: note: | ^~~~ kis_cimg_filter.cpp:365:34: required from here CImg.h:5210:31: note: 365 | mask = CImg<uchar>(file_m); CImg.h:5210:31: note: | ^ CImg.h:16934:31: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16934 | if (pos) std::memcpy(new_data,data,sizeof(CImg<T>)*pos); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16935:39: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16935 | if (pos!=size-1) std::memcpy(new_data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16936:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 16936 | std::memset(data,0,sizeof(CImg<T>)*(size-1)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h:16940:38: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg<unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 16940 | else if (pos!=size-1) memmove(data+pos+1,data+pos,sizeof(CImg<T>)*(size-1-pos)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h:5210:31: note: 'struct cimg_library::CImg<unsigned int>' declared here 5210 | template<typename T> struct CImg { | ^~~~ CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_ascii(const char*) [with T = unsigned char]': CImg.h:14528:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14528 | std::fscanf(file,"%255[^\n]",line); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg<T>::_load_inr(FILE*, int*, float*) [with T = unsigned char]': CImg.h:15096:79: warning: this statement may fall through [-Wimplicit-fallthrough=] 15096 | case 2: out[5] = cimg::strncasecmp(tmp1,"unsigned",8)?1:0; std::strcpy(tmp1,tmp2); | ~~~~~~~~~~~^~~~~~~~~~~ CImg.h:15097:9: note: here 15097 | case 1: | ^~~~ CImg.h:15101:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 15101 | if (out[4]>=0) break; | ^~ CImg.h:15102:9: note: here 15102 | default: throw CImgIOException("cimg::inr_header_read() : Invalid TYPE '%s'",tmp2); | ^~~~~~~ CImg.h:15078:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15078 | std::fscanf(file,"%63s",item); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = float]': CImg.h:7080:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7080 | case 7: *(--ptr_end)=val6; | ~~~~~~~~~~~~^~~~~ CImg.h:7081:9: note: here 7081 | case 6: *(--ptr_end)=val5; | ^~~~ CImg.h:7081:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7081 | case 6: *(--ptr_end)=val5; | ~~~~~~~~~~~~^~~~~ CImg.h:7082:9: note: here 7082 | case 5: *(--ptr_end)=val4; | ^~~~ CImg.h:7082:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7082 | case 5: *(--ptr_end)=val4; | ~~~~~~~~~~~~^~~~~ CImg.h:7083:9: note: here 7083 | case 4: *(--ptr_end)=val3; | ^~~~ CImg.h:7083:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7083 | case 4: *(--ptr_end)=val3; | ~~~~~~~~~~~~^~~~~ CImg.h:7084:9: note: here 7084 | case 3: *(--ptr_end)=val2; | ^~~~ CImg.h:7084:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7084 | case 3: *(--ptr_end)=val2; | ~~~~~~~~~~~~^~~~~ CImg.h:7085:9: note: here 7085 | case 2: *(--ptr_end)=val1; | ^~~~ CImg.h:7085:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7085 | case 2: *(--ptr_end)=val1; | ~~~~~~~~~~~~^~~~~ CImg.h:7086:9: note: here 7086 | case 1: *(--ptr_end)=val0; | ^~~~ CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&) [with T = unsigned int]': CImg.h:6951:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 6951 | case 2: *(--ptr_end)=val1; | ~~~~~~~~~~~~^~~~~ CImg.h:6952:9: note: here 6952 | case 1: *(--ptr_end)=val0; | ^~~~ CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_pnm(const char*) [with T = unsigned char]': CImg.h:14610:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14610 | cimg_mapoff(dest,off) { std::fscanf(file,"%d",&rval); *(rdata++)=(T)rval; } | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ CImg.h:14616:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14616 | std::fscanf(file,"%d %d %d",&rval,&gval,&bval); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In function 'void cimg_library::cimg::system(const char*)': CImg.h:2803:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2803 | std::system(command); | ~~~~~~~~~~~^~~~~~~~~ CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = float]': CImg.h:7116:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7116 | case 8: *(--ptr_end)=val7; | ~~~~~~~~~~~~^~~~~ CImg.h:7117:9: note: here 7117 | case 7: *(--ptr_end)=val6; | ^~~~ CImg.h:7117:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7117 | case 7: *(--ptr_end)=val6; | ~~~~~~~~~~~~^~~~~ CImg.h:7118:9: note: here 7118 | case 6: *(--ptr_end)=val5; | ^~~~ CImg.h:7118:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7118 | case 6: *(--ptr_end)=val5; | ~~~~~~~~~~~~^~~~~ CImg.h:7119:9: note: here 7119 | case 5: *(--ptr_end)=val4; | ^~~~ CImg.h:7119:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7119 | case 5: *(--ptr_end)=val4; | ~~~~~~~~~~~~^~~~~ CImg.h:7120:9: note: here 7120 | case 4: *(--ptr_end)=val3; | ^~~~ CImg.h:7120:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7120 | case 4: *(--ptr_end)=val3; | ~~~~~~~~~~~~^~~~~ CImg.h:7121:9: note: here 7121 | case 3: *(--ptr_end)=val2; | ^~~~ CImg.h:7121:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7121 | case 3: *(--ptr_end)=val2; | ~~~~~~~~~~~~^~~~~ CImg.h:7122:9: note: here 7122 | case 2: *(--ptr_end)=val1; | ^~~~ CImg.h:7122:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 7122 | case 2: *(--ptr_end)=val1; | ~~~~~~~~~~~~^~~~~ CImg.h:7123:9: note: here 7123 | case 1: *(--ptr_end)=val0; | ^~~~ CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::fill(const T&, const T&, const T&, const T&) [with T = float]': CImg.h:6971:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 6971 | case 3: *(--ptr_end)=val2; | ~~~~~~~~~~~~^~~~~ CImg.h:6972:9: note: here 6972 | case 2: *(--ptr_end)=val1; | ^~~~ CImg.h:6972:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 6972 | case 2: *(--ptr_end)=val1; | ~~~~~~~~~~~~^~~~~ CImg.h:6973:9: note: here 6973 | case 1: *(--ptr_end)=val0; | ^~~~ CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_ascii(const char*) [with T = float]': CImg.h:14528:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14528 | std::fscanf(file,"%255[^\n]",line); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg<T>::_load_inr(FILE*, int*, float*) [with T = float]': CImg.h:15096:79: warning: this statement may fall through [-Wimplicit-fallthrough=] 15096 | case 2: out[5] = cimg::strncasecmp(tmp1,"unsigned",8)?1:0; std::strcpy(tmp1,tmp2); | ~~~~~~~~~~~^~~~~~~~~~~ CImg.h:15097:9: note: here 15097 | case 1: | ^~~~ CImg.h:15101:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 15101 | if (out[4]>=0) break; | ^~ CImg.h:15102:9: note: here 15102 | default: throw CImgIOException("cimg::inr_header_read() : Invalid TYPE '%s'",tmp2); | ^~~~~~~ CImg.h:15078:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15078 | std::fscanf(file,"%63s",item); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static cimg_library::CImg<T> cimg_library::CImg<T>::get_load_pnm(const char*) [with T = float]': CImg.h:14610:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14610 | cimg_mapoff(dest,off) { std::fscanf(file,"%d",&rval); *(rdata++)=(T)rval; } | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ CImg.h:14616:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14616 | std::fscanf(file,"%d %d %d",&rval,&gval,&bval); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [Makefile:780: kis_cimg_filter.lo] Error 1 make[6]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins/filters/cimg' make[5]: *** [Makefile:641: all-recursive] Error 1 make[5]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins/filters' make[4]: *** [Makefile:642: all-recursive] Error 1 make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk/plugins' make[3]: *** [Makefile:1068: all-recursive] Error 1 make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/chalk' make[2]: *** [Makefile:702: all-recursive] Error 1 make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47' make[1]: *** [Makefile:619: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47' ``` </details>
Francois added the SL/critical label 2 weeks ago
MicheleC referenced this issue from a commit 2 weeks ago
Owner

@Francois can you try PR #68 and let me know?

@Francois can you try PR #68 and let me know?
MicheleC added this to the R14.1.2 release milestone 2 weeks ago
Poster
Collaborator

Tnanks @MicheleC , new FTBFS below:

Backtrace
make[5]: Entering directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h  -I/opt/trinity/include/arts  -DTQT_THREAD_SUPPORT  -D_REENTRANT  -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c -o gdk-pixbuf-xlib-drawable.lo gdk-pixbuf-xlib-drawable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c gdk-pixbuf-xlib-drawable.c  -fPIC -DPIC -o .libs/gdk-pixbuf-xlib-drawable.o
gdk-pixbuf-xlib-drawable.c: In function 'handle_x_error':
gdk-pixbuf-xlib-drawable.c:89:26: warning: unused parameter 'dpy' [-Wunused-parameter]
   89 | handle_x_error (Display *dpy, XErrorEvent *ev)
      |                 ~~~~~~~~~^~~
gdk-pixbuf-xlib-drawable.c:89:44: warning: unused parameter 'ev' [-Wunused-parameter]
   89 | handle_x_error (Display *dpy, XErrorEvent *ev)
      |                               ~~~~~~~~~~~~~^~
gdk-pixbuf-xlib-drawable.c: In function 'rgb1':
gdk-pixbuf-xlib-drawable.c:129:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  129 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:126:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  126 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'rgb1a':
gdk-pixbuf-xlib-drawable.c:168:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  168 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:165:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  165 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'rgb8':
gdk-pixbuf-xlib-drawable.c:219:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  219 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb8a':
gdk-pixbuf-xlib-drawable.c:260:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  260 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565lsb':
gdk-pixbuf-xlib-drawable.c:314:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  314 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:302:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  302 | rgb565lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565msb':
gdk-pixbuf-xlib-drawable.c:385:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  385 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:373:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  373 | rgb565msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565alsb':
gdk-pixbuf-xlib-drawable.c:457:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  457 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:444:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  444 | rgb565alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565amsb':
gdk-pixbuf-xlib-drawable.c:514:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  514 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:521:19: error: assignment to 'short unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types]
  521 |                 s = srow;
      |                   ^
gdk-pixbuf-xlib-drawable.c:501:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  501 | rgb565amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555lsb':
gdk-pixbuf-xlib-drawable.c:566:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  566 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:554:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  554 | rgb555lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555msb':
gdk-pixbuf-xlib-drawable.c:637:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  637 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:644:19: error: assignment to 'unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types]
  644 |                 s = srow;
      |                   ^
gdk-pixbuf-xlib-drawable.c:625:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  625 | rgb555msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555alsb':
gdk-pixbuf-xlib-drawable.c:705:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  705 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:692:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  692 | rgb555alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555amsb':
gdk-pixbuf-xlib-drawable.c:762:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  762 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:749:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  749 | rgb555amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888alsb':
gdk-pixbuf-xlib-drawable.c:810:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  810 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:802:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  802 | rgb888alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888lsb':
gdk-pixbuf-xlib-drawable.c:841:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  841 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:835:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  835 | rgb888lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888amsb':
gdk-pixbuf-xlib-drawable.c:871:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  871 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:903:32: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)*s << 8 | 255' to '255' [-Woverflow]
  903 |                         *o++ = (*s << 8) | 0xff; /* untested */
      |                                ^
gdk-pixbuf-xlib-drawable.c:865:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  865 | rgb888amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888msb':
gdk-pixbuf-xlib-drawable.c:919:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  919 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:913:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  913 | rgb888msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'convert_real_slow':
gdk-pixbuf-xlib-drawable.c:953:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  953 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:954:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  954 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'xlib_window_is_viewable':
gdk-pixbuf-xlib-drawable.c:1113:54: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
 1113 |                                  &parent, &children, &nchildren))
      |                                                      ^~~~~~~~~~
      |                                                      |
      |                                                      int *
In file included from gdk-pixbuf-xlib.h:26,
                 from gdk-pixbuf-xlib-private.h:25,
                 from gdk-pixbuf-xlib-drawable.c:31:
/usr/include/X11/Xlib.h:3033:5: note: expected 'unsigned int *' but argument is of type 'int *'
 3033 |     unsigned int*       /* nchildren_return */
      |     ^~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c: At top level:
gdk-pixbuf-xlib-drawable.c:1129:1: warning: 'xlib_window_get_origin' defined but not used [-Wunused-function]
 1129 | xlib_window_get_origin (Window w, int *x, int *y)
      | ^~~~~~~~~~~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:1100:1: warning: 'xlib_window_is_viewable' defined but not used [-Wunused-function]
 1100 | xlib_window_is_viewable (Window w)
      | ^~~~~~~~~~~~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:1040:1: warning: 'rgbconvert' defined but not used [-Wunused-function]
 1040 | rgbconvert (XImage *image, unsigned char *pixels, int rowstride, int alpha, xlib_colormap *cmap)
      | ^~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:96:1: warning: 'drawable_is_pixmap' defined but not used [-Wunused-function]
   96 | drawable_is_pixmap (Drawable d)
      | ^~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:670: gdk-pixbuf-xlib-drawable.lo] Error 1
make[5]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender'
make[4]: *** [Makefile:825: all-recursive] Error 1
make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render'
make[3]: *** [Makefile:1069: all-recursive] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon'
make[2]: *** [Makefile:702: all-recursive] Error 1
make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47'
make[1]: *** [Makefile:619: all] Error 2
make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47'

Tnanks @MicheleC , new FTBFS below: <details> <summary>Backtrace</summary> ``` make[5]: Entering directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c -o gdk-pixbuf-xlib-drawable.lo gdk-pixbuf-xlib-drawable.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c gdk-pixbuf-xlib-drawable.c -fPIC -DPIC -o .libs/gdk-pixbuf-xlib-drawable.o gdk-pixbuf-xlib-drawable.c: In function 'handle_x_error': gdk-pixbuf-xlib-drawable.c:89:26: warning: unused parameter 'dpy' [-Wunused-parameter] 89 | handle_x_error (Display *dpy, XErrorEvent *ev) | ~~~~~~~~~^~~ gdk-pixbuf-xlib-drawable.c:89:44: warning: unused parameter 'ev' [-Wunused-parameter] 89 | handle_x_error (Display *dpy, XErrorEvent *ev) | ~~~~~~~~~~~~~^~ gdk-pixbuf-xlib-drawable.c: In function 'rgb1': gdk-pixbuf-xlib-drawable.c:129:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 129 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:126:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 126 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'rgb1a': gdk-pixbuf-xlib-drawable.c:168:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 168 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:165:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 165 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'rgb8': gdk-pixbuf-xlib-drawable.c:219:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 219 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb8a': gdk-pixbuf-xlib-drawable.c:260:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 260 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565lsb': gdk-pixbuf-xlib-drawable.c:314:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 314 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:302:80: warning: unused parameter 'colormap' [-Wunused-parameter] 302 | rgb565lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565msb': gdk-pixbuf-xlib-drawable.c:385:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 385 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:373:80: warning: unused parameter 'colormap' [-Wunused-parameter] 373 | rgb565msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565alsb': gdk-pixbuf-xlib-drawable.c:457:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 457 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:444:81: warning: unused parameter 'colormap' [-Wunused-parameter] 444 | rgb565alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565amsb': gdk-pixbuf-xlib-drawable.c:514:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 514 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:521:19: error: assignment to 'short unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] 521 | s = srow; | ^ gdk-pixbuf-xlib-drawable.c:501:81: warning: unused parameter 'colormap' [-Wunused-parameter] 501 | rgb565amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555lsb': gdk-pixbuf-xlib-drawable.c:566:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 566 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:554:80: warning: unused parameter 'colormap' [-Wunused-parameter] 554 | rgb555lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555msb': gdk-pixbuf-xlib-drawable.c:637:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 637 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:644:19: error: assignment to 'unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] 644 | s = srow; | ^ gdk-pixbuf-xlib-drawable.c:625:80: warning: unused parameter 'colormap' [-Wunused-parameter] 625 | rgb555msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555alsb': gdk-pixbuf-xlib-drawable.c:705:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 705 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:692:81: warning: unused parameter 'colormap' [-Wunused-parameter] 692 | rgb555alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555amsb': gdk-pixbuf-xlib-drawable.c:762:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 762 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:749:81: warning: unused parameter 'colormap' [-Wunused-parameter] 749 | rgb555amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888alsb': gdk-pixbuf-xlib-drawable.c:810:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 810 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:802:81: warning: unused parameter 'colormap' [-Wunused-parameter] 802 | rgb888alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888lsb': gdk-pixbuf-xlib-drawable.c:841:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 841 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:835:80: warning: unused parameter 'colormap' [-Wunused-parameter] 835 | rgb888lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888amsb': gdk-pixbuf-xlib-drawable.c:871:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 871 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:903:32: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)*s << 8 | 255' to '255' [-Woverflow] 903 | *o++ = (*s << 8) | 0xff; /* untested */ | ^ gdk-pixbuf-xlib-drawable.c:865:81: warning: unused parameter 'colormap' [-Wunused-parameter] 865 | rgb888amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888msb': gdk-pixbuf-xlib-drawable.c:919:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 919 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:913:80: warning: unused parameter 'colormap' [-Wunused-parameter] 913 | rgb888msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'convert_real_slow': gdk-pixbuf-xlib-drawable.c:953:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 953 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:954:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 954 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'xlib_window_is_viewable': gdk-pixbuf-xlib-drawable.c:1113:54: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign] 1113 | &parent, &children, &nchildren)) | ^~~~~~~~~~ | | | int * In file included from gdk-pixbuf-xlib.h:26, from gdk-pixbuf-xlib-private.h:25, from gdk-pixbuf-xlib-drawable.c:31: /usr/include/X11/Xlib.h:3033:5: note: expected 'unsigned int *' but argument is of type 'int *' 3033 | unsigned int* /* nchildren_return */ | ^~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c: At top level: gdk-pixbuf-xlib-drawable.c:1129:1: warning: 'xlib_window_get_origin' defined but not used [-Wunused-function] 1129 | xlib_window_get_origin (Window w, int *x, int *y) | ^~~~~~~~~~~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:1100:1: warning: 'xlib_window_is_viewable' defined but not used [-Wunused-function] 1100 | xlib_window_is_viewable (Window w) | ^~~~~~~~~~~~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:1040:1: warning: 'rgbconvert' defined but not used [-Wunused-function] 1040 | rgbconvert (XImage *image, unsigned char *pixels, int rowstride, int alpha, xlib_colormap *cmap) | ^~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:96:1: warning: 'drawable_is_pixmap' defined but not used [-Wunused-function] 96 | drawable_is_pixmap (Drawable d) | ^~~~~~~~~~~~~~~~~~ make[5]: *** [Makefile:670: gdk-pixbuf-xlib-drawable.lo] Error 1 make[5]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender' make[4]: *** [Makefile:825: all-recursive] Error 1 make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render' make[3]: *** [Makefile:1069: all-recursive] Error 1 make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon' make[2]: *** [Makefile:702: all-recursive] Error 1 make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47' make[1]: *** [Makefile:619: all] Error 2 make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47' ``` </details>
MicheleC referenced this issue from a commit 2 weeks ago
MicheleC referenced this issue from a commit 2 weeks ago
Owner

@Francois I have updated the patch. Please test again.

@Francois I have updated the patch. Please test again.
Owner

@Francois to prevent too much scrolling, you can paste a backtrace using the following wrapping code:

<details>
    <summary>Backtrace</summary>

<replace with three backticks (`) -- not done in this comment to highlight the wrapping code

<back trace contents>

<replace with three backticks (`)  -- not done in this comment to highlight the wrapping code

</details>

This will enclose the backtrace in a collapsable item (see the comments I modified above - you can edit them to see the actual wrapper)

@Francois to prevent too much scrolling, you can paste a backtrace using the following wrapping code: ``` <details> <summary>Backtrace</summary> <replace with three backticks (`) -- not done in this comment to highlight the wrapping code <back trace contents> <replace with three backticks (`) -- not done in this comment to highlight the wrapping code </details> ``` This will enclose the backtrace in a collapsable item (see the comments I modified above - you can edit them to see the actual wrapper)
Poster
Collaborator

OK, new FTBFS below:

Backtrace
make[4]: Entering directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h  -I/opt/trinity/include/arts  -DTQT_THREAD_SUPPORT  -D_REENTRANT  -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c -o gdk-pixbuf-xlib-drawable.lo gdk-pixbuf-xlib-drawable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c gdk-pixbuf-xlib-drawable.c  -fPIC -DPIC -o .libs/gdk-pixbuf-xlib-drawable.o
gdk-pixbuf-xlib-drawable.c: In function 'handle_x_error':
gdk-pixbuf-xlib-drawable.c:89:26: warning: unused parameter 'dpy' [-Wunused-parameter]
   89 | handle_x_error (Display *dpy, XErrorEvent *ev)
      |                 ~~~~~~~~~^~~
gdk-pixbuf-xlib-drawable.c:89:44: warning: unused parameter 'ev' [-Wunused-parameter]
   89 | handle_x_error (Display *dpy, XErrorEvent *ev)
      |                               ~~~~~~~~~~~~~^~
gdk-pixbuf-xlib-drawable.c: In function 'rgb1':
gdk-pixbuf-xlib-drawable.c:129:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  129 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:126:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  126 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'rgb1a':
gdk-pixbuf-xlib-drawable.c:168:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  168 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:165:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  165 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'rgb8':
gdk-pixbuf-xlib-drawable.c:219:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  219 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb8a':
gdk-pixbuf-xlib-drawable.c:260:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  260 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565lsb':
gdk-pixbuf-xlib-drawable.c:314:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  314 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:302:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  302 | rgb565lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565msb':
gdk-pixbuf-xlib-drawable.c:385:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  385 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:373:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  373 | rgb565msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565alsb':
gdk-pixbuf-xlib-drawable.c:457:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  457 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:444:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  444 | rgb565alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb565amsb':
gdk-pixbuf-xlib-drawable.c:514:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  514 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:524:19: error: assignment to 'short unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
  524 |                 s = (unsigned int *) srow;
      |                   ^
gdk-pixbuf-xlib-drawable.c:501:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  501 | rgb565amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555lsb':
gdk-pixbuf-xlib-drawable.c:570:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  570 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:558:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  558 | rgb555lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555msb':
gdk-pixbuf-xlib-drawable.c:641:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  641 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:629:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  629 | rgb555msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555alsb':
gdk-pixbuf-xlib-drawable.c:713:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  713 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:700:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  700 | rgb555alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb555amsb':
gdk-pixbuf-xlib-drawable.c:770:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  770 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:757:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  757 | rgb555amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888alsb':
gdk-pixbuf-xlib-drawable.c:818:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  818 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:810:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  810 | rgb888alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888lsb':
gdk-pixbuf-xlib-drawable.c:849:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  849 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:843:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  843 | rgb888lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888amsb':
gdk-pixbuf-xlib-drawable.c:879:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  879 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:911:32: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)*s << 8 | 255' to '255' [-Woverflow]
  911 |                         *o++ = (*s << 8) | 0xff; /* untested */
      |                                ^
gdk-pixbuf-xlib-drawable.c:873:81: warning: unused parameter 'colormap' [-Wunused-parameter]
  873 | rgb888amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                  ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'rgb888msb':
gdk-pixbuf-xlib-drawable.c:927:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  927 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:921:80: warning: unused parameter 'colormap' [-Wunused-parameter]
  921 | rgb888msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap)
      |                                                                 ~~~~~~~~~~~~~~~^~~~~~~~
gdk-pixbuf-xlib-drawable.c: In function 'convert_real_slow':
gdk-pixbuf-xlib-drawable.c:961:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
  961 |         unsigned char *srow = image->data, *orow = pixels;
      |                               ^~~~~
gdk-pixbuf-xlib-drawable.c:962:24: warning: variable 's' set but not used [-Wunused-but-set-variable]
  962 |         unsigned char *s;
      |                        ^
gdk-pixbuf-xlib-drawable.c: In function 'xlib_window_is_viewable':
gdk-pixbuf-xlib-drawable.c:1121:54: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign]
 1121 |                                  &parent, &children, &nchildren))
      |                                                      ^~~~~~~~~~
      |                                                      |
      |                                                      int *
In file included from gdk-pixbuf-xlib.h:26,
                 from gdk-pixbuf-xlib-private.h:25,
                 from gdk-pixbuf-xlib-drawable.c:31:
/usr/include/X11/Xlib.h:3033:5: note: expected 'unsigned int *' but argument is of type 'int *'
 3033 |     unsigned int*       /* nchildren_return */
      |     ^~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c: At top level:
gdk-pixbuf-xlib-drawable.c:1137:1: warning: 'xlib_window_get_origin' defined but not used [-Wunused-function]
 1137 | xlib_window_get_origin (Window w, int *x, int *y)
      | ^~~~~~~~~~~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:1108:1: warning: 'xlib_window_is_viewable' defined but not used [-Wunused-function]
 1108 | xlib_window_is_viewable (Window w)
      | ^~~~~~~~~~~~~~~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:1048:1: warning: 'rgbconvert' defined but not used [-Wunused-function]
 1048 | rgbconvert (XImage *image, unsigned char *pixels, int rowstride, int alpha, xlib_colormap *cmap)
      | ^~~~~~~~~~
gdk-pixbuf-xlib-drawable.c:96:1: warning: 'drawable_is_pixmap' defined but not used [-Wunused-function]
   96 | drawable_is_pixmap (Drawable d)
      | ^~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:670: gdk-pixbuf-xlib-drawable.lo] Error 1
make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender'
make[3]: *** [Makefile:825: all-recursive] Error 1
make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render'
make[2]: *** [Makefile:1069: all-recursive] Error 1
make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon'
make[1]: *** [Makefile:702: all-recursive] Error 1
make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47'
make: *** [Makefile:619: all] Error 2

OK, new FTBFS below: <details> <summary>Backtrace</summary> ``` make[4]: Entering directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c -o gdk-pixbuf-xlib-drawable.lo gdk-pixbuf-xlib-drawable.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -I/opt/trinity/include/arts -DTQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE -DNDEBUG -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wformat-security -Wmissing-format-attribute -I/usr/include/tqt -c gdk-pixbuf-xlib-drawable.c -fPIC -DPIC -o .libs/gdk-pixbuf-xlib-drawable.o gdk-pixbuf-xlib-drawable.c: In function 'handle_x_error': gdk-pixbuf-xlib-drawable.c:89:26: warning: unused parameter 'dpy' [-Wunused-parameter] 89 | handle_x_error (Display *dpy, XErrorEvent *ev) | ~~~~~~~~~^~~ gdk-pixbuf-xlib-drawable.c:89:44: warning: unused parameter 'ev' [-Wunused-parameter] 89 | handle_x_error (Display *dpy, XErrorEvent *ev) | ~~~~~~~~~~~~~^~ gdk-pixbuf-xlib-drawable.c: In function 'rgb1': gdk-pixbuf-xlib-drawable.c:129:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 129 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:126:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 126 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'rgb1a': gdk-pixbuf-xlib-drawable.c:168:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 168 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:165:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 165 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'rgb8': gdk-pixbuf-xlib-drawable.c:219:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 219 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb8a': gdk-pixbuf-xlib-drawable.c:260:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 260 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565lsb': gdk-pixbuf-xlib-drawable.c:314:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 314 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:302:80: warning: unused parameter 'colormap' [-Wunused-parameter] 302 | rgb565lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565msb': gdk-pixbuf-xlib-drawable.c:385:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 385 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:373:80: warning: unused parameter 'colormap' [-Wunused-parameter] 373 | rgb565msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565alsb': gdk-pixbuf-xlib-drawable.c:457:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 457 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:444:81: warning: unused parameter 'colormap' [-Wunused-parameter] 444 | rgb565alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb565amsb': gdk-pixbuf-xlib-drawable.c:514:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 514 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:524:19: error: assignment to 'short unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 524 | s = (unsigned int *) srow; | ^ gdk-pixbuf-xlib-drawable.c:501:81: warning: unused parameter 'colormap' [-Wunused-parameter] 501 | rgb565amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555lsb': gdk-pixbuf-xlib-drawable.c:570:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 570 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:558:80: warning: unused parameter 'colormap' [-Wunused-parameter] 558 | rgb555lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555msb': gdk-pixbuf-xlib-drawable.c:641:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 641 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:629:80: warning: unused parameter 'colormap' [-Wunused-parameter] 629 | rgb555msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555alsb': gdk-pixbuf-xlib-drawable.c:713:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 713 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:700:81: warning: unused parameter 'colormap' [-Wunused-parameter] 700 | rgb555alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb555amsb': gdk-pixbuf-xlib-drawable.c:770:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 770 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:757:81: warning: unused parameter 'colormap' [-Wunused-parameter] 757 | rgb555amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888alsb': gdk-pixbuf-xlib-drawable.c:818:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 818 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:810:81: warning: unused parameter 'colormap' [-Wunused-parameter] 810 | rgb888alsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888lsb': gdk-pixbuf-xlib-drawable.c:849:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 849 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:843:80: warning: unused parameter 'colormap' [-Wunused-parameter] 843 | rgb888lsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888amsb': gdk-pixbuf-xlib-drawable.c:879:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 879 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:911:32: warning: overflow in conversion from 'int' to 'unsigned char' changes value from '(int)*s << 8 | 255' to '255' [-Woverflow] 911 | *o++ = (*s << 8) | 0xff; /* untested */ | ^ gdk-pixbuf-xlib-drawable.c:873:81: warning: unused parameter 'colormap' [-Wunused-parameter] 873 | rgb888amsb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'rgb888msb': gdk-pixbuf-xlib-drawable.c:927:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 927 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:921:80: warning: unused parameter 'colormap' [-Wunused-parameter] 921 | rgb888msb (XImage *image, unsigned char *pixels, int rowstride, xlib_colormap *colormap) | ~~~~~~~~~~~~~~~^~~~~~~~ gdk-pixbuf-xlib-drawable.c: In function 'convert_real_slow': gdk-pixbuf-xlib-drawable.c:961:31: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 961 | unsigned char *srow = image->data, *orow = pixels; | ^~~~~ gdk-pixbuf-xlib-drawable.c:962:24: warning: variable 's' set but not used [-Wunused-but-set-variable] 962 | unsigned char *s; | ^ gdk-pixbuf-xlib-drawable.c: In function 'xlib_window_is_viewable': gdk-pixbuf-xlib-drawable.c:1121:54: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign] 1121 | &parent, &children, &nchildren)) | ^~~~~~~~~~ | | | int * In file included from gdk-pixbuf-xlib.h:26, from gdk-pixbuf-xlib-private.h:25, from gdk-pixbuf-xlib-drawable.c:31: /usr/include/X11/Xlib.h:3033:5: note: expected 'unsigned int *' but argument is of type 'int *' 3033 | unsigned int* /* nchildren_return */ | ^~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c: At top level: gdk-pixbuf-xlib-drawable.c:1137:1: warning: 'xlib_window_get_origin' defined but not used [-Wunused-function] 1137 | xlib_window_get_origin (Window w, int *x, int *y) | ^~~~~~~~~~~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:1108:1: warning: 'xlib_window_is_viewable' defined but not used [-Wunused-function] 1108 | xlib_window_is_viewable (Window w) | ^~~~~~~~~~~~~~~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:1048:1: warning: 'rgbconvert' defined but not used [-Wunused-function] 1048 | rgbconvert (XImage *image, unsigned char *pixels, int rowstride, int alpha, xlib_colormap *cmap) | ^~~~~~~~~~ gdk-pixbuf-xlib-drawable.c:96:1: warning: 'drawable_is_pixmap' defined but not used [-Wunused-function] 96 | drawable_is_pixmap (Drawable d) | ^~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:670: gdk-pixbuf-xlib-drawable.lo] Error 1 make[4]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render/xrgbrender' make[3]: *** [Makefile:825: all-recursive] Error 1 make[3]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon/render' make[2]: *** [Makefile:1069: all-recursive] Error 1 make[2]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47/karbon' make[1]: *** [Makefile:702: all-recursive] Error 1 make[1]: Leaving directory '/tmp/BUILD.fc40.x86_64/trinity-koffice-14.1.2~pre23+0946bf47' make: *** [Makefile:619: all] Error 2 ``` </details>
MicheleC referenced this issue from a commit 2 weeks ago
Owner

OK, new FTBFS below:

Ah, it was a mistake in my patch. Please try again and let me know.

> OK, new FTBFS below: Ah, it was a mistake in my patch. Please try again and let me know.
Poster
Collaborator

Thanks @MicheleC , koffice is now built on Fedora 40 :)

Thanks @MicheleC , koffice is now built on Fedora 40 :)
Owner

Thanks @Francois. Will wait for @SlavekB to approve the PR before merging it.

Thanks @Francois. Will wait for @SlavekB to approve the PR before merging it.
MicheleC referenced this issue from a commit 2 weeks ago
Owner

PR merged and backported.

PR merged and backported.
MicheleC closed this issue 2 weeks ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/koffice#67
Loading…
There is no content yet.