Skip to contentSkip to conversation

libowfat: update to 0.32

PATCH Superseded Oleksandr Kravchuk 3 participants 4 messages Apr 7, 2019 – Jun 18, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libowfat: update to 0.32

---
 .../ncp/{libowfat_0.31.bb => libowfat_0.32.bb}                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ncp/{libowfat_0.31.bb => libowfat_0.32.bb} (84%)
meta-networking/recipes-support/ncp/libowfat_0.32.bb renamed from meta-networking/recipes-support/ncp/libowfat_0.31.bb +2 -2
similarity index 84%
rename from meta-networking/recipes-support/ncp/libowfat_0.31.bb
rename to meta-networking/recipes-support/ncp/libowfat_0.32.bb
index 4b072f7e7..fba35526d 100644
@@ -7,8 +7,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
 SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz"
-SRC_URI[md5sum] = "120798fab86cfd72dc6b12284d248dd0"
-SRC_URI[sha256sum] = "d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12"
+SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
+SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"
 
 EXTRA_OEMAKE = "\
     DIET= \
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · Oleksandr Kravchuk
---
 .../ncp/{libowfat_0.31.bb => libowfat_0.32.bb}                | 4 ++--

This is causing ncp build failure

| ncp.c:8:10: fatal error: 'dns.h' file not found
| #include "dns.h"
|          ^~~~~~~
| 1 error generated.
| make: *** [<builtin>: ncp.o] Error 1
| make: *** Waiting for unfinished jobs....

Can you check why dns.h can't be found ?

Quoted 29 lines
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ncp/{libowfat_0.31.bb => libowfat_0.32.bb} (84%)
meta-networking/recipes-support/ncp/libowfat_0.32.bb renamed from meta-networking/recipes-support/ncp/libowfat_0.31.bb +2 -3
similarity index 84%
rename from meta-networking/recipes-support/ncp/libowfat_0.31.bb
rename to meta-networking/recipes-support/ncp/libowfat_0.32.bb
index 4b072f7e7..fba35526d 100644
@@ -7,8 +7,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
 SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz"
-SRC_URI[md5sum] = "120798fab86cfd72dc6b12284d248dd0"
-SRC_URI[sha256sum] = "d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12"
+SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
+SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"
 
 EXTRA_OEMAKE = "\
     DIET= \
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 10 lines · Khem Raj
Quoted 4 lines · Oleksandr Kravchuk
---
 .../ncp/{libowfat_0.31.bb => libowfat_0.32.bb}                | 4 ++--

This is causing ncp build failure

Quoted 9 lines
| ncp.c:8:10: fatal error: 'dns.h' file not found
| #include "dns.h"
|          ^~~~~~~
| 1 error generated.
| make: *** [<builtin>: ncp.o] Error 1
| make: *** Waiting for unfinished jobs....

Can you check why dns.h can't be found ?

On further look at
https://www.fefe.de/libowfat/changes-0.32.txt
the build now puts the headers in libowfat/ already so removing setting INCLUDEDIR in libowfat recipe helps something like this

meta-networking/recipes-support/ncp/libowfat_0.32.bb +1 -1
@@ -19,7 +19,7 @@ EXTRA_OEMAKE = "\
 do_install() {
     make install \
         DESTDIR=${D} \
-        INCLUDEDIR=${includedir}/${BPN} \
+        INCLUDEDIR=${includedir} \
         LIBDIR=${libdir} \
         MAN3DIR=${mandir}/man3
 }

Can you send a v2 ?

Quoted 29 lines
Quoted 29 lines
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ncp/{libowfat_0.31.bb => libowfat_0.32.bb} (84%)
meta-networking/recipes-support/ncp/libowfat_0.32.bb renamed from meta-networking/recipes-support/ncp/libowfat_0.31.bb +2 -3
similarity index 84%
rename from meta-networking/recipes-support/ncp/libowfat_0.31.bb
rename to meta-networking/recipes-support/ncp/libowfat_0.32.bb
index 4b072f7e7..fba35526d 100644
@@ -7,8 +7,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
 SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz"
-SRC_URI[md5sum] = "120798fab86cfd72dc6b12284d248dd0"
-SRC_URI[sha256sum] = "d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12"
+SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
+SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"
 
 EXTRA_OEMAKE = "\
     DIET= \
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Oleksandr Kravchuk

Hi, have you seen libowfat randomly failing with error: conflicting types for 'socklen_t' ? It happens with both 0.31 and 0.32 versions.

I sometimes see this failure in world builds:

| In file included from socket/socket_recv6.c:12:
| ./havesl.h:1:13: error: conflicting types for 'socklen_t'
|     1 | typedef int socklen_t;
|       |             ^~~~~~~~~
| In file included from

libowfat/0.31-r0/recipe-sysroot/usr/include/sys/socket.h:33,
| from socket/socket_recv6.c:4:
| libowfat/0.31-r0/recipe-sysroot/usr/include/bits/socket.h:33:21: note:
previous declaration of 'socklen_t' was here

|    33 | typedef __socklen_t socklen_t;
|       |                     ^~~~~~~~~
| GNUmakefile:179: recipe for target 'socket_recv6.o' failed
| make: *** [socket_recv6.o] Error 1

Checking what GNUmakefile does, this really shouldn't happen, but the log doesn't show anything useful to see why the trysl.c test failed (and caused havesl.h to exist and contain the conflicting typedef).

I've added small patch on top of this upgrade which should make the compile tests more verbose:
http://git.openembedded.org/meta-openembedded-contrib/commit/?h=jansa/master&id=3d3ac51e43926ec8a3254411845fa025af6d1c2b
now I'm waiting for the build to fail again to hopefully see why.

Have you seen this before?

Cheers,

Quoted 37 lines · Oleksandr Kravchuk
---
 .../ncp/{libowfat_0.31.bb => libowfat_0.32.bb}                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ncp/{libowfat_0.31.bb =>

libowfat_0.32.bb} (84%)

meta-networking/recipes-support/ncp/libowfat_0.32.bb renamed from meta-networking/recipes-support/ncp/libowfat_0.31.bb +0 -2
similarity index 84%
rename from meta-networking/recipes-support/ncp/libowfat_0.31.bb
rename to meta-networking/recipes-support/ncp/libowfat_0.32.bb
index 4b072f7e7..fba35526d 100644
@@ -7,8 +7,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
 SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz"
-SRC_URI[md5sum] = "120798fab86cfd72dc6b12284d248dd0"
-SRC_URI[sha256sum] =

"d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12"

meta-networking/recipes-support/ncp/libowfat_0.32.bb renamed from meta-networking/recipes-support/ncp/libowfat_0.31.bb +2 -0
+SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
+SRC_URI[sha256sum] =

"f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"

 EXTRA_OEMAKE = "\
     DIET= \

--
2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel