[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make distdir fails
From: |
Mike Miller |
Subject: |
Re: make distdir fails |
Date: |
Mon, 14 Aug 2017 10:41:15 -0700 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
On Mon, Aug 14, 2017 at 01:28:44 -0700, siko1056 wrote:
> Can anyone confirm that `make dist` (subtarget `distdir`) fails on a clean
> build of hg id 1e54d9aba433? It fails on two openSUSE 42.3 systems for me.
> The output is:
>
> make dist
> make dist-lzip dist-xz dist-gzip am__post_remove_distdir='@:'
> make[1]: Entering directory '/workspace/octave/build/default'
> GEN ChangeLog
> if test -d "octave-4.3.0+"; then find "octave-4.3.0+" -type d ! -perm -200
> -exec chmod u+w {} ';' && rm -rf "octave-4.3.0+" || { sleep 5 && rm -rf
> "octave-4.3.0+"; }; else :; fi
> test -d "octave-4.3.0+" || mkdir "octave-4.3.0+"
>
> make[1]: execvp: /bin/sh: Argument list too long
>
> Makefile:26483: recipe for target 'distdir' failed
>
> make[1]: *** [distdir] Error 127
> make[1]: Leaving directory '/workspace/octave/build/default'
> Makefile:26583: recipe for target 'dist' failed
> make: *** [dist] Error 2
>
> I highlighted that actual problems with newlines. It seems that either an
> update of my systems causes this argument list being too long, or a change
> of the build system, that I cannot identify yet.
I also don't see this problem on my system.
This might depend on the version of Automake you have. You may have to
run make with debugging enabled, or edit Makefile to make the distdir
rule show what it's doing, to find out exactly which command is causing
the trouble.
FWIW, it looks to me like most commands in distdir are looping over the
list of files, but there are a couple that seem to be operating on the
entire file list at once with sed, that might be a first place to look.
--
mike
signature.asc
Description: PGP signature