Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Adélie Package Tree Adélie Package Tree
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie Linux
  • Adélie Package TreeAdélie Package Tree
  • Issues
  • #628
Closed
Open
Created Apr 30, 2022 by Zach van Rijn@zOwner

user/seatd: FTBFS: error: overflow in conversion from ‘long unsigned int’ to ‘int’ changes value from ‘2147763601’ to ‘-2147203695’ [-Werror=overflow]

Found on ppc64:

ninja: Entering directory `output'
[1/34] Compiling C object seatd.p/common_evdev.c.o
FAILED: seatd.p/common_evdev.c.o
gcc -Iseatd.p -I. -I.. -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -O3 -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fa>
../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]
  return ioctl(fd, EVIOCREVOKE, NULL);
                   ^~~~~~~~~~~
../common/evdev.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-unused-command-line-argument’ [-Werror]
cc1: error: unrecognized command line option ‘-Wno-unknown-warning-option’ [-Werror]
cc1: all warnings being treated as errors
Assignee
Assign to
Time tracking