[erlang-questions] maint branch failed to build on osx
Dmytro Lytovchenko
dmytro.lytovchenko@REDACTED
Tue Sep 13 12:30:09 CEST 2016
Well, sometimes it happens that even git clean -fx doesn't return sources
to the initial state. So there is something tricky happening under
git-ignored paths, so I believe. Also the build output is spread in
multiple tmp directories + source directories, some of them are under
gitignore and some other are not.
There are flaws in this scheme of things, and i've made my attempts to fix
the problem with CMake project. Though it is in early stage and is only
able to build emulator and helper binaries.
tis 13 sep. 2016 kl 12:06 skrev Loïc Hoguin <essen@REDACTED>:
> Blaming the build system is not helpful, all it's missing is a target
> that puts the repository back to its initial state. I suspect that
> target was never added because it's just as simple to do a git clean in
> most cases.
>
> Perhaps the only overcomplicated thing to fix is properly documenting this.
>
> On 09/13/2016 11:13 AM, Dmytro Lytovchenko wrote:
> > Assuming it built before but doesn't build now:
> > make clean does not do complete cleaning, some stuff remains on disk and
> > can create problems. I can blame the overcomplicated build system.
> > Anyway try git clean -f -x, or do a clean checkout from git (or faster:
> > git clone from one directory to another, but then you lose git remotes).
> >
> > If it never built for you before, then no amount of cleaning is going to
> > fix it. Show the errors which you receive.
> >
> > tis 13 sep. 2016 kl 10:48 skrev Leo Liu <sdl.web@REDACTED
> > <mailto:sdl.web@REDACTED>>:
> >
> >
> >
> > On 2016-09-13 05:09 +0200, Björn Gustavsson wrote:
> > > On Mon, Sep 12, 2016 at 4:10 PM, Leo Liu <sdl.web@REDACTED
> > <mailto:sdl.web@REDACTED>> wrote:
> > [snipped 6 lines]
> > > Did you run "git clean" to clean the repository before running
> > those commands?
> > >
> > > Cleaning the repository is often necessary if you have switched
> from
> > > the master branch to the maint branch or vice versa.
> > >
> > > /Bjorn
> >
> > Did that and got the same failure. Then make clean and got the same
> > failure.
> >
> > Looks like somewhere something is wrong.
> >
> > Leo
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
>
> --
> Loïc Hoguin
> http://ninenines.eu
> Author of The Erlanger Playbook,
> A book about software development using Erlang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160913/3a0f4b52/attachment.htm>
More information about the erlang-questions
mailing list