Re: [PATCH 1/8] e2fsprogs: 1.43 -> 1.43.1

Robert Yang
2016-07-22T08:47:31Z

On 07/22/2016 05:40 AM, Burton, Ross wrote:
>
> On 19 July 2016 at 14:44, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> There is a new confgure option --enable-hardening:
>
> http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1
> <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1>
>
> Enable it by default, for target. The native can't be built with it:
> | checking for uuid_generate in -luuid... no
> | configure: error: external uuid library not found
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>>
>
>
> This isn't generating any translations:

Sorry, updated in the repo:

git://git.openembedded.org/openembedded-core-contrib rbt/pu

It was because the newest po/Makefile.in.in uses @mkdir_p@. If confiure.ac
uses AM_INIT_AUTOMAKE(), the AC_SUBST(mkdir_p) would run automatically, but
e2fsprogs doesn't have Makefile.am, so it can't use that. Manualy run
AC_SUBST(mkdir_p) to fix the problem.

// Robert

>
> packages/corei7-64-poky-linux/e2fsprogs: PACKAGES: removed "e2fsprogs-locale-sv
> e2fsprogs-locale-ca e2fsprogs-locale-es e2fsprogs-locale-it e2fsprogs-locale-de
> e2fsprogs-locale-eo e2fsprogs-locale-uk e2fsprogs-locale-nl e2fsprogs-locale-cs
> e2fsprogs-locale-fr e2fsprogs-locale-pl e2fsprogs-locale-da e2fsprogs-locale-tr
> e2fsprogs-locale-vi e2fsprogs-locale-zh-cn e2fsprogs-locale-id" added
> "e2fsprogs-locale"
>
> A fragment of the do_install log:
>
> make[1]: Entering directory
> '/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/build/po'
> /bin/sh: 6: @mkdir_p@: not found
> /usr/bin/install: cannot create regular file
> ‘/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/image/usr/share/locale/ca/LC_MESSAGES/e2fsprogs.mo’:
> No such file or directory
> installing ../../git/po/ca.gmo as
> /data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/image/usr/share/locale/ca/LC_MESSAGES/e2fsprogs.mo
> /bin/sh: 6: @mkdir_p@: not found
> /usr/bin/install: cannot create regular file
> ‘/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/image/usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo’:
> No such file or directory
> installing ../../git/po/cs.gmo as
> /data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/image/usr/share/locale/cs/LC_MESSAGES/e2fsprogs.mo
> /bin/sh: 6: @mkdir_p@: not found
> /usr/bin/install: cannot create regular file
> ‘/data/poky-master/tmp-glibc/work/corei7-64-poky-linux/e2fsprogs/1.43.1-r0/image/usr/share/locale/da/LC_MESSAGES/e2fsprogs.mo’:
> No such file or directory
>
> This again. :(
>
> Ross