[oi-dev] pkglint fails during publish

Gary Mills gary_mills at fastmail.fm
Fri May 8 02:06:25 UTC 2020


When I'm attempting a publish, I get this error:

            /usr/bin/pkglint  \
    -f
     /dpool/export/home/mills/Downloads/code/oi-userland-jan/tools/pkglintrc
     /dpool/export/home/mills/Downloads/code/oi-userland/components/x11/xorg-server-1.20.8/build/manifest-i386-trusted-xorg.depend.res
    ...
     /dpool/export/home/mills/Downloads/code/oi-userland/components/x11/xorg-server-1.20.8/build/manifest-i386-xdmx.depend.res
    
    Lint engine setup...
    pkglint: Error parsing config value for pkglint.ext.content: No module named 'pkglint'
    Error: Error parsing config value for pkglint.ext.content: No module named 'pkglint'
    gmake: *** [/dpool/export/home/mills/Downloads/code/oi-userland-jan/make-rules/ips.mk:463: /dpool/export/home/mills/Downloads/code/oi-userland/components/x11/xorg-server-1.20.8/build/.linted-i386] Error 2

I'm building part of a source clone from January 2019, but the BE is
from March 2020.  I'm assuming the error is a result of the change
from python2.7 to python3.5 that happened during that interval.  The
file /usr/bin/pkglint is a python3.5 script.  The statement:

    pkglint.ext.content = pkglint.userland

occurs in the tools/pkglintrc file.  This seems to be the source
of the error.

Am I missing a package, or has something else gone wrong?


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-




More information about the oi-dev mailing list