[oi-dev] pkglint fails during publish

Alexander Pyhalov alp at sfedu.ru
Fri May 8 07:00:59 UTC 2020


Hi.
Do you have https://github.com/OpenIndiana/oi-userland/commiti/fb10babbcfd65ff74cf439bc77a2186fd79ee2a7#diff-4a931512ce65bdc9ca6808adf92d8783 ?

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ


________________________________________
От: Carsten Grzemba via oi-dev <oi-dev at openindiana.org>
Отправлено: 8 мая 2020 г. 8:34
Кому: OpenIndiana Developer mailing list; oi-dev at openindiana.org
Копия: Carsten Grzemba
Тема: Re: [oi-dev] pkglint fails during publish



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




More information about the oi-dev mailing list