FTBFS gcc8
Bug #1793135 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam-p11 (Debian) |
Fix Released
|
Unknown
|
|||
pam-p11 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
pam_p11.c: In function ‘randomize’:
pam_p11.c:556:36: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Werror=
if (0 <= fd && read(fd, r, r_len) == r_len) {
It fails in i386 and armhf (32bits only then?).
Related branches
~paelzer/ubuntu/+source/pam-p11:lp-1793135-fix-warning
Merged
into
ubuntu/+source/pam-p11:ubuntu/cosmic-devel
at
revision 608bda0a2046ae8831603adf561a2af1da6a32f5
- Robie Basak: Pending requested
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 60 lines (+40/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-gcc8-build-unsigned-comparison.patch (+32/-0)
debian/patches/series (+1/-0)
tags: | added: ftbfs |
Changed in pam-p11 (Debian): | |
status: | Unknown → New |
Changed in pam-p11 (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
This was long lost (60 days) as it came in via an auto sync so nobody kept track.
Thanks to a new report it is now on our radar (and future issues will be picked up sooner).
For this case we have a few options:
1. fix the issue in the code, but realize it is not a new issue just an old one exposed by a new warning
2. disable this particular new compiler warning for now and expect that upstream will have improved e.g. until next release
3. try to build the older version and do a +really upload to revert to that for now.
I'll do some checks to decide between those three and then report back here.