Message ID | 1689296444-28141-3-git-send-email-wangmy@fujitsu.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe] wtmpdb: add new recipe | expand |
fails to build with ptests tests/tst-dlopen.p/tst-dlopen.c.o: file not recognized: file format not recognized see - https://errors.yoctoproject.org/Errors/Details/716656/ On Thu, Jul 13, 2023 at 6:01 PM wangmy <wangmy@fujitsu.com> wrote: > > From: Wang Mingyu <wangmy@fujitsu.com> > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > --- > .../recipes-extended/wtmpdb/wtmpdb_0.7.1.bb | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > new file mode 100644 > index 0000000000..c3b97b0630 > --- /dev/null > +++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > @@ -0,0 +1,30 @@ > +SUMMARY = "Y2038 safe version of wtmp" > +HOMEPAGE = "https://github.com/thkukuk/wtmpdb" > +DESCRIPTION = "last reports the login and logout times of users and when the machine got rebooted." > +LICENSE = "BSD-2-Clause" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c" > +SECTION = "libs" > + > +SRCREV = "502b19a41c7a3b1b5e70969b18088683825f71f8" > + > +SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https" > + > +S = "${WORKDIR}/git" > + > +inherit meson pkgconfig systemd > + > +DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} sqlite3 " > + > +SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service" > + > +EXTRA_OEMESON = " -Dpamlibdir=${libdir}" > + > +do_install:append () { > + # Fix makefile hardcoded path assumptions for systemd (assumes $prefix) > + # without usrmerge distro feature enabled > + install -d `dirname ${D}${systemd_unitdir}` > + mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}` > +} > + > +FILES:${PN} += " ${systemd_system_unitdir} " > +FILES:${PN} += " ${libdir} " > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#103860): https://lists.openembedded.org/g/openembedded-devel/message/103860 > Mute This Topic: https://lists.openembedded.org/mt/100132965/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Do I need to create a run-ptest to confirm the ptest? Or is there any other way to reproduce this problem? -- 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: wangmy@fujitsu.com http://www.fujitsu.com/cn/fnst/ > -----Original Message----- > From: Khem Raj <raj.khem@gmail.com> > Sent: Saturday, July 15, 2023 6:04 AM > To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com> > Cc: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-oe] [PATCH] wtmpdb: add new recipe > > fails to build with ptests > > tests/tst-dlopen.p/tst-dlopen.c.o: file not recognized: file format not recognized > > see - https://errors.yoctoproject.org/Errors/Details/716656/ > > On Thu, Jul 13, 2023 at 6:01 PM wangmy <wangmy@fujitsu.com> wrote: > > > > From: Wang Mingyu <wangmy@fujitsu.com> > > > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > > --- > > .../recipes-extended/wtmpdb/wtmpdb_0.7.1.bb | 30 > +++++++++++++++++++ > > 1 file changed, 30 insertions(+) > > create mode 100644 meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > > > diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > new file mode 100644 > > index 0000000000..c3b97b0630 > > --- /dev/null > > +++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > @@ -0,0 +1,30 @@ > > +SUMMARY = "Y2038 safe version of wtmp" > > +HOMEPAGE = "https://github.com/thkukuk/wtmpdb" > > +DESCRIPTION = "last reports the login and logout times of users and when > the machine got rebooted." > > +LICENSE = "BSD-2-Clause" > > +LIC_FILES_CHKSUM = > "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c" > > +SECTION = "libs" > > + > > +SRCREV = "502b19a41c7a3b1b5e70969b18088683825f71f8" > > + > > +SRC_URI = > "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https" > > + > > +S = "${WORKDIR}/git" > > + > > +inherit meson pkgconfig systemd > > + > > +DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} > sqlite3 " > > + > > +SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service > wtmpdb-rotate.service" > > + > > +EXTRA_OEMESON = " -Dpamlibdir=${libdir}" > > + > > +do_install:append () { > > + # Fix makefile hardcoded path assumptions for systemd (assumes > $prefix) > > + # without usrmerge distro feature enabled > > + install -d `dirname ${D}${systemd_unitdir}` > > + mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}` } > > + > > +FILES:${PN} += " ${systemd_system_unitdir} " > > +FILES:${PN} += " ${libdir} " > > -- > > 2.34.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#103860): > > https://lists.openembedded.org/g/openembedded-devel/message/103860 > > Mute This Topic: https://lists.openembedded.org/mt/100132965/1997914 > > Group Owner: openembedded-devel+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub > > [raj.khem@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > >
On Tue, Jul 18, 2023 at 1:38 AM Mingyu Wang (Fujitsu) <wangmy@fujitsu.com> wrote: > Do I need to create a run-ptest to confirm the ptest? > Or is there any other way to reproduce this problem? I am not sure since it failed to build so run-ptest was not used yet but it Might be good to have ptests supported > > > -- > Best Regards > --------------------------------------------------- > Wang Mingyu > Development Dept.I > Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, > Nanjing, 210012, China > <https://www.google.com/maps/search/Wenzhu+Road,+Nanjing,+210012,+China?entry=gmail&source=g> > TEL: +86+25-86630566-8568 > COINS: 79988548 > FAX: +86+25-83317685 > MAIL: wangmy@fujitsu.com > http://www.fujitsu.com/cn/fnst/ > > > -----Original Message----- > > From: Khem Raj <raj.khem@gmail.com> > > Sent: Saturday, July 15, 2023 6:04 AM > > To: Wang, Mingyu/王 鸣瑜 <wangmy@fujitsu.com> > > Cc: openembedded-devel@lists.openembedded.org > > Subject: Re: [oe] [meta-oe] [PATCH] wtmpdb: add new recipe > > > > fails to build with ptests > > > > tests/tst-dlopen.p/tst-dlopen.c.o: file not recognized: file format not > recognized > > > > see - https://errors.yoctoproject.org/Errors/Details/716656/ > > > > On Thu, Jul 13, 2023 at 6:01 PM wangmy <wangmy@fujitsu.com> wrote: > > > > > > From: Wang Mingyu <wangmy@fujitsu.com> > > > > > > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> > > > --- > > > .../recipes-extended/wtmpdb/wtmpdb_0.7.1.bb | 30 > > +++++++++++++++++++ > > > 1 file changed, 30 insertions(+) > > > create mode 100644 meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > > > > > diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > > b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > > new file mode 100644 > > > index 0000000000..c3b97b0630 > > > --- /dev/null > > > +++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb > > > @@ -0,0 +1,30 @@ > > > +SUMMARY = "Y2038 safe version of wtmp" > > > +HOMEPAGE = "https://github.com/thkukuk/wtmpdb" > > > +DESCRIPTION = "last reports the login and logout times of users and > when > > the machine got rebooted." > > > +LICENSE = "BSD-2-Clause" > > > +LIC_FILES_CHKSUM = > > "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c" > > > +SECTION = "libs" > > > + > > > +SRCREV = "502b19a41c7a3b1b5e70969b18088683825f71f8" > > > + > > > +SRC_URI = > > "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https" > > > + > > > +S = "${WORKDIR}/git" > > > + > > > +inherit meson pkgconfig systemd > > > + > > > +DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', > '', d)} > > sqlite3 " > > > + > > > +SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service > > wtmpdb-rotate.service" > > > + > > > +EXTRA_OEMESON = " -Dpamlibdir=${libdir}" > > > + > > > +do_install:append () { > > > + # Fix makefile hardcoded path assumptions for systemd (assumes > > $prefix) > > > + # without usrmerge distro feature enabled > > > + install -d `dirname ${D}${systemd_unitdir}` > > > + mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}` } > > > + > > > +FILES:${PN} += " ${systemd_system_unitdir} " > > > +FILES:${PN} += " ${libdir} " > > > -- > > > 2.34.1 > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > Links: You receive all messages sent to this group. > > > View/Reply Online (#103860): > > > https://lists.openembedded.org/g/openembedded-devel/message/103860 > > > Mute This Topic: https://lists.openembedded.org/mt/100132965/1997914 > > > Group Owner: openembedded-devel+owner@lists.openembedded.org > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub > > > [raj.khem@gmail.com] > > > -=-=-=-=-=-=-=-=-=-=-=- > > > >
diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb new file mode 100644 index 0000000000..c3b97b0630 --- /dev/null +++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.7.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "Y2038 safe version of wtmp" +HOMEPAGE = "https://github.com/thkukuk/wtmpdb" +DESCRIPTION = "last reports the login and logout times of users and when the machine got rebooted." +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c" +SECTION = "libs" + +SRCREV = "502b19a41c7a3b1b5e70969b18088683825f71f8" + +SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https" + +S = "${WORKDIR}/git" + +inherit meson pkgconfig systemd + +DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} sqlite3 " + +SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service" + +EXTRA_OEMESON = " -Dpamlibdir=${libdir}" + +do_install:append () { + # Fix makefile hardcoded path assumptions for systemd (assumes $prefix) + # without usrmerge distro feature enabled + install -d `dirname ${D}${systemd_unitdir}` + mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}` +} + +FILES:${PN} += " ${systemd_system_unitdir} " +FILES:${PN} += " ${libdir} "