Skip to contentSkip to conversation

package/polkit: bump version to 1.105

PATCH New Artem Panfilov 2 participants 6 messages Aug 1, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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
index 5e133b43e2..b4a1a854c5 100644
@@ -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
index e283181427..fb4c171c52 100644
@@ -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
#1 lore raw

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.

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
author
#2 lore raw

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/nmcli
clients/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.

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]

#4 lore raw

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/nmcli
clients/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, 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
#5 lore raw

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=y

Quoted 7 lines

This is build output:
CCLD clients/cli/nmcli
clients/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, I'll try this out!

Best regards,

Thomas

#6 lore raw

PATCH 1/1 package/polkit: bump version to 1.105

In reply to Artem Panfilov

Hello Artem,

Quoted 8 lines · Artem Panfilov

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(-)

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