Summary: | sys-libs/libcap-ng: utils/proc-llist.c fails to include <unistd.h> and breaks build on sys-libs/musl. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Shiz <hi> |
Component: | Hardened | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, blueness |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1224977 | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1224977 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 556872 | ||
Bug Blocks: | 430702 |
Description
Shiz
2015-05-24 13:36:11 UTC
I've bumped this on the overlay, but the patch should go upstream. Its trivial and POSIX-correct. It adds #include <unistd.h> for pid_t and uid_t. I've looked at http://people.redhat.com/sgrubb/libcap-ng/ bug I can't find any bug reporting process. Does anyone in base-system know? Do I just submit at https://bugzilla.redhat.com/? Judging from earlier bugs[1][2], https://bugzilla.redhat.com seems to be the place to go. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=895105 [2]: https://bugzilla.redhat.com/show_bug.cgi?id=650594 (In reply to Anthony Basile from comment #1) where is the patch ? Presumably, he means the patch in the hardened-development overlay[1]. [1]: https://gitweb.gentoo.org/proj/hardened-dev.git/tree/sys-libs/libcap-ng/files/libcap-ng-0.7.3-add-missing-unistd_h.patch?h=musl (In reply to Shiz from comment #4) that patch is fine for the main tree once it's cleaned & properly documented: https://dev.gentoo.org/~vapier/clean-patches The patch is now in the our tree for libcap-ng-0.7.5 (not previous) https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/libcap-ng/files/libcap-ng-0.7.5-add-unistd_h.patch?revision=1.1&view=markup and it is submitted upstream at the above URL. Upstream says the fix is in 0.7.7. I'll bump and see if it works. (In reply to Anthony Basile from comment #7) > Upstream says the fix is in 0.7.7. I'll bump and see if it works. It works. I bumped 0.7.6 (with my patch) and 0.7.7 (without my patch) to the tree. The next version of libcap-ng to stabilize should be 0.7.7. can be closed, 0.7.7 is stable on all related archs. |