[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882728: libutil-freebsd-dev: login_cap.h needs rlim_t definition



Package: libutil-freebsd-dev
Version: 10.3~svn296373-10
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?
I downloaded Debian's bsdmainutils package and tried to build it with
make.

   * What was the outcome of this action?
login_cap.h emits errors because of a missing rlim_t definition:

    /usr/include/login_cap.h:114:62: error: unknown type name ‘rlim_t’;
    did you mean ‘__rlim_t’?
    rlim_t login_getcapsize(login_cap_t *, const char *, rlim_t, rlim_t);

   * What outcome did you expect instead?
I expected login_cap.h to not emit errors.

These can be resolved by added the following line to login_cap.h:

    #include <sys/resource.h>


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libutil-freebsd-dev depends on:
ii  libc6-dev [libc-dev]  2.24-17
ii  libutil-freebsd-9     10.3~svn296373-10

libutil-freebsd-dev recommends no packages.

libutil-freebsd-dev suggests no packages.

-- no debconf information

Reply to: