#5440 make rpms fails during linter - missing config member
Closed: Fixed Opened by alich.

  1. git clone
  2. make
  3. make rpms

    cd asn1; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
    cd ipa-client; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
    cd install; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
    Building IPA 4.2.90.201511091028GIT4d94367
    cd asn1; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
    cd daemons; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --with-openldap; fi
    cd install; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
    ./make-lint
    *** Module ipapython.secrets.kem
    ipapython/secrets/kem.py:156: [E1002(super-on-old-class), IPAKEMKeys.init] Use of super on an old style class)
    ipapython/secrets/kem.py:178: [E1101(no-member), IPAKEMKeys.generate_server_keys] Instance of 'IPAKEMKeys' has no 'config' member)
    ipapython/secrets/kem.py:187: [E1101(no-member), IPAKEMKeys.server_keys] Instance of 'IPAKEMKeys' has no 'config' member)

    ===============================================================================
    Errors were found during the static code check.

    If you are certain that any of the reported errors are false positives, please
    mark them in the source code according to the pylint documentation.
    ===============================================================================

    Makefile:119: recipe for target 'lint' failed
    make: *** [lint] Error 2


Test coverage: NO - this test is already in our Jenkins (regular builds)

Missing dependencies: custodia, python-jwcrypto.
After installing these packages the build passed.

Metadata Update from @alich:
- Issue assigned to someone
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

Metadata