package/polkit: bump version to 1.105
PATCH 1/1 package/polkit: bump version to 1.105
Fixes build issue with network-manager package when polkit package is enabled.
--- package/polkit/polkit.hash | 2 +- package/polkit/polkit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/polkit/polkit.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 36607c8ce576980ee55bd12bab1944f13217eb8e9d04ab56022545861ece3bc5 polkit-0.103.tar.gz +sha256 8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df polkit-0.103.tar.gz
package/polkit/polkit.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -POLKIT_VERSION = 0.103 +POLKIT_VERSION = 0.105 POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases POLKIT_LICENSE = GPL-2.0 POLKIT_LICENSE_FILES = COPYING
Signature · 1 line
2.17.1
PATCH 1/1 package/polkit: bump version to 1.105
Hello,
Quoted 4 lines · Artem Panfilov
Fixes build issue with network-manager package when polkit package is enabled.
Signed-off-by Artem Panfilov <[email protected]>
Is this version still independent from the Javascript stuff that newer versions need ? I thought we were stuck to 0.103 because of the dependency of newer versions on MozJS.
Could you comment on this ?
Also, do you have a defconfig that exhibits the issue. I'm surprised our autobuilders haven't found any build issue.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/polkit: bump version to 1.105
Quoted 3 lines
Is this version still independent from the Javascript stuff that newer versions need ? I thought we were stuck to 0.103 because of the dependency of newer versions on MozJS.
Could you please provide name of the package which depends on polkit?
Quoted 2 lines
Also, do you have a defconfig that exhibits the issue. I'm surprised our autobuilders haven't found any build issue.
defconfig used for build:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
BR2_PACKAGE_NETWORK_MANAGER=y
BR2_PACKAGE_SYSTEMD_POLKIT=y
This is build output:
? CCLD???? clients/cli/nmcliclients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users':
nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference to polkit_unix_user_get_name' clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function initiate_authentication':
nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name'
collect2: error: ld returned 1 exit status
Thanks!
Quoted 19 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Artem Panfilov
Fixes build issue with network-manager package when polkit package is enabled.
Signed-off-by Artem Panfilov <[email protected]>Is this version still independent from the Javascript stuff that newer versions need ? I thought we were stuck to 0.103 because of the dependency of newer versions on MozJS.
Could you comment on this ?
Also, do you have a defconfig that exhibits the issue. I'm surprised our autobuilders haven't found any build issue.
Thanks!
Thomas
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 package/polkit: bump version to 1.105
Hello,
(Now with the mailing list in Cc)
Quoted 5 lines · tema
Quoted 3 lines
Is this version still independent from the Javascript stuff that newer versions need ? I thought we were stuck to 0.103 because of the dependency of newer versions on MozJS.
Could you please provide name of the package which depends on polkit?
Sorry, I don't get your question. My point is that recent versions of Polkit require a Javascript interpreter, and this Javascript interpreter is not packaged in Buildroot yet, and is a pain to package. There were some effort a few years ago to achieve this, but it was never completed.
Quoted 15 lines
Quoted 2 lines
Also, do you have a defconfig that exhibits the issue. I'm surprised our autobuilders haven't found any build issue.
defconfig used for build:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
BR2_PACKAGE_NETWORK_MANAGER=y
BR2_PACKAGE_SYSTEMD_POLKIT=y
Quoted 7 lines
This is build output:
CCLD clients/cli/nmcliclients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users':
nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference topolkit_unix_user_get_name' clients/common/clients_cli_nmcli-nm-polkit-listener.o: In functioninitiate_authentication':
nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name'
collect2: error: ld returned 1 exit status
Thanks, I'll try this out!
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/polkit: bump version to 1.105
Quoted 5 lines
Sorry, I don't get your question. My point is that recent versions of Polkit require a Javascript interpreter, and this Javascript interpreter is not packaged in Buildroot yet, and is a pain to package. There were some effort a few years ago to achieve this, but it was never completed.
mozjs build requirement was added in 0.106 version.
Quoted 41 lines · Thomas Petazzoni
Hello,
(Now with the mailing list in Cc)
Quoted 4 lines · tema
Quoted 3 lines
Is this version still independent from the Javascript stuff that newer versions need ? I thought we were stuck to 0.103 because of the dependency of newer versions on MozJS.
Could you please provide name of the package which depends on polkit?
Sorry, I don't get your question. My point is that recent versions of Polkit require a Javascript interpreter, and this Javascript interpreter is not packaged in Buildroot yet, and is a pain to package. There were some effort a few years ago to achieve this, but it was never completed.
Quoted 14 lines
Quoted 2 lines
Also, do you have a defconfig that exhibits the issue. I'm surprised our autobuilders haven't found any build issue.
defconfig used for build:
BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="socfpga"
BR2_PACKAGE_NETWORK_MANAGER=y
BR2_PACKAGE_SYSTEMD_POLKIT=yQuoted 7 lines
This is build output:
CCLD clients/cli/nmcliclients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users':
nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference topolkit_unix_user_get_name' clients/common/clients_cli_nmcli-nm-polkit-listener.o: In functioninitiate_authentication':
nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name'
collect2: error: ld returned 1 exit statusThanks, I'll try this out!
Best regards,
Thomas
Thomas Petazzoni
AppliedPATCH 1/1 package/polkit: bump version to 1.105
In reply to Artem PanfilovHello Artem,
Quoted 8 lines · Artem Panfilov
Fixes build issue with network-manager package when polkit package is enabled.
Signed-off-by Artem Panfilov <[email protected]>--- package/polkit/polkit.hash | 2 +- package/polkit/polkit.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
I've applied to master. However, your change to the .hash file was wrong, and it couldn't build with it:
ERROR: No hash found for polkit-0.105.tar.gz
make[1]: *** [package/pkg-generic.mk:138: /home/thomas/projets/buildroot/output/build/polkit-0.105/.stamp_downloaded] Error 1
make: *** [Makefile:79: _all] Error 2
Indeed, you changed the hash, but not the name of the tarball.
I've fixed that up, and also extended the commit log with more details.
Thanks a lot for this contribution!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com