Re: [PATCH] INSTALL: add macOS gettext and sdk header explanation to INSTALL

2018-11-15 Thread yan ke
Thanks for review, I will summit a new patch soon to improve this.

Jonathan Nieder  于2018年11月15日周四 上午11:05写道:
>
> Hi!
>
> yanke131...@gmail.com wrote:
>
> > From: out0fmemory 
> >
> > ---
> >  INSTALL | 7 +++
> >  1 file changed, 7 insertions(+)
>
> Thanks for writing.  A few bits of administrivia, from
> https://www.kernel.org/pub/software/scm/git/docs/SubmittingPatches.html:
>
> Can we forge your sign-off?  See the section "certify your work" in
> SubmittingPatches for what this means.
>
> What name should we attribute this change to?  Documentation/SubmittingPatches
> explains:
>
>  Also notice that a real name is used in the Signed-off-by: line.
>  Please don’t hide your real name.
>
> [...]
> > --- a/INSTALL
> > +++ b/INSTALL
> > @@ -165,6 +165,9 @@ Issues of note:
> > use English. Under autoconf the configure script will do this
> > automatically if it can't find libintl on the system.
> >
> > +In macOS, can install and link gettext with brew as "brew install 
> > gettext"
> > +and "brew link --force gettext", the link operation is necessary.
> > +
>
> As context (e.g. to go in the commit message), can you tell us more
> about this?  E.g. what happens if you don't perform the link
> operation?
>
> [...]
> > @@ -178,6 +181,10 @@ Issues of note:
> > will include them.  Note that config.mak is not distributed;
> > the name is reserved for local settings.
> >
> > +  - In macOs 10.14, the Command Line Tool not contains the headers as 
> > before, so it
> > +need install Command Line Tool 10.14 and install the headers which 
> > command
> > +"sudo installer -pkg 
> > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> >  -target".
> > +
>
> Likewise: what is the symptom if this isn't done?
>
> Is there more general advice we can put here that will survive past
> macOS 10.14?
>
> Thanks and hope that helps,
> Jonathan


Re: Add issue management within git

2018-11-11 Thread yan ke
   Very very agree, now it is very difficult to find a solution when
has some problem such build problem an so on! The mail-list is good to
send patch es, but is it not suitable for problem track or problem
solution search!
   Now the Github or Gitlab is good to track issues, suggest to open
the git issue track!
Martin Delille  于2018年11月12日周一 上午6:52写道:
>
> Hi,
>
> This would be awesome to handle issue directly with git:
> Having an offline version of the issues synced to the gitlab/github issues.
> A lot of work is done on the issues and it is lost when migrating from one 
> service to the other.
> Beside we don’t always have a good internet connection.
> There is already a kind of integration between commit message fixing issue 
> automatically when merged in the master branch (with “fix #143’).
>
> Kind regards,
>
> Martin
>


Re: build error on mac os 10.14.1

2018-11-07 Thread yan ke
Solved, It is because the macOS SDK headers loss in 10.14.1.  Need
install command line tool 10.1 and install the header package in
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

So  I think the git make configure need check the SDK header to get
the correct reason of build fail
yan ke  于2018年11月6日周二 下午5:07写道:
>
> Hello
>
> when build on mac os 10.14.1 with the master branch, I got the
> error as blew, so what is wrong?
>
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clangclang: error: linker command failed with exit code 1 (use -v to
> see invocation)
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> clangmake: *** [Makefile:2369: git-shell] Error 1
> make: *** Waiting for unfinished jobs
> make: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1
> : error: linker command failed with exit code 1 (use -v to see invocation)
> clang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1
> error: linker command failed with exit code 1 (use -v to see invocation)
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2369: git-credential-cache] Error 1
> make: *** [Makefile:2369: git-credential-store] Error 1
> make: *** [Makefile:2383: git-remote-testsvn] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2393: git-remote-http] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2369: git-http-backend] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2372: git-imap-send] Error 1
> make: *** [Makefile:2379: git-http-push] Error 1
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2376: git-http-fetch] Error 1
> make: *** [Makefile:2369: git-daemon] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2369: git-fast-import] Error 1
> ld: archive has no table of contents file 'xdiff/lib.a' for architecture 
> x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make: *** [Makefile:2046: git] Error 1


build error on mac os 10.14.1

2018-11-06 Thread yan ke
Hello

when build on mac os 10.14.1 with the master branch, I got the
error as blew, so what is wrong?

ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clangclang: error: linker command failed with exit code 1 (use -v to
see invocation)
: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clangmake: *** [Makefile:2369: git-shell] Error 1
make: *** Waiting for unfinished jobs
make: *** [Makefile:2369: git-sh-i18n--envsubst] Error 1
: error: linker command failed with exit code 1 (use -v to see invocation)
clang: make: *** [Makefile:2369: git-credential-cache--daemon] Error 1
error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2369: git-credential-cache] Error 1
make: *** [Makefile:2369: git-credential-store] Error 1
make: *** [Makefile:2383: git-remote-testsvn] Error 1
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2393: git-remote-http] Error 1
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2369: git-http-backend] Error 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2372: git-imap-send] Error 1
make: *** [Makefile:2379: git-http-push] Error 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2376: git-http-fetch] Error 1
make: *** [Makefile:2369: git-daemon] Error 1
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2369: git-fast-import] Error 1
ld: archive has no table of contents file 'xdiff/lib.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2046: git] Error 1