Re: [oi-dev] pkglint fails during publish

2020-05-12 Thread Gary Mills
On Sat, May 09, 2020 at 02:12:25PM -0700, Alan Coopersmith wrote: > > Upstream IPS fixed this by adding the -e flag to pkglint, so that > consumers like ON/illumos could just do: > > PKGLINT= /usr/bin/pkglint -e $(ONBLD_TOOLS)/lib/python > > https://github.com/oracle/solaris-ips/commit/b1d

Re: [oi-dev] pkglint fails during publish

2020-05-09 Thread Alan Coopersmith
On 5/9/20 1:03 PM, Gary Mills wrote: On Sat, May 09, 2020 at 03:03:57PM +, Andy Fiddaman wrote: On Sat, 9 May 2020, Gary Mills wrote: ; That's the change that caused the problem. The first line becomes ; only a comment when the file is interpreted by python. Removing that ; option string

Re: [oi-dev] pkglint fails during publish

2020-05-09 Thread Gary Mills
On Sat, May 09, 2020 at 03:03:57PM +, Andy Fiddaman wrote: > On Sat, 9 May 2020, Gary Mills wrote: > > ; That's the change that caused the problem. The first line becomes > ; only a comment when the file is interpreted by python. Removing that > ; option string would solve the problem in a s

Re: [oi-dev] pkglint fails during publish

2020-05-09 Thread Andy Fiddaman
On Sat, 9 May 2020, Gary Mills wrote: ; That's the change that caused the problem. The first line becomes ; only a comment when the file is interpreted by python. Removing that ; option string would solve the problem in a simpler way. I wonder why ; it was ever put there? I see that it was add

Re: [oi-dev] pkglint fails during publish

2020-05-09 Thread Gary Mills
On Sat, May 09, 2020 at 06:48:34AM +, Alexander Pyhalov wrote: >Likely by default it passed -Es to the python interpreter, so doesn't >load modules from non-standart path. Ah, I didn't notice that the first line of /usr/bin/pkglint is now: #!/usr/bin/python3.5 -Es The previous on

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Alexander Pyhalov via oi-dev
__ От: Gary Mills Отправлено: 9 мая 2020 г. 1:31 Кому: OpenIndiana Developer mailing list Копия: Alexander Pyhalov Тема: Re: [oi-dev] pkglint fails during publish On Fri, May 08, 2020 at 07:49:21AM -0500, Gary Mills wrote: > On Fri, May 08, 2020 at 07:01:36AM +, Alexander Pyhalov wrote: &

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Gary Mills
On Fri, May 08, 2020 at 07:49:21AM -0500, Gary Mills wrote: > On Fri, May 08, 2020 at 07:01:36AM +, Alexander Pyhalov wrote: > > Sorry, I meant > > https://github.com/OpenIndiana/oi-userland/commit/fb10babbcfd65ff74cf439bc77a2186fd79ee2a7 > > I have some of those changes in the 2019 source clo

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Gary Mills
On Fri, May 08, 2020 at 07:01:36AM +, Alexander Pyhalov wrote: > Sorry, I meant > https://github.com/OpenIndiana/oi-userland/commit/fb10babbcfd65ff74cf439bc77a2186fd79ee2a7 I have some of those changes in the 2019 source clone, but not all of them. I don't have the make-rules changes, but /us

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Gary Mills
On Fri, May 08, 2020 at 07:34:41AM +0200, Carsten Grzemba via oi-dev wrote: > >So check, that userland-tools start pkglint with Python3 I had previously replaced all the python2.7 scripts in the tools directory with python3.5 scripts from a more recent oi-userland clone. Before I did that, I

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Alexander Pyhalov
От: Alexander Pyhalov Отправлено: 8 мая 2020 г. 10:00 Кому: oi-dev@openindiana.org Копия: Carsten Grzemba Тема: RE: [oi-dev] pkglint fails during publish Hi. Do you have https://github.com/OpenIndiana/oi-userland/commiti/fb10babbcfd65ff74cf439bc77a2186fd79ee2a7#diff

Re: [oi-dev] pkglint fails during publish

2020-05-08 Thread Alexander Pyhalov via oi-dev
От: Carsten Grzemba via oi-dev Отправлено: 8 мая 2020 г. 8:34 Кому: OpenIndiana Developer mailing list; oi-dev@openindiana.org Копия: Carsten Grzemba Тема: Re: [oi-dev] pkglint fails during publish Am 08.05.20 04:06 schrieb Gary Mills : When I&#

Re: [oi-dev] pkglint fails during publish

2020-05-07 Thread Carsten Grzemba via oi-dev
Am 08.05.20 04:06 schrieb Gary Mills : > > 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/buil

[oi-dev] pkglint fails during publish

2020-05-07 Thread Gary Mills
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.r