[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62135] `make dist` fails with bash error
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #62135] `make dist` fails with bash error |
Date: |
Thu, 3 Mar 2022 03:16:14 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62135>
Summary: `make dist` fails with bash error
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Thu 03 Mar 2022 09:16:12 AM CET
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
It looks like we are hitting a bash limit when building the `dist` target on
the default branch. E.g. on the buildbot:
http://buildbot.octave.org:8010/#/builders/21/builds/1281/steps/7/logs/stdio
if test -d "octave-8.0.0"; then find "octave-8.0.0" -type d ! -perm -200 -exec
chmod u+w {} ';' && rm -rf "octave-8.0.0" || { sleep 5 && rm -rf
"octave-8.0.0"; }; else :; fi
test -d "octave-8.0.0" || mkdir "octave-8.0.0"
make[3]: /bin/bash: Argument list too long
make[3]: *** [Makefile:28343: distdir-am] Error 127
make[3]: Leaving directory
'/scratch/buildbot/workers/jwe-debian-x86_64-5/w64-32-on-debian/src/octave-hg-repo/.build'
make[2]: *** [Makefile:28338: distdir] Error 2
make[2]: Leaving directory
'/scratch/buildbot/workers/jwe-debian-x86_64-5/w64-32-on-debian/src/octave-hg-repo/.build'
make[1]: *** [Makefile:28445: dist] Error 2
make[1]: Leaving directory
'/scratch/buildbot/workers/jwe-debian-x86_64-5/w64-32-on-debian/src/octave-hg-repo/.build'
make: ***
[/scratch/buildbot/workers/jwe-debian-x86_64-5/w64-32-on-debian/src/hg-octave-dist.mk:34:
hg-octave-dist] Error 2
program finished with exit code 2
The corresponding lines in the Makefile read the following when I reproduce
here:
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62135>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error,
Markus Mützel <=
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, Markus Mützel, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, Pantxo Diribarne, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, Dmitri A. Sergatskov, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, Dmitri A. Sergatskov, 2022/03/03
- [Octave-bug-tracker] [bug #62135] `make dist` fails with bash error, John W. Eaton, 2022/03/03