Skip to contentSkip to conversation

yavta: Update to kernel 6.8

PATCH In review Einar Gunnarsson 4 participants 7 messages Sep 10, 2024 – Sep 14, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yavta: Update to kernel 6.8

Additional changes:
Use https protocol for git fetch
Build with meson

---
 .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +3 -15
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
           "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
 PV = "0.0"
 S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
 # Upstream repo does not tag
 UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson
Signature · 1 line
2.43.5
#1 lore raw

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

Quoted 54 lines · Einar Gunnarsson

Additional changes:
Use https protocol for git fetch
Build with meson

---
  .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
  1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +3 -16
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
  LICENSE = "GPL-2.0-only"
  LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
            "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
  PV = "0.0"
  S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
  # Upstream repo does not tag
  UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#112229): https://lists.openembedded.org/g/openembedded-devel/message/112229
Mute This Topic: https://lists.openembedded.org/mt/108374819/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#2 lore raw

Ooops

Quoted 4 lines · Ryan Eatmon

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

I can confirm that this does not build on 32-bit.
The problem seems to be switching to meson build - both the current SRCREV and the updated one fail on time_t size with meson, but build with the old mess of a code.

Sorry about that
Einar Jon

Quoted 61 lines · Einar Gunnarsson

Review

Quoted 10 lines

Additional changes:
Use https protocol for git fetch
Build with meson

---
  .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
  1 file changed, 3 insertions(+), 15 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb SUMMARY = "Yet Another V4L2 Test Application" · line 3

Quoted 6 lines

index c4f31c033..db00c67b1 100644

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +0 -0
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
  LICENSE = "GPL-2.0-only"
  LIC_FILES_CHKSUM =

"file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb SUMMARY = "Yet Another V4L2 Test Application" · line 4

Quoted 3 lines
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +1 -1
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://

git.ideasonboard.org/yavta.git;branch=master;protocol=https \

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb S = "${WORKDIR}/git" · line 17

Quoted 13 lines
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +1 -4
            "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
  PV = "0.0"
  S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
  # Upstream repo does not tag
  UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in

the

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb S = "${WORKDIR}/git" · line 18

Quoted 1 line
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +0 -1
-# include directory.  The Makefile uses CFLAGS to include these, but

since

Quoted 5 lines

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb S = "${WORKDIR}/git" · line 15

Quoted 10 lines
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +1 -9
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

Signature · 2 lines
Regards
Einar Jón
#3 lore raw
Quoted 6 lines · Einar Gunnarsson via lists.openembedded.org

Ooops

Quoted 2 lines · Ryan Eatmon
Quoted 8 lines
Quoted 2 lines

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

I can confirm that this does not build on 32-bit.
The problem seems to be switching to meson build - both the current SRCREV and the updated one fail on time_t size with meson, but build with the old mess of a code.

My builds test 64 bit on AB, locally I test 32bit arm/x86 and its using clang compiler and it works fine there too.
I do not have 32bit builds+musl combination, too many combos, not enough compute power.

Quoted 74 lines

Sorry about that
Einar Jon

Quoted 48 lines · Einar Gunnarsson
Quoted 45 lines

Additional changes:
Use https protocol for git fetch
Build with meson

---
  .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
  1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +3 -15
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
  LICENSE = "GPL-2.0-only"
  LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
            "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
  PV = "0.0"
  S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
  # Upstream repo does not tag
  UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson
Quoted 8 lines
Quoted 3 lines

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

--
Regards
Einar Jón

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112277): https://lists.openembedded.org/g/openembedded-devel/message/112277
Mute This Topic: https://lists.openembedded.org/mt/108374819/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw
Quoted 18 lines · Khem Raj
Quoted 6 lines · Einar Gunnarsson via lists.openembedded.org

Ooops

Quoted 2 lines · Ryan Eatmon
Quoted 8 lines
Quoted 2 lines

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

I can confirm that this does not build on 32-bit.
The problem seems to be switching to meson build - both the current SRCREV and the updated one fail on time_t size with meson, but build with the old mess of a code.

Quoted 4 lines

My builds test 64 bit on AB, locally I test 32bit arm/x86 and its using clang compiler and it works fine there too.
I do not have 32bit builds+musl combination, too many combos, not enough compute power.

I have a patch that I'm testing. I've spoken to the upstream maintainer and will send the patch in to them once it's complete. Then we can bump the SRCREV again once they accept it.

Quoted 74 lines
Quoted 74 lines

Sorry about that
Einar Jon

Quoted 48 lines · Einar Gunnarsson
Quoted 45 lines

Additional changes:
Use https protocol for git fetch
Build with meson

---
   .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
   1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +3 -15
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
   LICENSE = "GPL-2.0-only"
   LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
             "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
   PV = "0.0"
   S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
   # Upstream repo does not tag
   UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson
Quoted 8 lines
Quoted 3 lines

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

--
Regards
Einar Jón

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112277): https://lists.openembedded.org/g/openembedded-devel/message/112277
Mute This Topic: https://lists.openembedded.org/mt/108374819/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#5 lore raw

Not sure which errors you were seeing, but I can confirm it fails to build for 32-bit in my world builds with:

../git/yavta.c:2195:51: error: format '%ld' expects argument of type 'long int', but argument 8 has type '__time64_t' {aka 'long long int'} [-Werror=format=]
2195 | printf("%u (%u) [%c] %s %u %u B %ld.%06ld
%ld.%06ld %.3f fps ts %s/%s\n", i, buf.index,

      |                                                 ~~^
      |                                                   |
      |                                                   long int
      |                                                 %lld
......
 2199 |                         buf.timestamp.tv_sec, buf.timestamp.tv_usec,
      |                         ~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      __time64_t {aka long long int}

../git/yavta.c:2257:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type '__time64_t' {aka 'long long int'} [-Werror=format=]
2257 | printf("Captured %u frames in %lu.%06lu seconds (%f
fps, %f B/s).\n",

      |                                       ~~^
      |                                         |
      |                                         long unsigned int
      |                                       %llu
 2258 |                 i, ts.tv_sec, ts.tv_nsec/1000, fps, bps);
      |                    ~~~~~~~~~
      |                      |
      |                      __time64_t {aka long long int}

This one isn't hard to fix, but maybe you were seeing some other issues.

Regards,

Quoted 115 lines · Ryan Eatmon via lists.openembedded.org
Quoted 18 lines · Khem Raj
Quoted 6 lines · Einar Gunnarsson via lists.openembedded.org

Ooops

Quoted 2 lines · Ryan Eatmon
Quoted 8 lines
Quoted 2 lines

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

I can confirm that this does not build on 32-bit.
The problem seems to be switching to meson build - both the current SRCREV and the updated one fail on time_t size with meson, but build with the old mess of a code.

Quoted 4 lines

My builds test 64 bit on AB, locally I test 32bit arm/x86 and its using clang compiler and it works fine there too.
I do not have 32bit builds+musl combination, too many combos, not enough compute power.

I have a patch that I'm testing. I've spoken to the upstream maintainer and will send the patch in to them once it's complete. Then we can bump the SRCREV again once they accept it.

Quoted 62 lines
Quoted 62 lines

Sorry about that
Einar Jon

Quoted 56 lines · Einar Gunnarsson
Quoted 38 lines

Additional changes:
Use https protocol for git fetch
Build with meson

---
   .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
   1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +2 -6
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
   LICENSE = "GPL-2.0-only"
   LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
             "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
   PV = "0.0"
   S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
   # Upstream repo does not tag
   UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb S = "${WORKDIR}/git" · line 15

Quoted 10 lines
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +1 -9
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

Quoted 6 lines
Quoted 6 lines

--
Regards
Einar Jón

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112280): https://lists.openembedded.org/g/openembedded-devel/message/112280
Mute This Topic: https://lists.openembedded.org/mt/108374819/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

https://git.ideasonboard.org/yavta.git/commit/?id=52c975e5542504ac10bed8b1d68df5c75951d202

Quoted 154 lines · Martin Jansa

Not sure which errors you were seeing, but I can confirm it fails to build for 32-bit in my world builds with:

../git/yavta.c:2195:51: error: format '%ld' expects argument of type 'long int', but argument 8 has type '__time64_t' {aka 'long long int'} [-Werror=format=]
2195 | printf("%u (%u) [%c] %s %u %u B %ld.%06ld
%ld.%06ld %.3f fps ts %s/%s\n", i, buf.index,

      |                                                 ~~^
      |                                                   |
      |                                                   long int
      |                                                 %lld
......
 2199 |                         buf.timestamp.tv_sec, buf.timestamp.tv_usec,
      |                         ~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      __time64_t {aka long long int}

../git/yavta.c:2257:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type '__time64_t' {aka 'long long int'} [-Werror=format=]
2257 | printf("Captured %u frames in %lu.%06lu seconds (%f
fps, %f B/s).\n",

      |                                       ~~^
      |                                         |
      |                                         long unsigned int
      |                                       %llu
 2258 |                 i, ts.tv_sec, ts.tv_nsec/1000, fps, bps);
      |                    ~~~~~~~~~
      |                      |
      |                      __time64_t {aka long long int}

This one isn't hard to fix, but maybe you were seeing some other issues.

Regards,

Quoted 115 lines · Ryan Eatmon via lists.openembedded.org
Quoted 18 lines · Khem Raj
Quoted 6 lines · Einar Gunnarsson via lists.openembedded.org

Ooops

Quoted 2 lines · Ryan Eatmon
Quoted 8 lines
Quoted 2 lines

I'm seeing build failures on 32bit platforms with this new version. Can anyone verify?

I can confirm that this does not build on 32-bit.
The problem seems to be switching to meson build - both the current SRCREV and the updated one fail on time_t size with meson, but build with the old mess of a code.

Quoted 4 lines

My builds test 64 bit on AB, locally I test 32bit arm/x86 and its using clang compiler and it works fine there too.
I do not have 32bit builds+musl combination, too many combos, not enough compute power.

I have a patch that I'm testing. I've spoken to the upstream maintainer and will send the patch in to them once it's complete. Then we can bump the SRCREV again once they accept it.

Quoted 62 lines
Quoted 62 lines

Sorry about that
Einar Jon

Quoted 56 lines · Einar Gunnarsson
Quoted 38 lines

Additional changes:
Use https protocol for git fetch
Build with meson

---
   .../recipes-multimedia/v4l2apps/yavta_git.bb   | 18 +++---------------
   1 file changed, 3 insertions(+), 15 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +2 -6
index c4f31c033..db00c67b1 100644
@@ -2,9 +2,9 @@ SUMMARY = "Yet Another V4L2 Test Application"
   LICENSE = "GPL-2.0-only"
   LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
+SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
             "
-SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
+SRCREV = "323facd1d5bd6251eec70dd5c1484a12ce01202a"
 
   PV = "0.0"
   S = "${WORKDIR}/git"
@@ -12,16 +12,4 @@ S = "${WORKDIR}/git"
   # Upstream repo does not tag
   UPSTREAM_CHECK_COMMITS = "1"
 
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The yavta sources include copies of the headers required to build in the
-# include directory.  The Makefile uses CFLAGS to include these, but since

meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb S = "${WORKDIR}/git" · line 15

Quoted 10 lines
meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb +1 -9
-# we override the CFLAGS then we need to add this include path back in.
-CFLAGS += "-I${S}/include"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 yavta ${D}${bindir}
-}
-
-
+inherit meson

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

Quoted 6 lines
Quoted 6 lines

--
Regards
Einar Jón

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112280): https://lists.openembedded.org/g/openembedded-devel/message/112280
Mute This Topic: https://lists.openembedded.org/mt/108374819/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-