Hi Christian,
Christian Lohmaier schrieb am 03.07.2025 um 19:30:
Hi *,
On Thu, Jul 3, 2025 at 7:09 PM Regina Henschel <[email protected]> wrote:
it does not work for me.
There was a missing bracket.
A yes, missed the closing parenthesis of the $(MSYSTEM) variable,
sorry for that.
So I have used
sh -c "cd $(shell cygpath -ml $(BUILDDIR)); $(if $(MSYSTEM),$(WSL)
)$(SRCDIR)/autogen.sh"
And just to be extra sure: you also added the line for SRCDIR above
the target, right?
Yes.
[..]
So let's find out what paths the autogen.sh actually uses when
comparing. Remember that autogen.sh is actually perl, so above the "if
($src_path ne $build_path)" line add a line
print STDERR "src_path: -$src_path- build_path: -$build_path-\n";
and you can stick an
exit(1); > in there as well to stop it from messing up the checkout while
debugging that. What kind of difference there'll be between the
src_path and build_path variables should give further hints as to how
to fix that issue.
The output is
src_path: -/cygdrive/c/BuildLO4/core- build_path:
-/cygdrive/c/buildLO4/core-
And when I move the lines
print STDERR "src_path: -$src_path- build_path: -$build_path-\n";
exit(1)
inside the then-branch of
if ($src_path ne $build_path)
then it will be reached.
I thinks it means that is is a problem, that in src_path we have an
upper "B" and in build_path a lower "b".
Kind regards,
Regina