Skip to contentSkip to conversation

doc: fix build failure due to wrong whitespace character

PATCH Mathieu Desnoyers 1 participant 1 message Nov 18, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into lttng-ust master, thanks!

Mathieu

Quoted 56 lines · ----- On Nov 18, 2019, at 1:44 PM, Simon Marchi [email protected] wrote:

The previous, commit:

54435b75df4c ("doc: reformat long lines in doc/examples/Makefile.am")

introduced the following build failure, when the support for JUL is enabled:

make[1]: Entering directory
'/home/smarchi/build/lttng-ust/doc/examples/java-jul'
javac -classpath "../../../liblttng-ust-java-agent/java/lttng-ust-agent-jul/lttng-ust-agent-jul.jar:../../../liblttng-ust-java-agent/java/lttng-ust-agent-common/lttng-ust-agent-common.jar:." -g Hello.java
javac -classpath "../../../liblttng-ust-java-agent/java/lttng-ust-agent-jul/lttng-ust-agent-jul.jar:../../../liblttng-ust-java-agent/java/lttng-ust-agent-common/lttng-ust-agent-common.jar:." -g FilterChangeListenerExample.java
javac -classpath "../../../liblttng-ust-java-agent/java/lttng-ust-agent-jul/lttng-ust-agent-jul.jar:../../../liblttng-ust-java-agent/java/lttng-ust-agent-common/lttng-ust-agent-common.jar:." -g ApplicationContextExample.java
make[1]: *** No rule to make target ' '. Stop.
make[1]: Leaving directory '/home/smarchi/build/lttng-ust/doc/examples/java-jul'
Makefile:979: recipe for target 'all-local' failed
make: *** [all-local] Error 1

I inadvertently inserted a character that looks like a space, but that is not a space. make tries to interpret it as a target name, which obviously fails.

Replace it with a proper space.

---
doc/examples/Makefile.am | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
doc/examples/Makefile.am +1 -1
index dc37489687e2..2ba8cd89462a 100644
@@ -149,7 +149,7 @@ all-local:
 				$(MAKE) all \
 					JAVA_CLASSPATH_OVERRIDE_JUL="../../../liblttng-ust-java-agent/java/lttng-ust-agent-jul"
 					\
 					JAVA_CLASSPATH_OVERRIDE_COMMON="../../../liblttng-ust-java-agent/java/lttng-ust-agent-common"
 					\
-					$(AM_MAKEFLAGS) \
+					$(AM_MAKEFLAGS) \
 			) || exit 1; \
		done; \
	fi; \

--
2.24.0

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev