[oi-dev] pkglint fails during publish
Carsten Grzemba
grzemba at contac-dt.de
Fri May 8 05:34:41 UTC 2020
Am 08.05.20 04:06 schrieb Gary Mills <gary_mills at fastmail.fm>:
>
> 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?
>
So check, that userland-tools start pkglint with Python3
>
>
>
>
> --
> -Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20200508/2cde6301/attachment-0005.html>
More information about the oi-dev
mailing list