can't prepare sip sources from hg repo...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

can't prepare sip sources from hg repo...

Branko Badrljica

Hi folks.

I use Gentoo and need PyQt5.
I have problems with compiling PyQt with gles2 support and one of the solutions mentioned on Gentoo forums is to downgrade
sip to 4.19.1. Well, that version is not in portage tree anymore, so after trying every available version ( 4.19.{3,6,7} ), I thought
to try 4.9999 ( hg repo ).

But now prepare phase doesn't do its job completely, so subsequent configure phase fails.

After python ./build-py prepare, I get

python build.py prepare
Running flex to create sipgen/lexer.c
Running bison to create sipgen/parser.c
sipgen/metasrc/parser.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]

I get return code of 0 (no error), but there is no configure.py I could use for configure.
All I am left with, is configure.py.in...

Brane2





_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Phil Thompson-5
On 3 Feb 2018, at 1:20 pm, Branko Badrljica <[hidden email]> wrote:

>
>
> Hi folks.
>
> I use Gentoo and need PyQt5.
> I have problems with compiling PyQt with gles2 support and one of the solutions mentioned on Gentoo forums is to downgrade
> sip to 4.19.1. Well, that version is not in portage tree anymore, so after trying every available version ( 4.19.{3,6,7} ), I thought
> to try 4.9999 ( hg repo ).
>
> But now prepare phase doesn't do its job completely, so subsequent configure phase fails.
>
> After python ./build-py prepare, I get
>
> python build.py prepare
> Running flex to create sipgen/lexer.c
> Running bison to create sipgen/parser.c
> sipgen/metasrc/parser.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
>
> I get return code of 0 (no error), but there is no configure.py I could use for configure.
> All I am left with, is configure.py.in...

https://sourceforge.net/projects/pyqt/files/sip/

Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Branko Badrljica
Thanks for the link, but how about fixing sip building script ( build.py I presume) and fixing PyQt5, so that it compiles with gles2 ?

PyQt5-5.9* and higher demand >=sip-4.9.6, so 4.9.1 is not really the solution for me anyway...

Brane2




On Sat, 3 Feb 2018 15:13:37 +0000
Phil Thompson <[hidden email]> wrote:

> On 3 Feb 2018, at 1:20 pm, Branko Badrljica <[hidden email]> wrote:
> >
> >
> > Hi folks.
> >
> > I use Gentoo and need PyQt5.
> > I have problems with compiling PyQt with gles2 support and one of the solutions mentioned on Gentoo forums is to downgrade
> > sip to 4.19.1. Well, that version is not in portage tree anymore, so after trying every available version ( 4.19.{3,6,7} ), I thought
> > to try 4.9999 ( hg repo ).
> >
> > But now prepare phase doesn't do its job completely, so subsequent configure phase fails.
> >
> > After python ./build-py prepare, I get
> >
> > python build.py prepare
> > Running flex to create sipgen/lexer.c
> > Running bison to create sipgen/parser.c
> > sipgen/metasrc/parser.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
> >
> > I get return code of 0 (no error), but there is no configure.py I could use for configure.
> > All I am left with, is configure.py.in...
>
> https://sourceforge.net/projects/pyqt/files/sip/
>
> Phil

--
Branko Badrljica <[hidden email]>
http://www.avtomatika.com
gsm:040/423-303
tel:059/156-643
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Phil Thompson-5
On 3 Feb 2018, at 4:35 pm, Branko Badrljica <[hidden email]> wrote:
>
> Thanks for the link, but how about fixing sip building script ( build.py I presume) and fixing PyQt5, so that it compiles with gles2 ?

build.py works for me.

How about posting a bug report based on current versions?

Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Branko Badrljica
I can't find any bugzilla link for this.

Also, I don't have any log file.

build.py finishes its thing without error return code, but I get no configure.py to run (which could generate log file), so I have not much to report...





On Sat, 3 Feb 2018 16:54:13 +0000
Phil Thompson <[hidden email]> wrote:

>
> How about posting a bug report based on current versions?

--
Branko Badrljica <[hidden email]>
http://www.avtomatika.com
gsm:040/423-303
tel:059/156-643
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Phil Thompson-5
On 3 Feb 2018, at 5:16 pm, Branko Badrljica <[hidden email]> wrote:
>
> I can't find any bugzilla link for this.
>
> Also, I don't have any log file.
>
> build.py finishes its thing without error return code, but I get no configure.py to run (which could generate log file), so I have not much to report...

I was refering to your original PyQt problem.

Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Branko Badrljica
On Sat, 3 Feb 2018 17:18:24 +0000
Phil Thompson <[hidden email]> wrote:

> On 3 Feb 2018, at 5:16 pm, Branko Badrljica <[hidden email]> wrote:
> >
> > I can't find any bugzilla link for this.
> >
> > Also, I don't have any log file.
> >
> > build.py finishes its thing without error return code, but I get no configure.py to run (which could generate log file), so I have not much to report...
>
> I was refering to your original PyQt problem.
>
> Phil

O.K

Here it is:

http://files.tek-node.net/000_PERSONAL/BRANE2/000_NET/PyQt5-5.10_build_log

I have dev-python/sip-4.19.7...
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: can't prepare sip sources from hg repo...

Phil Thompson-5
On 3 Feb 2018, at 6:27 pm, Branko Badrljica <[hidden email]> wrote:

>
> On Sat, 3 Feb 2018 17:18:24 +0000
> Phil Thompson <[hidden email]> wrote:
>
>> On 3 Feb 2018, at 5:16 pm, Branko Badrljica <[hidden email]> wrote:
>>>
>>> I can't find any bugzilla link for this.
>>>
>>> Also, I don't have any log file.
>>>
>>> build.py finishes its thing without error return code, but I get no configure.py to run (which could generate log file), so I have not much to report...
>>
>> I was refering to your original PyQt problem.
>>
>> Phil
>
> O.K
>
> Here it is:
>
> http://files.tek-node.net/000_PERSONAL/BRANE2/000_NET/PyQt5-5.10_build_log
>
> I have dev-python/sip-4.19.7...

Because you are specifically enabling the modules to build you are disabling the checks configure.py runs to determine the details of your Qt installation and default values are used for (in this case) the OpenGL support.

The only way to say that you want "PyQt_Desktop_OpenGL" disabled is to use a configuration file, see...

http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#configuring-with-configuration-files

Phil
_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt