libdev-checklib-perl: upgrade 1.14 -> 1.16
PATCH 1/1 libdev-checklib-perl: upgrade 1.14 -> 1.16
0001-CheckLib.pm-don-t-execute-the-binary.patch
refreshed for new version.
---
...CheckLib.pm-don-t-execute-the-binary.patch | 20 +++++++++----------
...l_1.14.bb => libdev-checklib-perl_1.16.bb} | 3 +--
2 files changed, 11 insertions(+), 12 deletions(-)
rename meta-oe/recipes-devtools/perl/{libdev-checklib-perl_1.14.bb => libdev-checklib-perl_1.16.bb} (87%)meta-oe/recipes-devtools/perl/libdev-checklib-perl/0001-CheckLib.pm-don-t-execute-the-binary.patch +10 -10
@@ -29,18 +29,18 @@ Signed-off-by: Mingli Yu <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Devel/CheckLib.pm b/lib/Devel/CheckLib.pm -index e45cfb4..d228bb5 100644 +index 2e5a252..5c2f0b0 100644 --- a/lib/Devel/CheckLib.pm +++ b/lib/Devel/CheckLib.pm -@@ -424,7 +424,7 @@ sub assert_lib { - my $absexefile = File::Spec->rel2abs($exefile); - $absexefile = '"'.$absexefile.'"' if $absexefile =~ m/\s/; - if (!$not_execute && system($absexefile) != 0) { -- push @wrongresult, $lib; -+ print "Checking the lib $lib\n"; +@@ -403,7 +403,7 @@ sub assert_lib { + if ($execute) { + my $retval = system($absexefile); + warn "# return value: $retval\n" if $args{debug}; +- push @wrongresult, $lib if $retval != 0; ++ print "Checking the lib $lib\n" if $retval != 0; } - else { - if ($analyze_binary) { + push @wronganalysis, $lib + if $analyze_binary and !$analyze_binary->($lib, $exefile); -- -2.17.1 +2.25.1
meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb renamed from meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb +1 -2
@@ -11,8 +11,7 @@ LIC_FILES_CHKSUM = "file://README;md5=7911cdbb572d25c5f2e2ea17f669efc2" SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV}.tar.gz \ file://0001-CheckLib.pm-don-t-execute-the-binary.patch \ " -SRC_URI[md5sum] = "3519cbf9fe5ec3404449d5330ee5537f" -SRC_URI[sha256sum] = "f21c5e299ad3ce0fdc0cb0f41378dca85a70e8d6c9a7599f0e56a957200ec294" +SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" S = "${WORKDIR}/Devel-CheckLib-${PV}"
Signature · 1 line
2.25.1
PATCH 1/1 lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
---
.../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++---------
...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++----
...per_2.03.11.bb => libdevmapper_2.03.16.bb} | 0
meta-oe/recipes-support/lvm2/lvm2.inc | 2 +-
.../lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} | 1 +
5 files changed, 21 insertions(+), 16 deletions(-)
rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb => libdevmapper_2.03.16.bb} (100%)
rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} (99%)meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +12 -11
@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]> --- Makefile.in | 6 +++--- configure.ac | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts tools ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev
@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper +device-mapper: tools.device-mapper daemons.device-mapper + device_mapper: device-mapper ifeq ("@INTL@", "yes") - lib.pofile: include.pofile diff --git a/configure.ac b/configure.ac -index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac +++ b/configure.ac -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc
@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1
meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch +7 -4
@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]> --- scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in -index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) Requires=dm-event.socket --After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.service tmp.mount +-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target -- -2.7.4 +2.25.1
meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb +0 -0
meta-oe/recipes-support/lvm2/lvm2.inc +1 -1
@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +1 -0
@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it does not get picked # up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper" RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper"
Signature · 1 line
2.25.1
Re: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
With this version I'm seeing both lvm2 and libdevmapper failing with::
[CC] ioctl/libdevmapper.so.1.02
TOPDIR/..../12.2.0/ld: warning: using 'DM_1_02_129' as version for 'dm_bitset_parse_list' which is also named in version 'DM_1_02_138' in script
TOPDIR/..../12.2.0/ld: error: datastruct/bitset.o: multiple definition of 'dm_bitset_parse_list'
TOPDIR/..../12.2.0/ld: datastruct/bitset.o: previous definition here
anyone else seeing the same?
Quoted 185 lines · wangmy
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
Signed-off-by Wang Mingyu <[email protected]>--- .../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++--------- ...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++---- ...per_2.03.11.bb => libdevmapper_2.03.16.bb} | 0 meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- .../lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} | 1 + 5 files changed, 21 insertions(+), 16 deletions(-) rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb => libdevmapper_2.03.16.bb} (100%) rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb}(99%)
diff --git
a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchb/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchindex7117d99a39..7979efbefb100644meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +8
-7@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]> --- Makefile.in | 6 +++--- configure.ac | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts tools ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapperman.device-mapper
+device-mapper: tools.device-mapper daemons.device-mapper
+device_mapper: device-mapperifeq ("@INTL@", "yes")
- lib.pofile: include.pofile
diff --git a/configure.ac b/configure.acmeta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-3-index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac +++ b/configure.ac -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1diff --git
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchb/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchindex9f9383ef48..5b9b2d5748100644
---a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
+++b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchmeta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-0@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]> --- scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.inb/scripts/lvm2_monitoring_systemd_red_hat.service.in
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +1
-1-index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd orprogress polling
Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8)
man:vgchange(8)
Requires=dm-event.socket
--After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.service tmp.mount +-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount
Before=local-fs-pre.target shutdown.target DefaultDependencies=no
Conflicts=shutdown.target
--
-2.7.4
+2.25.1meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb +0
-0meta-oe/recipes-support/lvm2/lvm2.inc +1
-1@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git"
UPSTREAM_CHECK_GITTAGREGEX= "v(?P<pver>\d+(\_\d+)+)"meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +0
-0@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it does notget picked
# up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper" RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" -- 2.25.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#98676):
https://lists.openembedded.org/g/openembedded-devel/message/98676
Mute This Topic: https://lists.openembedded.org/mt/93495342/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
Quoted 9 lines · Martin Jansa
With this version I'm seeing both lvm2 and libdevmapper failing with::
[CC] ioctl/libdevmapper.so.1.02TOPDIR/..../12.2.0/ld: warning: using '
DM_1_02_129' as version for 'dm_bitset_parse_list' which is also named in version 'DM_1_02_138' in script TOPDIR/..../12.2.0/ld: error:datastruct/bitset.o: multiple definition of 'dm_bitset_parse_list'
TOPDIR/..../12.2.0/ld:datastruct/bitset.o: previous definition hereanyone else seeing the same?
This is something that gold linker might catch. Are you using gold linker ? secondly just try with ld.bfd and see if it works. That atleast will put some sanity into
why my builders or AB did not see it.
Quoted 171 lines · wangmy
Quoted 155 lines
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
Signed-off-by Wang Mingyu <[email protected]>--- .../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++--------- ...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++---- ...per_2.03.11.bb => libdevmapper_2.03.16.bb} | 0 meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- .../lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} | 1 + 5 files changed, 21 insertions(+), 16 deletions(-) rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb => libdevmapper_2.03.16.bb} (100%) rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} (99%)meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +12
-11@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]> --- Makefile.in | 6 +++--- configure.ac | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts tools ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper +device-mapper: tools.device-mapper daemons.device-mapper + device_mapper: device-mapper ifeq ("@INTL@", "yes") - lib.pofile: include.pofile diff --git a/configure.ac b/configure.ac -index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac +++ b/configure.ac -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch +7
-4@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]> --- scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in -index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) Requires=dm-event.socket --After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.service tmp.mount +-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target -- -2.7.4 +2.25.1meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb +0
-0meta-oe/recipes-support/lvm2/lvm2.inc +1
-1@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +1
-1@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it does not get picked # up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper" RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" --Quoted 5 lines
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98732): https://lists.openembedded.org/g/openembedded-devel/message/98732
Mute This Topic: https://lists.openembedded.org/mt/93495342/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
Yes, you're right, it's reproducible only with ld-is-gold and LDFLAGS += "-fuse-ld=bfd"
resolves this error.
It's caused by dm_bitset_parse_list uncommented
in libdm/.exported_symbols.DM_1_02_129:
https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab
Quoted 212 lines · Khem Raj
Quoted 5 lines · Martin Jansa
With this version I'm seeing both lvm2 and libdevmapper failing with::
[CC] ioctl/libdevmapper.so.1.02TOPDIR/..../12.2.0/ld: warning: using '
DM_1_02_129' as version for'
dm_bitset_parse_list' which is also named in version 'DM_1_02_138' in scriptQuoted 1 line
TOPDIR/..../12.2.0/ld: error:
datastruct/bitset.o: multiple definitionof '
dm_bitset_parse_list'Quoted 3 lines
TOPDIR/..../12.2.0/ld:
datastruct/bitset.o: previous definition hereanyone else seeing the same?
This is something that gold linker might catch. Are you using gold linker ? secondly just try with ld.bfd and see if it works. That atleast will put some sanity into
why my builders or AB did not see it.Quoted 9 lines · wangmy
Quoted 7 lines
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
Quoted 9 lines
Quoted 9 lines
Signed-off-by Wang Mingyu <[email protected]>--- .../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++--------- ...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++---- ...per_2.03.11.bb => libdevmapper_2.03.16.bb} | 0 meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- .../lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} | 1 + 5 files changed, 21 insertions(+), 16 deletions(-) rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb =>libdevmapper_2.03.16.bb} (100%)
Quoted 1 line
Quoted 1 line
rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb =>lvm2_2.03.16.bb} (99%)
Quoted 2 lines
Quoted 2 lines
diff --git
a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchb/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchQuoted 33 lines
Quoted 33 lines
index
7117d99a39..7979efbefb100644meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +6
-5@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]> --- Makefile.in | 6 +++--- configure.ac | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts toolsQuoted 13 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch index 6a1a990..80cba91 100644 · line 54
Quoted 13 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +2
-2ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapperman.device-mapper
Quoted 22 lines
Quoted 22 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +4
-4+device-mapper: tools.device-mapper daemons.device-mapper + device_mapper: device-mapper ifeq ("@INTL@", "yes") - lib.pofile: include.pofile diff --git a/configure.ac b/configure.ac -index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac +++ b/configure.ac -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1Quoted 1 line
Quoted 1 line
diff --git
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchb/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 2 lines
Quoted 2 lines
index
9f9383ef48..5b9b2d5748100644
---
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 1 line
Quoted 1 line
+++
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 11 lines
Quoted 11 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-0@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]> --- scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 21
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-0diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.inb/scripts/lvm2_monitoring_systemd_red_hat.service.in
Quoted 6 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 26
Quoted 6 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +1
-1-index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventdor progress polling
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 27
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-0Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8)man:vgchange(8)
Quoted 3 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 27
Quoted 3 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-2Requires=dm-event.socket --After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.servicetmp.mount
Quoted 10 lines
Review
Quoted 10 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-1+-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target -- -2.7.4 +2.25.1(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb
Quoted 4 lines
Review
Quoted 4 lines
similarity index 100%
rename from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb rename to meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/lvm2.inc
Quoted 4 lines
meta-oe/recipes-support/lvm2/lvm2.inc SRC_URI = "git://
Quoted 4 lines
index
0c593b2042..34e57ec7a5100644meta-oe/recipes-support/lvm2/lvm2.inc +0
-0@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
Quoted 9 lines
Review
Quoted 9 lines
meta-oe/recipes-support/lvm2/lvm2.inc +1
-1file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb
Quoted 8 lines
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb FILES:${PN}-scripts = " \ · line 68
Quoted 8 lines
similarity index 99%
rename from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb rename to meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb indexa729324c9b..6a6cdc7cef100644meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +0
-0@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it doesnot get picked
Quoted 13 lines
Quoted 7 lines
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +1
-1# up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper" RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" --Quoted 5 lines
2.25.1
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#98732):https://lists.openembedded.org/g/openembedded-devel/message/98732
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/93495342/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
Patch sent for the issue with gold.
wangmy: why did you add bash to RDEPENDS?
Couple years ago it was patched to avoid bashisms and runtime dependency on bash:
https://git.openembedded.org/meta-openembedded/commit/?id=af279a8e746ba80e4811751ba6ede3519cd71b3c
I guess it was because of:
ERROR: lvm2-2.03.16-r0 do_package_qa: QA Issue: /usr/sbin/lvm_import_vdo contained in package lvm2 requires /bin/bash, but no providers found in RDEPENDS:lvm2? [file-rdeps]
but can we move lvm_import_vdo to PN-scripts (which already rdepends on bash) or avoid bash here as well?
it was added in
https://github.com/lvmteam/lvm2/commit/ed48cb26a31e8e5a12d82d96d8bec6bfc4d5b218
and later renamed in
https://github.com/lvmteam/lvm2/commit/bbbd4fed69d88e67678994cb611d082d27bb774b
Regards,
Quoted 227 lines · Martin Jansa via lists.openembedded.org
Yes, you're right, it's reproducible only with ld-is-gold and LDFLAGS += "-fuse-ld=bfd"
resolves this error.It's caused by
dm_bitset_parse_listuncommented
in libdm/.exported_symbols.DM_1_02_129:https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab
Quoted 179 lines · Khem Raj
Quoted 5 lines · Martin Jansa
With this version I'm seeing both lvm2 and libdevmapper failing with::
[CC] ioctl/libdevmapper.so.1.02TOPDIR/..../12.2.0/ld: warning: using '
DM_1_02_129' as version for'
dm_bitset_parse_list' which is also named in version 'DM_1_02_138' in scriptQuoted 1 line
TOPDIR/..../12.2.0/ld: error:
datastruct/bitset.o: multiple definitionof '
dm_bitset_parse_list'Quoted 3 lines
TOPDIR/..../12.2.0/ld:
datastruct/bitset.o: previous definition hereanyone else seeing the same?
This is something that gold linker might catch. Are you using gold linker ? secondly just try with ld.bfd and see if it works. That atleast will put some sanity into
why my builders or AB did not see it.Quoted 9 lines · wangmy
Quoted 7 lines
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
Quoted 9 lines
Quoted 9 lines
Signed-off-by Wang Mingyu <[email protected]>--- .../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++--------- ...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++---- ...per_2.03.11.bb => libdevmapper_2.03.16.bb} | 0 meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- .../lvm2/{lvm2_2.03.11.bb => lvm2_2.03.16.bb} | 1 + 5 files changed, 21 insertions(+), 16 deletions(-) rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb =>libdevmapper_2.03.16.bb} (100%)
Quoted 1 line
Quoted 1 line
rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb =>lvm2_2.03.16.bb} (99%)
Quoted 2 lines
Quoted 2 lines
diff --git
a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchb/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patchQuoted 33 lines
Quoted 33 lines
index
7117d99a39..7979efbefb100644meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +6
-5@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]> --- Makefile.in | 6 +++--- configure.ac | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts toolsQuoted 13 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch index 6a1a990..80cba91 100644 · line 54
Quoted 13 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +2
-2ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapperman.device-mapper
Quoted 22 lines
Quoted 22 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +4
-4+device-mapper: tools.device-mapper daemons.device-mapper + device_mapper: device-mapper ifeq ("@INTL@", "yes") - lib.pofile: include.pofile diff --git a/configure.ac b/configure.ac -index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac +++ b/configure.ac -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1Quoted 1 line
Quoted 1 line
diff --git
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchb/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 2 lines
Quoted 2 lines
index
9f9383ef48..5b9b2d5748100644
---
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 1 line
Quoted 1 line
+++
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patchQuoted 11 lines
Quoted 11 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-0@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]> --- scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 21
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-0diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.inb/scripts/lvm2_monitoring_systemd_red_hat.service.in
Quoted 6 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 26
Quoted 6 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +1
-1-index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. usingdmeventd or progress polling
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 27
Quoted 1 line
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-0Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8)man:vgchange(8)
Quoted 3 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch Upstream-Status: Inappropriate [oe specific] · line 27
Quoted 3 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +0
-2Requires=dm-event.socket --After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.servicetmp.mount
Quoted 10 lines
Review
Quoted 10 lines
meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +3
-1+-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target -- -2.7.4 +2.25.1(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb
Quoted 4 lines
Review
Quoted 4 lines
similarity index 100%
rename from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb rename to meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/lvm2.inc
Quoted 4 lines
meta-oe/recipes-support/lvm2/lvm2.inc SRC_URI = "git://
Quoted 4 lines
index
0c593b2042..34e57ec7a5100644meta-oe/recipes-support/lvm2/lvm2.inc +0
-0@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
Quoted 9 lines
Review
Quoted 9 lines
meta-oe/recipes-support/lvm2/lvm2.inc +1
-1file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"(quoted diff) +0
-0b/meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb
Quoted 25 lines
Quoted 8 lines
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb FILES:${PN}-scripts = " \ · line 68
Quoted 8 lines
similarity index 99%
rename from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb rename to meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb indexa729324c9b..6a6cdc7cef100644meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +0
-0@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it doesnot get picked
Quoted 15 lines
Quoted 12 lines
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb +1
-1# up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper" RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#98736):
https://lists.openembedded.org/g/openembedded-devel/message/98736
Mute This Topic: https://lists.openembedded.org/mt/93495342/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
RE: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
Thank you very much for telling us the whole story.
When I updated the version, I found that bash was needed. According to the usual practice, I added bash directly, without conducting an investigation into this problem. I will confirm this problem and make appropriate solutions in case of similar situations in the future
--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]<mailto:[email protected]>
http://www.fujitsu.com/cn/fnst/
From: Martin Jansa <[email protected]>
Sent: Monday, September 12, 2022 3:23 AM
To: [email protected]
Cc: Khem Raj <[email protected]>; Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [oe] [meta-oe] [PATCH] lvm2/libdevmapper: upgrade 2.03.11 -> 2.03.16
Patch sent for the issue with gold.
wangmy: why did you add bash to RDEPENDS?
Couple years ago it was patched to avoid bashisms and runtime dependency on bash:
https://git.openembedded.org/meta-openembedded/commit/?id=af279a8e746ba80e4811751ba6ede3519cd71b3c
I guess it was because of:
ERROR: lvm2-2.03.16-r0 do_package_qa: QA Issue: /usr/sbin/lvm_import_vdo contained in package lvm2 requires /bin/bash, but no providers found in RDEPENDS:lvm2? [file-rdeps]
but can we move lvm_import_vdo to PN-scripts (which already rdepends on bash) or avoid bash here as well?
it was added in https://github.com/lvmteam/lvm2/commit/ed48cb26a31e8e5a12d82d96d8bec6bfc4d5b218 and later renamed in https://github.com/lvmteam/lvm2/commit/bbbd4fed69d88e67678994cb611d082d27bb774b
Regards,
On Sun, Sep 11, 2022 at 9:03 PM Martin Jansa via lists.openembedded.org<http://lists.openembedded.org> <[email protected]<mailto:[email protected]>> wrote:
Yes, you're right, it's reproducible only with ld-is-gold and
LDFLAGS += "-fuse-ld=bfd"
resolves this error.
It's caused by dm_bitset_parse_list uncommented in libdm/.exported_symbols.DM_1_02_129:
https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab
On Sat, Sep 10, 2022 at 4:51 PM Khem Raj <[email protected]<mailto:[email protected]>> wrote:
Quoted 9 lines · On Sat, Sep 10, 2022 at 1:09 AM Martin Jansa…
With this version I'm seeing both lvm2 and libdevmapper failing with::
[CC] ioctl/libdevmapper.so.1.02TOPDIR/..../12.2.0/ld: warning: using '
DM_1_02_129' as version for 'dm_bitset_parse_list' which is also named in version 'DM_1_02_138' in script TOPDIR/..../12.2.0/ld: error:datastruct/bitset.o: multiple definition of 'dm_bitset_parse_list'
TOPDIR/..../12.2.0/ld:datastruct/bitset.o: previous definition hereanyone else seeing the same?
This is something that gold linker might catch. Are you using gold linker ? secondly just try with ld.bfd and see if it works. That atleast will put some sanity into
why my builders or AB did not see it.
Quoted 154 lines · On Tue, Sep 6, 2022 at 7:32 AM wangmy <[email protected]<mailto:wangmy@fujitsu…
Quoted 152 lines
0005-do-not-build-manual.patch 0006-start-lvm2-monitor.service-after-tmp.mount.patch refreshed for new version.
Add bash to RDEPENDS.
--- .../lvm2/files/0005-do-not-build-manual.patch | 23 ++++++++++--------- ...lvm2-monitor.service-after-tmp.mount.patch | 11 +++++---- ...per_2.03.11.bb<http://per_2.03.11.bb> => libdevmapper_2.03.16.bb<http://libdevmapper_2.03.16.bb>} | 0 meta-oe/recipes-support/lvm2/lvm2.inc | 2 +- .../lvm2/{lvm2_2.03.11.bb<http://lvm2_2.03.11.bb> => lvm2_2.03.16.bb<http://lvm2_2.03.16.bb>} | 1 + 5 files changed, 21 insertions(+), 16 deletions(-) rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.11.bb<http://libdevmapper_2.03.11.bb> => libdevmapper_2.03.16.bb<http://libdevmapper_2.03.16.bb>} (100%) rename meta-oe/recipes-support/lvm2/{lvm2_2.03.11.bb<http://lvm2_2.03.11.bb> => lvm2_2.03.16.bb<http://lvm2_2.03.16.bb>} (99%)meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +12
-11@@ -15,25 +15,26 @@ Upstream-Status: Pending Signed-off-by: Hongxu Jia <[email protected]<mailto:[email protected]>> - Update context for lvm2 2.03.02. - Signed-off-by: Kai Kang <[email protected]<mailto:[email protected]>> + +Update context for lvm2 2.03.16. +Signed-off-by: Wang Mingyu <[email protected]<mailto:[email protected]>> --- Makefile.in | 6 +++--- configure.ac<http://configure.ac> | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in -index 6a1a990..80cba91 100644 +index 3b7e0ec..37f14eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ top_builddir = @top_builddir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ --SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools -+SUBDIRS = conf daemons include lib libdaemon libdm scripts tools +-SUBDIRS = libdm conf daemons include lib libdaemon man scripts tools ++SUBDIRS = libdm conf daemons include lib libdaemon scripts tools ifeq ("@UDEV_RULES@", "yes") SUBDIRS += udev@@ -46,20 +47,20 @@ index 6a1a990..80cba91 100644 libdaemon lib tools daemons libdm \ udev po tools.distclean: test.distclean -@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper +@@ -59,7 +59,7 @@ unit-test run-unit-test: test + daemons.device-mapper: libdm.device-mapper tools.device-mapper: libdm.device-mapper - scripts.device-mapper: include.device-mapper -device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper +device-mapper: tools.device-mapper daemons.device-mapper + device_mapper: device-mapper ifeq ("@INTL@", "yes") - lib.pofile: include.pofile diff --git a/configure.ac<http://configure.ac> b/configure.ac<http://configure.ac> -index 7fd0561..4154dc0 100644 +index 6def519..18a5c97 100644 --- a/configure.ac<http://configure.ac> +++ b/configure.ac<http://configure.ac> -@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile +@@ -2018,7 +2018,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc@@ -68,5 +69,5 @@ index 7fd0561..4154dc0 100644 scripts/lvm2-pvscan.service scripts/blkdeactivate.sh -- -2.7.4 +2.25.1meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch +7
-4@@ -11,23 +11,26 @@ Upstream-Status: Inappropriate [oe specific] Rebase to v2_03_05 Signed-off-by: Hongxu Jia <[email protected]<mailto:[email protected]>> + +Rebase to v2_03_16 +Signed-off-by: Wang Mingyu <[email protected]<mailto:[email protected]>> --- scripts/lvm2_monitoring_systemd_red_hat.service.in<http://lvm2_monitoring_systemd_red_hat.service.in> | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in<http://lvm2_monitoring_systemd_red_hat.service.in> b/scripts/lvm2_monitoring_systemd_red_hat.service.in<http://lvm2_monitoring_systemd_red_hat.service.in> -index 4bf744a..46766cb 100644 +index c0c96e3..2a99a37 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in<http://lvm2_monitoring_systemd_red_hat.service.in> +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in<http://lvm2_monitoring_systemd_red_hat.service.in> @@ -2,7 +2,7 @@ Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8) Requires=dm-event.socket --After=dm-event.socket dm-event.service lvm2-activation.service -+After=dm-event.socket dm-event.service lvm2-activation.service tmp.mount +-After=dm-event.socket dm-event.service ++After=dm-event.socket dm-event.service tmp.mount Before=local-fs-pre.target shutdown.target DefaultDependencies=no Conflicts=shutdown.target -- -2.7.4 +2.25.1meta-oe/recipes-support/lvm2/libdevmapper_2.03.16.bb<http://libdevmapper_2.03.16.bb> renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb<http://libdevmapper_2.03.11.bb> +0
-0meta-oe/recipes-support/lvm2/lvm2.inc +1
-1@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main<http://sourceware.org/git/lvm2.git;branch=main> \ file://reproducible-build.patch \ " -SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" +SRCREV = "6d1e894a867681af7a811ed63bc435f3aa55fec8" S = "${WORKDIR}/git" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb<http://lvm2_2.03.16.bb> renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb<http://lvm2_2.03.11.bb> +1
-0@@ -68,6 +68,7 @@ FILES:${PN}-scripts = " \ # Specified explicitly for the udev rules, just in case that it does not get picked # up automatically: FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d" +RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-udevrules = "libdevmapper"
Quoted 11 lines
Quoted 8 lines
meta-oe/recipes-support/lvm2/lvm2_2.03.16.bb<http://lvm2_2.03.16.bb> renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb<http://lvm2_2.03.11.bb> +0
-1RDEPENDS:${PN}:append:class-target = " libdevmapper" RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98736): https://lists.openembedded.org/g/openembedded-devel/message/98736
Mute This Topic: https://lists.openembedded.org/mt/93495342/3617156
Group Owner: [email protected]<mailto:openembedded-devel%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-