pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build scmgit-base without pthreads
Hello,
I'm seeing exactly the issue described in this thread on the Git
mailing list.:
http://git.661346.n2.nabble.com/Unable-to-fork-off-sideband-demultiplexer-td6427108.html
My system is Solaris 9, with pkgsrc-bootstrapped gcc3.4.
Upon a git clone I see:
error: cannot create thread: Unknown error
fatal: fetch-pack: unable to fork off sideband demultiplexer
Segmentation Fault (core dumped)
The fix/workaround seems to be to build Git without pthreads. I
appended NO_PTHREADS=YesPlease to MAKE_FLAGS in scmgit-base Makefile,
and rebuilt it, and it worked.
Questions:
1) Is this the best approach? Should there be a Makefile patch? It
feels kinda dirty to have to hack the Makefile
2) What's the best way to share this for other users, so they don't get bitten?
S.
Home |
Main Index |
Thread Index |
Old Index