niko-dunixi / git-openssl-shellscript Goto Github PK
View Code? Open in Web Editor NEWShellscript to compile git with OpenSSL
License: MIT License
Shellscript to compile git with OpenSSL
License: MIT License
#idea
Why not use aria2c?
It can make download speed up.
In some countries(such as China),limited access to foreign networks 's speed.
I think that can help them to install git with openssl quickly.
I get this when I run the script:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I'm on Ubuntu 20.04.2 LTS
I'm getting an error during the compilation on Ubuntu 18.04 (64bit)
Here is the stacktrace that might help:
dpkg-shlibdeps '/tmp/source-git/git-2.7.4/debian/git'/usr/bin/* '/tmp/source-git/git-2.7.4/debian/git'/usr/lib/git-core/*
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-rebase--interactive'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-bisect'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-rebase--am'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-quiltimport'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-merge-resolve'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-request-pull'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-add--interactive'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-merge-one-file'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-mergetool'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-subtree'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-rebase--merge'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-sh-setup'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-difftool--helper'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-mergetool--lib'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-filter-branch'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-sh-i18n'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-web--browse'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-stash'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-relink'
dpkg-shlibdeps: warning: unknown executable format in file '/tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/git-parse-remote'
dpkg-shlibdeps: error: cannot read /tmp/source-git/git-2.7.4/debian/git/usr/lib/git-core/mergetools: Is a directory
debian/rules:353: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 21
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
The following packages have unmet dependencies: dpkg-dev : Depends: libdpkg-perl (= 1.17.5ubuntu5.7) but 1.18.18 is to be installed E: Unable to correct problems, you have held broken packages.
Ubuntu 14.04 with all updates.
sh git.sh -skiptests does not actually skip the tests. Have to remove it manually because the tests fail during the install. Removing the tests it installs correctly.
Thank you so much for your nifty git build script. I am trying to use it in one of my docker builds (for an older version of ubuntu that has the gnutls problem). However, the sideffect is that I end up with a really large image (2.6GB).
Is there anyway the script could be modified to do some cleanup of all build packages that are not necessary after building git? I have tried some cleanup, but I'd figure there could be some more.
Tried on a fresh install of Ubuntu 18.04.6 on VirtualBox 6.1 on Windows 10
Build end, puts git version 2.38.0-rc1 in /usr/bin/git
But when I try to clone a repo, it says:
remote: Enumerating objects: 26528, done.
remote: Counting objects: 100% (150/150), done.
remote: Compressing objects: 100% (136/136), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 6687 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.