poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

poke 1.2 has been added to Buildroot & Yocto


From: Romain Naour
Subject: poke 1.2 has been added to Buildroot & Yocto
Date: Tue, 18 May 2021 21:49:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hello All,

I would like to announce that poke has been added to Buildroot [1] and Yocto [2]
build systems and will be available in future releases (Buildroot 2021.08 and
Yocto 3.4 Honister)

Except a few small fixes on the autotools build system, no real issues has been
detected. The dejagnu testsuite has been executed in Qemu images generated for
several architectures and by both build system.

The only point to improve is the out-of-tree build requested by Yocto.
Indeed, the Yocto poke package is using "autotools-brokensep" class [3] instead
the usual "autotools" class.

The integrated .help poke command expect the real less program, not the busybox
version that doesn't provide "less -p". This is not a big issue for embedded
systems, at least poke doesn't crash when busybox less is used.

The gui and libnbd support are disabled, patch welcome.

To enable poke for uClibc-ng based toolchain, several workaround has been added
to build with gnulib. When cross-compiling, the guessed answers are mostly wrong
and gnulib will try to replace snprintf with rpl_snprintf. This lead to
"undefined reference to `rpl_snprintf'" errors.
There are similar workaround for other software bundling gnulib (coretutils,
gdb, gnutls etc.)

For now, it's not possible to build poke in Buildroot from the git repository
due to bootstrap process. There is an issue while converting the m4sh script (
.in.m4sh ) into a portable shell script ( .in ) ready to be processed by aclocal
for @-substitutions.

[1]
https://git.buildroot.net/buildroot/commit/?h=next&id=ef02a1193931083c622a33182ae2a2741b31b4c9

[2]
https://github.com/openembedded/meta-openembedded/commit/e17e159d93999b231b96aa7c73e94376b68bb52a

[3]
https://github.com/openembedded/openembedded-core/blob/gatesgarth/meta/classes/autotools-brokensep.bbclass

Best regards,
Romain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]