~jirutka


#10 Fails to build on ppc64le (Alpine Linux) 3 years ago

Ticket created by ~jirutka on ~kennylevinsen/seatd

https://gitlab.alpinelinux.org/alpine/aports/-/jobs/518699:

ninja: job failed: gcc -Iseatd.p -I. -I.. -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wvla -Wl,--exclude-libs=ALL -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE '-DSEATD_VERSION="0.6.3"' '-DSEATD_DEFAULTPATH="/run/seatd.sock"' '-DSEATD_INSTALLPATH="/usr/bin/seatd"' '-DREL_SRC_DIR="../"' -DSEATD_ENABLED=1 -DLOGIND_ENABLED=1 -DHAVE_ELOGIND=1 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIE -MD -MQ seatd.p/common_evdev.c.o -MF seatd.p/common_evdev.c.o.d -o seatd.p/common_evdev.c.o -c ../common/evdev.c
../common/evdev.c: In function 'evdev_revoke':
../common/evdev.c:27:19: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2147763601' to '-2147203695' [-Werror=overflow]
   27 |  return ioctl(fd, EVIOCREVOKE, NULL);
      |                   ^~~~~~~~~~~
cc1: all warnings being treated as errors

Environment:

  • Alpine Linux Edge
  • elogind 246.10
  • gcc 10.3.1
  • musl 1.2.2

#16 agreety: verbose errors, bug makes me unable to login under certain conditions 3 years ago

Comment by ~jirutka on ~kennylevinsen/greetd

I can confirm, I’ve encountered the same faulty behaviour on Alpine Linux.

#21 Documentation is really difficult to understand (and it has errors) 3 years ago

Comment by ~jirutka on ~kennylevinsen/greetd

OMFG, I just wasted about half an hour trying to figure out what the heck is wrong! I thought that I have some problem with PAM.