Package: src:sleepd
Version: 2.14
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:sleepd, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- USE_UPOWER=1
        make -j2 "INSTALL=install --strip-program=true" USE_UPOWER=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-DACPI_APM -pthread -DUPOWER -DACPI_APM -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
sleepd.o sleepd.c
cc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-DACPI_APM -pthread -DUPOWER -DACPI_APM -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
acpi.o acpi.c
sleepd.c: In function ‘main_loop’:
sleepd.c:437:49: error: passing argument 3 of ‘pthread_create’ from 
incompatible pointer type [-Wincompatible-pointer-types]
  437 |                 pthread_create(&emthread, NULL, eventMonitor, NULL);
      |                                                 ^~~~~~~~~~~~
      |                                                 |
      |                                                 void * (*)(void)
In file included from sleepd.c:16:
/usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but 
argument is of type ‘void * (*)(void)’
  204 |                            void *(*__start_routine) (void *),
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sleepd.c:34:
eventmonitor.h:9:14: note: ‘eventMonitor’ declared here
    9 | extern void *eventMonitor();
      |              ^~~~~~~~~~~~
sleepd.c: In function ‘writecontrol’:
sleepd.c:281:9: warning: ignoring return value of ‘write’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  281 |         write(f, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [<builtin>: sleepd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
USE_UPOWER=1 returned exit code 2
make[1]: *** [debian/rules:6: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to