yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #13756
Re: [Yade-users] [Question #665387]: Compile error JointedCohesiveFrictionalPM
-
To:
yade-dev <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
-
Date:
Fri, 9 Mar 2018 18:35:11 +0100
-
In-reply-to:
<152061532894.20024.9962141926808382715.launchpad@loganberry.canonical.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
Let us continue the discussion here on yade-dev, William is member.
Merge commits are painful, as you suggest Robert it applies the upstream
changes on the local trunk then it commits the merged code.
In the log it looks like reapplying the same changes, the problem is if
it's not reapplying exactly the same thing it can go unnoticed.
This is known as "merge bubble" on the git forums.
It can be avoided manually or, more simply, by changing the default
behavior of git once for all (on a given machine):|
git config branch.autosetuprebase always|
Please always consider the above command before any commit to yade trunk.
Cheers
Bruno
On 03/09/2018 06:08 PM, Robert Caulk wrote:
Question #665387 on Yade changed:
https://answers.launchpad.net/yade/+question/665387
Status: Open => Answered
Robert Caulk proposed the following answer:
Hello William,
Which linux distribution are you running? Which compiler are you using
(gcc --version)?
As Bruno mentions on yade-dev, your most recent build passes the
buildbot [1] - so it may be a local problem. (I think Bruno's message
[2] was not posted here as intended. He suggests you join yade-dev list
serv [3] and send compiler questions there).
Although it seems unlikely - is it possible this has something to do
with this unusual merge of master with itself [4]? Is that a merge into
your local repository? Perhaps you are you working off a read-only
clone? Do you have duplicated commits on your local machine? I can't
quite figure out what is going on there, the "merge" seems to simply add
commits that are already committed to the repository.
Cheers,
Robert
[1]https://yade-dem.org/buildbot/builders/yade-full/builds/4507
[2]https://lists.launchpad.net/yade-dev/msg13755.html
[3]https://launchpad.net/~yade-dev
[4]https://github.com/yade/trunk/commit/921bb17079fea51385fe620526f9bc48c055918e
Follow ups