Skip to contentSkip to conversation

02/09: mozjs: Upgrade to version 60.x

oe-commits Andreas Müller 3 participants 9 messages May 22, 2019 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Andreas

#3 lore raw
Quoted 14 lines · Andreas Müller
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Quoted 8 lines

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Please do. I am currently trying to upgrade polkit to 0.116 which should work with
spidermonkey 60.x so if you have patches please send, I would be happy to give them a shot.

Quoted 1 line

Andreas

#4 lore raw
Quoted 25 lines · Khem Raj
Quoted 14 lines · Andreas Müller
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Quoted 8 lines

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Quoted 5 lines

Please do. I am currently trying to upgrade polkit to 0.116 which should work with
spidermonkey 60.x so if you have patches please send, I would be happy to give them a shot.

That might take till weekend: am sitting on 60+ patches not quite ready for the wild. So I have to rebase (and test).

Ahh - and after staring python2 crusade accidentally: If you give me a bit more time I would create a patch to move mozjs build to python3. Found a patch which is a good base to steel from.

Andreas

#5 lore raw
Quoted 32 lines · Andreas Müller
Quoted 25 lines · Khem Raj
Quoted 14 lines · Andreas Müller
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Quoted 8 lines

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Quoted 5 lines

Please do. I am currently trying to upgrade polkit to 0.116 which should work with
spidermonkey 60.x so if you have patches please send, I would be happy to give them a shot.

Quoted 7 lines

That might take till weekend: am sitting on 60+ patches not quite ready for the wild. So I have to rebase (and test).

Ahh - and after staring python2 crusade accidentally: If you give me a bit more time I would create a patch to move mozjs build to python3. Found a patch which is a good base to steel from.

OK. I have it compiling and working on rpi3 and qemux86-64 see top 4 patches
https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut

Let me know what you think

Quoted 1 line

Andreas

#6 lore raw
Quoted 42 lines · Khem Raj
Quoted 32 lines · Andreas Müller
Quoted 25 lines · Khem Raj
Quoted 14 lines · Andreas Müller
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Quoted 8 lines

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Quoted 5 lines

Please do. I am currently trying to upgrade polkit to 0.116 which should work with
spidermonkey 60.x so if you have patches please send, I would be happy to give them a shot.

Quoted 7 lines

That might take till weekend: am sitting on 60+ patches not quite ready for the wild. So I have to rebase (and test).

Ahh - and after staring python2 crusade accidentally: If you give me a bit more time I would create a patch to move mozjs build to python3. Found a patch which is a good base to steel from.

Quoted 6 lines

OK. I have it compiling and working on rpi3 and qemux86-64 see top 4 patches
https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut

Let me know what you think

Seems you chose same way as I did: add necessary python dependencies. Now after recent discussion about python2 I don't like this way. E.g python-which has seen last release in 2010 [1] and does not build for python3.

By looking into the python3 patch for mozjs [2] I found that mozjs ships the python scripts required (and I think much more). Seems we do not set it up properly so that it cannot find them.

My target for mozjs is:
Use the python-scripts found in mozjs 'third_party' folder, patch them for python3 and don't add python-native recipes.

Suggestion:
* If you are under pressure for this issue for other recipes: Take your patches - I can make those modifications on top later.
* If there is no pressure just give me a bit of time

And finally: Maybe we do same in parallel. To avoid double efforts: My WIP is at [3] As said it is not ready to send: Have not seen gnome-desktop yet and would like to add śome more as gdm / eog...

Time for zzz

Andreas

[1] https://pypi.org/project/which/
[2] https://code.foxkit.us/adelie/packages/blob/f2b5773da19ab397fbe64fd32dacc383cfe4cd77/user/mozjs/python3.patch
[3] https://github.com/schnitzeltony/meta-openembedded/tree/work-2019-05

#7 lore raw
Quoted 63 lines · Andreas Müller
Quoted 42 lines · Khem Raj
Quoted 32 lines · Andreas Müller
Quoted 25 lines · Khem Raj
Quoted 14 lines · Andreas Müller
Quoted 12 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8587370567e7f2f398ae1efa77989b1110d15a77
Author: Khem Raj <[email protected]>
AuthorDate: Tue May 21 23:27:16 2019 -0700

mozjs: Upgrade to version 60.x

Quoted 8 lines

Haven't found this on mailing list so:

I ve done similar here and I saw that

* musl patch can go (tested)
* polkit needs update - current version requires mozjs 52.x (shall I send the patch I have already?)

Quoted 5 lines

Please do. I am currently trying to upgrade polkit to 0.116 which should work with
spidermonkey 60.x so if you have patches please send, I would be happy to give them a shot.

Quoted 7 lines

That might take till weekend: am sitting on 60+ patches not quite ready for the wild. So I have to rebase (and test).

Ahh - and after staring python2 crusade accidentally: If you give me a bit more time I would create a patch to move mozjs build to python3. Found a patch which is a good base to steel from.

Quoted 6 lines

OK. I have it compiling and working on rpi3 and qemux86-64 see top 4 patches
https://git.openembedded.org/meta-openembedded-contrib/log/?h=yoe/mut

Let me know what you think

Seems you chose same way as I did: add necessary python dependencies. Now after recent discussion about python2 I don't like this way. E.g python-which has seen last release in 2010 [1] and does not build for python3.

By looking into the python3 patch for mozjs [2] I found that mozjs ships the python scripts required (and I think much more). Seems we do not set it up properly so that it cannot find them.

My target for mozjs is:
Use the python-scripts found in mozjs 'third_party' folder, patch them for python3 and don't add python-native recipes.

Quoted 9 lines

Suggestion:
* If you are under pressure for this issue for other recipes: Take your patches - I can make those modifications on top later.
* If there is no pressure just give me a bit of time

And finally: Maybe we do same in parallel. To avoid double efforts: My WIP is at [3] As said it is not ready to send: Have not seen gnome-desktop yet and would like to add śome more as gdm / eog...

Not in hurry here
I will like to run CI on what we have today so we can see some other unknown issues
Meanwhile if you can cook your changes on top if the series I sent then we can tackle
it incrementally.

Quoted 7 lines

Time for zzz

Andreas

[1] https://pypi.org/project/which/
[2] https://code.foxkit.us/adelie/packages/blob/f2b5773da19ab397fbe64fd32dacc383cfe4cd77/user/mozjs/python3.patch
[3] https://github.com/schnitzeltony/meta-openembedded/tree/work-2019-05

A message that is not in the archive (sent off-list or not yet received): [email protected]

#9 lore raw

Re: [oe-commits] [meta-openembedded] 08/09: networkmanager: Update to 1.18.0

Quoted 10 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8ac5fe0ca3d32e2cf6be7555c1f84dba9106f96c
Author: Andrei Gherzan <[email protected]>
AuthorDate: Wed May 22 14:13:45 2019 +0100

Quoted 8 lines

networkmanager: Update to 1.18.0

One patch was dropped (0003-dlopen-failure.patch) as a similar one was merged upstream. See:
https://github.com/NetworkManager/NetworkManager/commit/bd4957fcd78a0e64d26459e94ab3b84c91cd6f5f

Wanted to do same but did not yet because of [1]: --with-libnm-glib was removed. That means

* PACKAGECONFIG[glib] has to go
* bbappend in meta-oe has to go
* maybe glib-2.0 must be an unconditional dependency
* please check if network-manager-applet builds (that required PACKAGECONFIG[glib]) set in the past

[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/5801f89f4d1464fc15cb1d97755b73f9f68cb2e6

And if you really have nothing to do with your time - you might want to move to meson build (please don't consider this as blocker)

Cheers

Andreas

#10 lore raw

Re: [oe-commits] [meta-openembedded] 08/09: networkmanager: Update to 1.18.0

Quoted 29 lines · Andreas Müller
Quoted 10 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8ac5fe0ca3d32e2cf6be7555c1f84dba9106f96c
Author: Andrei Gherzan <[email protected]>
AuthorDate: Wed May 22 14:13:45 2019 +0100

Quoted 8 lines

networkmanager: Update to 1.18.0

One patch was dropped (0003-dlopen-failure.patch) as a similar one was merged upstream. See:
https://github.com/NetworkManager/NetworkManager/commit/bd4957fcd78a0e64d26459e94ab3b84c91cd6f5f

Wanted to do same but did not yet because of [1]: --with-libnm-glib was removed. That means

* PACKAGECONFIG[glib] has to go
* bbappend in meta-oe has to go
* maybe glib-2.0 must be an unconditional dependency
* please check if network-manager-applet builds (that required PACKAGECONFIG[glib]) set in the past

Quoted 5 lines

[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/5801f89f4d1464fc15cb1d97755b73f9f68cb2e6

And if you really have nothing to do with your time - you might want to move to meson build (please don't consider this as blocker)

Thansk, I have dropped this from master-next

Quoted 8 lines

Cheers

Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#11 lore raw

Re: [oe-commits] [meta-openembedded] 08/09: networkmanager: Update to 1.18.0

In reply to Andreas Müller
Quoted 17 lines · Andreas Müller
Quoted 16 lines · On Wed, May 22, 2019 at 5:50 PM <[email protected]> wrote:

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 8ac5fe0ca3d32e2cf6be7555c1f84dba9106f96c
Author: Andrei Gherzan <[email protected]>
AuthorDate: Wed May 22 14:13:45 2019 +0100

networkmanager: Update to 1.18.0

One patch was dropped (0003-dlopen-failure.patch) as a similar one was merged upstream. See:
https://github.com/NetworkManager/NetworkManager/commit/bd4957fcd78a0e64d26459e94ab3b84c91cd6f5f

Quoted 8 lines
Quoted 2 lines

Wanted to do same but did not yet because of [1]: --with-libnm-glib was removed. That means

* PACKAGECONFIG[glib] has to go
* bbappend in meta-oe has to go
* maybe glib-2.0 must be an unconditional dependency

glib-2.0 has always been an unconditional runtime as well as an indirect build dependency.

PACKAGECONFIG[glib] was building the libnm-glib library that had been deprecated since NetworkManager 1.0.

Quoted 2 lines

* please check if network-manager-applet builds (that required PACKAGECONFIG[glib]) set in the past
...

network-manager-applet needs it only for building the libnm-gtk library, which meta-gnome stopped building 2 months ago.

Quoted 3 lines

Cheers

Andreas

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed