[Bug 257004] math/lapack build of 3.10.0 fails with "argument list too long" error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jul 2021 22:50:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257004

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com

--- Comment #12 from John Hein <jcfyecrayz@liamekaens.com> ---
11.4-stable/amd64:

% getconf ARG_MAX
262144

12.2-stable/amd64:

% getconf ARG_MAX
524288


Some will say that 11.x is on the way out.  I'm not a big fan of that line of
thinking.  But it's one answer.  Eventually something could hit the limit in
12.x (or later) as well.

Two problems are exposed by lots of files in a the lapack package.  One is not
specific to lapack.  This is in generate-plist in bsd.port.mk when PLIST_FILES
is long:

        for file in ${PLIST_FILES}; do \


The other is specific to the current version of lapack - at the bottom of
post-install when the man3l files are installed:

        cd ${WRKDIR}/man ; ${ECHO_CMD} ${MAN3L:[1..6000]:S|^|man3/|} \
        | ${XARGS} -J @ ${INSTALL_MAN} @ ${STAGEDIR}${MAN3PREFIX}/man/man3

Both of these trigger 'Argument list too long' issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.