Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make can raise bin/sh: line 1: 1.2.md: No such file or directory #5941

Closed
m-schmoock opened this issue Jan 31, 2023 · 0 comments
Closed

make can raise bin/sh: line 1: 1.2.md: No such file or directory #5941

m-schmoock opened this issue Jan 31, 2023 · 0 comments

Comments

@m-schmoock
Copy link
Collaborator

Issue and Steps to Reproduce

At least on some systems, calling make can raise an shell error bin/sh: line 1: 1.2.md: No such file or directory
This seems to be caused by doc/Makefile line 215 which has been brought in by 744d111 in early December 2022.

doc/index.rst: $(MANPAGES:=.md)
	@$(call VERBOSE, "genidx $@", \
	  find doc -maxdepth 1 -name '*\.[0-9]\.md' | \
	  cut -b 5- | LC_ALL=C sort | \
	  sed 's/\(.*\)\.\(.*\).*\.md/\1 <\1.\2.md>/' | \
	  python3 devtools/blockreplace.py doc/index.rst manpages --language=rst --indent "   " \
	)

make output

LD: cc     config.vars  -Lexternal/x86_64-pc-linux-gnu -lwallycore -lsecp256k1 -ljsmn -lbacktrace -lsodium -L/usr/local/include -lm -lgmp -lsqlite3  -lz  -L/usr/lib -lpq -o
/bin/sh: line 1: 1.2.md: No such file or directory

Sometimes (maybe because of parallel compiling) this error is not at the end of the output but a couple of lines before.

m-schmoock added a commit to m-schmoock/lightning that referenced this issue Jan 31, 2023
This seems to fix issue ElementsProject#5941
Certain make version(?) will parse the ')' as function end when not
inside "" but ''.

Changelog-None
rustyrussell pushed a commit that referenced this issue Feb 1, 2023
This seems to fix issue #5941
Certain make version(?) will parse the ')' as function end when not
inside "" but ''.

Changelog-None
ddustin pushed a commit to ddustin/lightning that referenced this issue Apr 11, 2023
This seems to fix issue ElementsProject#5941
Certain make version(?) will parse the ')' as function end when not
inside "" but ''.

Changelog-None
gkrizek pushed a commit to voltagecloud/lightning that referenced this issue Apr 26, 2023
This seems to fix issue ElementsProject#5941
Certain make version(?) will parse the ')' as function end when not
inside "" but ''.

Changelog-None
ddustin pushed a commit to ddustin/lightning that referenced this issue May 12, 2023
This seems to fix issue ElementsProject#5941
Certain make version(?) will parse the ')' as function end when not
inside "" but ''.

Changelog-None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant