Public bug reported:

lg-gpio 0.2.0.0-0ubuntu4 FTBFS in Questing

https://people.canonical.com/~ginggs/ftbfs-report/test-
rebuild-20250910-questing-questing.html

gcc -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/lg-gpio-0.2.0.0-0ubuntu4 -O3 -Wall 
-pthread -fpic -Wdate-time -D_FORTIFY_SOURCE=3 -Wdate-time -D_FORTIFY_SOURCE=3  
-c -o lgGpio.o lgGpio.c
lgGpio.c: In function ‘lgGpiochipOpen’:
lgGpio.c:738:61: error: passing argument 4 of ‘lgHdlAlloc’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  738 |       LG_HDL_TYPE_GPIO, sizeof(lgChipObj_t), (void**)&chip, 
_lgGpiochipClose);
      |                                                             
^~~~~~~~~~~~~~~~
      |                                                             |
      |                                                             void 
(*)(void *)
In file included from lgGpio.c:46:
lgHdl.h:45:52: note: expected ‘callbk_t’ {aka ‘void (*)(void)’} but argument is 
of type ‘void (*)(void *)’
   45 |    (int type, int objSize, void **objPtr, callbk_t destructor);
      |                                           ~~~~~~~~~^~~~~~~~~~
lgGpio.c:88:13: note: ‘_lgGpiochipClose’ declared here
   88 | static void _lgGpiochipClose(void *objPtr)
      |             ^~~~~~~~~~~~~~~~
In file included from lgGpio.c:42:
lgpio.h:377:16: note: ‘callbk_t’ declared here
  377 | typedef void (*callbk_t) ();
      |                ^~~~~~~~

** Affects: lg-gpio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139440

Title:
  lg-gpio: FTBFS in Questing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lg-gpio/+bug/2139440/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to