| Message ID | 20251020023955.2962-3-liuyd.fnst@fujitsu.com |
|---|---|
| State | Accepted, archived |
| Commit | 0294c265a1f662e2b68b3a462da113cfa835485b |
| Headers | show |
| Series | kea: Fix EXTRA_OE config to EXTRA_OEMESON and installation umask of meson | expand |
Thanks, this patchset is good. Alex On Mon, 20 Oct 2025 at 04:40, Yiding Liu (Fujitsu) via lists.openembedded.org <liuyd.fnst=fujitsu.com@lists.openembedded.org> wrote: > > The default installation umask is 0027 for Kea-built artifacts. > > And it caused package conflicts as following: > Error: Transaction test error: > file /usr/lib/pkgconfig conflicts between attempted installs of kea-dev-3.0.1-r0.x86_64_v3 and btrfs-tools-dev-6.16-r0.x86_64_v3 > file /usr/lib/pkgconfig conflicts between attempted installs of libgcrypt-dev-1.11.2-r0.x86_64_v3 and kea-dev-3.0.1-r0.x86_64_v3 > > I submitted an issue to the upstream and found upstream alreadly known this issue. > https://gitlab.isc.org/isc-projects/kea/-/issues/4171 > https://gitlab.isc.org/isc-projects/kea/-/issues/3993 > > Then I follow the method in the SPEC file of upstream to fix this problem in Yocto. > https://gitlab.isc.org/isc-projects/kea-packaging/-/blob/master/rpm/kea.spec?ref_type=heads > meson setup build \ > --buildtype release \ > --install-umask 0022 \ > --bindir %{_bindir} \ > > Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> > --- > meta/recipes-connectivity/kea/kea_3.0.1.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb > index 06f1a5edc3..4a6623f94a 100644 > --- a/meta/recipes-connectivity/kea/kea_3.0.1.bb > +++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb > @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a > > inherit meson pkgconfig systemd update-rc.d upstream-version-is-even > > -EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled" > +EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled --install-umask=0022" > > INITSCRIPT_NAME = "kea-dhcp4-server" > INITSCRIPT_PARAMS = "defaults 30" > -- > 2.43.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#225092): https://lists.openembedded.org/g/openembedded-core/message/225092 > Mute This Topic: https://lists.openembedded.org/mt/115848091/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/recipes-connectivity/kea/kea_3.0.1.bb b/meta/recipes-connectivity/kea/kea_3.0.1.bb index 06f1a5edc3..4a6623f94a 100644 --- a/meta/recipes-connectivity/kea/kea_3.0.1.bb +++ b/meta/recipes-connectivity/kea/kea_3.0.1.bb @@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "ec84fec4bb7f6b9d15a82e755a571e9348eb4d6fbc62bb3f6f1296cd7a inherit meson pkgconfig systemd update-rc.d upstream-version-is-even -EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled" +EXTRA_OEMESON += "-Dcrypto=openssl -Drunstatedir=${runtimedir} -Dkrb5=disabled -Dnetconf=disabled --install-umask=0022" INITSCRIPT_NAME = "kea-dhcp4-server" INITSCRIPT_PARAMS = "defaults 30"
The default installation umask is 0027 for Kea-built artifacts. And it caused package conflicts as following: Error: Transaction test error: file /usr/lib/pkgconfig conflicts between attempted installs of kea-dev-3.0.1-r0.x86_64_v3 and btrfs-tools-dev-6.16-r0.x86_64_v3 file /usr/lib/pkgconfig conflicts between attempted installs of libgcrypt-dev-1.11.2-r0.x86_64_v3 and kea-dev-3.0.1-r0.x86_64_v3 I submitted an issue to the upstream and found upstream alreadly known this issue. https://gitlab.isc.org/isc-projects/kea/-/issues/4171 https://gitlab.isc.org/isc-projects/kea/-/issues/3993 Then I follow the method in the SPEC file of upstream to fix this problem in Yocto. https://gitlab.isc.org/isc-projects/kea-packaging/-/blob/master/rpm/kea.spec?ref_type=heads meson setup build \ --buildtype release \ --install-umask 0022 \ --bindir %{_bindir} \ Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> --- meta/recipes-connectivity/kea/kea_3.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)