[oe] [PATCH][meta-networking] libowfat: update to 0.32

Martin Jansa martin.jansa at gmail.com
Tue Jun 18 11:34:27 UTC 2019


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,

On Sun, Apr 7, 2019 at 3:09 PM Oleksandr Kravchuk <
open.source at oleksandr-kravchuk.com> wrote:

> Signed-off-by: Oleksandr Kravchuk <open.source at oleksandr-kravchuk.com>
> ---
>  .../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%)
>
> diff --git a/meta-networking/recipes-support/ncp/libowfat_0.31.bb
> b/meta-networking/recipes-support/ncp/libowfat_0.32.bb
> 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
> --- a/meta-networking/recipes-support/ncp/libowfat_0.31.bb
> +++ b/meta-networking/recipes-support/ncp/libowfat_0.32.bb
> @@ -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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list