[OE-core] [PATCH 3/4] at-spi2-atk: upgrade 2.32.0 -> 2.34.1

Khem Raj raj.khem at gmail.com
Fri Feb 28 18:00:01 UTC 2020



On 2/28/20 1:30 AM, Alexander Kanavin wrote:
> I actually have a number of patches I have to hold because they don't 
> build or don't work on centos 7.
> Latest atk and friends included:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/package-version-updates-later
> 
> Something ought to be done about centos 7, I'm all for dropping it asap, 
> if the newer compiler installation turns out unfeasible.
> 

centos7 is just showing the problem that other distros are not.
This problem seems to be due to missing header includes
Can we try to add

#include <time.h>

in tests/atk_test_util.h and perhaps this should fix it.


> Alex
> 
> On Fri, 28 Feb 2020 at 05:35, Tim Orling <ticotimo at gmail.com 
> <mailto:ticotimo at gmail.com>> wrote:
> 
>     All those build failures are on CentOS-7.
>     Grumble grumble.
> 
>     On Thu, Feb 27, 2020 at 8:32 PM Tim Orling <ticotimo at gmail.com
>     <mailto:ticotimo at gmail.com>> wrote:
> 
>         Strange. I built it in new environment, tip of master, on
>         Debian-10 and no problems. I’ll look into it tomorrow.
> 
>         Thank you for the information.
> 
>         On Thu, Feb 27, 2020 at 8:28 PM Khem Raj <raj.khem at gmail.com
>         <mailto:raj.khem at gmail.com>> wrote:
> 
> 
> 
>             On 2/27/20 7:54 PM, Anuj Mittal wrote:
>              > Hi Tim,
>              >
>              > On 27-Feb-20 08:06 AM, Tim Orling wrote:
>              >> Release notes:
>              >>
>             https://gitlab.gnome.org/GNOME/at-spi2-atk/-/raw/043b793de2161a0548835424f4d087ac90d1172d/NEWS
> 
>              >>
>              >>
>              >> License-Update: Changed to LGPL-2.1+
>              >>
>              >> Signed-off-by: Tim Orling
>             <timothy.t.orling at linux.intel.com
>             <mailto:timothy.t.orling at linux.intel.com>>
>              >> ---
>              >>   .../atk/{at-spi2-atk_2.32.0.bb
>             <http://at-spi2-atk_2.32.0.bb> => at-spi2-atk_2.34.1.bb
>             <http://at-spi2-atk_2.34.1.bb>}  | 8 ++++----
>              >>   1 file changed, 4 insertions(+), 4 deletions(-)
>              >>   rename meta/recipes-support/atk/{at-spi2-atk_2.32.0.bb
>             <http://at-spi2-atk_2.32.0.bb> =>
>              >> at-spi2-atk_2.34.1.bb <http://at-spi2-atk_2.34.1.bb>} (66%)
>              >
>              > This is failing on musl-qemu86:
>              >
>              >
>             https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/1623
>              >
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10: error:
>             unknown field
>              > ‘tv_sec’ specified in initializer
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10:
>             warning: excess
>              > elements in struct initializer [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10:
>             warning: (near
>              > initialization for ‘timeout’) [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10: error:
>             unknown field
>              > ‘tv_nsec’ specified in initializer
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10:
>             warning: excess
>              > elements in struct initializer [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:10:
>             warning: (near
>              > initialization for ‘timeout’) [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:75:19: error:
>             storage size
>              > of ‘timeout’ isn’t known
>              >     struct timespec timeout = { .tv_sec = 0, .tv_nsec =
>             10 * 1000000 };
>              >                     ^
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:90:5:
>             warning: implicit
>              > declaration of function ‘nanosleep’
>             [-Wimplicit-function-declaration]
>              >       nanosleep(&timeout, NULL);
>              >       ^
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c: In function
>             ‘terminate_app’:
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             error: variable
>              > ‘timeout’ has initializer but incomplete type
>              >     struct timespec timeout = { .tv_sec = 0, .tv_nsec =
>             10 * 1000000 };
>              >            ^
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             error: unknown field
>              > ‘tv_sec’ specified in initializer
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             warning: excess
>              > elements in struct initializer [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             warning: (near
>              > initialization for ‘timeout’) [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             error: unknown field
>              > ‘tv_nsec’ specified in initializer
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             warning: excess
>              > elements in struct initializer [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:10:
>             warning: (near
>              > initialization for ‘timeout’) [enabled by default]
>              > ../at-spi2-atk-2.34.1/tests/atk_test_util.c:108:19:
>             error: storage size
>              > of ‘timeout’ isn’t known
>              >     struct timespec timeout = { .tv_sec = 0, .tv_nsec =
>             10 * 1000000 };
>              >
> 
>             yeah this is exposing a bug in use if time_t struct in this
>             component.
>             there are several patches done to address that, we will
>             perhaps need one
>             of these patches here.
> 
>             -- 
>             _______________________________________________
>             Openembedded-core mailing list
>             Openembedded-core at lists.openembedded.org
>             <mailto:Openembedded-core at lists.openembedded.org>
>             http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
>     -- 
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


More information about the Openembedded-core mailing list