I have a series in testing that removes acpaths entirely which solves this 
problem at the source instead of having to be worked around in every recipe.

Ross

> On 8 Jan 2025, at 08:40, Changqing Li via lists.openembedded.org 
> <changqing.li=windriver....@lists.openembedded.org> wrote:
> 
> ping
> On 12/17/24 17:09, Changqing Li via lists.openembedded.org wrote:
>> From: Changqing Li <changqing...@windriver.com>
>> 
>> man-db uses a lot of m4 files, with acpaths set to absolute path,
>> and the TMPDIR is long/deep, for example when len(TMPDIR) = 350,
>> do_configure failed with "Argument list too long" error.
>> 
>> [snip]
>> aclocal: error: cannot open xxx Argument list too long
>> autoreconf: aclocal failed with exit status: 1
>> ERROR: autoreconf execution failed.
>> [snip]
>> 
>> Let aclocal use the relative path for the m4 file rather than the
>> absolute would fix the problem.
>> 
>> Signed-off-by: Changqing Li <changqing...@windriver.com>
>> ---
>> meta/recipes-extended/man-db/man-db_2.13.0.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-extended/man-db/man-db_2.13.0.bb 
>> b/meta/recipes-extended/man-db/man-db_2.13.0.bb
>> index 2fa18a8f24..553b2d59d2 100644
>> --- a/meta/recipes-extended/man-db/man-db_2.13.0.bb
>> +++ b/meta/recipes-extended/man-db/man-db_2.13.0.bb
>> @@ -22,7 +22,7 @@ USE_NLS:libc-musl = "no"
>> inherit gettext pkgconfig autotools systemd
>> 
>> EXTRA_OECONF = "--with-pager=less 
>> --with-systemdsystemunitdir=${systemd_system_unitdir}"
>> -EXTRA_AUTORECONF += "-I ${S}/gl/m4"
>> +acpaths = "-I ./m4 -I ./gl/m4"
>> 
>> PACKAGECONFIG[bzip2] = "--with-bzip2=bzip2,ac_cv_prog_have_bzip2='',bzip2"
>> PACKAGECONFIG[gzip] = "--with-gzip=gzip,ac_cv_prog_have_gzip='',gzip"
>> 
>> 
>> 
>> 
>> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209565): 
https://lists.openembedded.org/g/openembedded-core/message/209565
Mute This Topic: https://lists.openembedded.org/mt/110160165/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to