On 2016-10-08 09:17 PM, Huang, Jie (Jackie) wrote:

-----Original Message-----
From: MacLeod, Randy
Sent: Friday, October 07, 2016 4:54 AM
To: Bruce Ashfield; Khem Raj; Huang, Jie (Jackie)
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] linux-libc-headers: if_tunnel: remove include of 

On 2016-10-03 08:27 PM, Bruce Ashfield wrote:

It's something we could drop in the future, but these are mods that have
been done since -rc4, and could very well be undone if they start
breaking things like this.

The alternative is to try and fix the userspace applications, but I
currently don't see a fast way to do that (and I'm now officially on

I've sent a fix to the net-tools list:


Jackie will be back at work on Saturday and he'll revert
Bruce's change, test all qemu builds and boot an image
to test iptunnel before sending a patch to the list.

I just sent patches for this to the list.



Thanks for fixing the net-tools bug. A fedora dev acked the patch
on the SF list so hopefully it will be integrated upstream.

Bruce, Khem

What, if anything, should we do about the other yocto specific changes to linux-libc-headers:

$ ls -1 meta/recipes-kernel/linux-libc-headers/linux-libc-headers

It seems like some of the patches (ppp) could be addressed and
dropped and that we should do that before releasing oe-core-2.2
or wait for 2.3.


$ git log meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch

commit 12451a412fb7b5706c1553618ee7b704234876cc
Author: Bruce Ashfield <bruce.ashfi...@windriver.com>
Date:   Mon Oct 3 01:54:36 2016 -0400

    linux-libc-headers: fix in/if.h includes

The following kernel commits broke the compilation of ppp, due to redefined

Nothing else breaks in userspace with or without these uapi changes, so we
    revert them to keep everything building.

       commit 05ee5de7451796cf9a8aeb2f05a57790d4fd2336
       Author: Mikko Rapeli <mikko.rap...@iki.fi>
       Date:   Mon Aug 22 20:32:42 2016 +0200

include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

           Fixes userspace compilation errors like:

           error: field <E2><80><98>addr<E2><80><99> has incomplete type
            struct sockaddr_in addr; /* IP address and port to send to */
           error: field <E2><80><98>addr<E2><80><99> has incomplete type
            struct sockaddr_in6 addr; /* IP address and port to send to */

           Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi>
           Signed-off-by: David S. Miller <da...@davemloft.net>

In oe-core-2.3, we should probably drop net-tools completely or
at least from packagegroup-core-full-cmdline.bb since iproute2
replaces it:

( and I'm now officially on vacation for a few days. :) )

# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,
Canada, K2K 2W5

# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
Openembedded-core mailing list

Reply via email to