Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

git-submodule not functional, missing perl executable #585

Closed
crawford opened this issue Sep 23, 2015 · 5 comments
Closed

git-submodule not functional, missing perl executable #585

crawford opened this issue Sep 23, 2015 · 5 comments

Comments

@crawford
Copy link
Contributor

Issue by mattbailey
Tuesday Sep 30, 2014 at 21:39 GMT
Originally opened as https://github.com/coreos/coreos-overlay/issues/891


core@localhost /data/config $ git submodule update
/usr/libexec/git-core/git-submodule: line 159: perl: command not found

git-jump, git-sh-setup, git-request-pull, git-am, and git-contacts also appear to use perl and would also break.

With the exception of git-contacts, these are all shell scripts that invoke perl -e without any CPAN modules or anything, so would probably just need the perl bin & libperl

@crawford
Copy link
Contributor Author

Comment by mattbailey
Tuesday Sep 30, 2014 at 21:43 GMT


I see this is sort of a dupe from https://github.com/coreos/coreos-vagrant/issues/38

Any chance of supporting it? Kinda sucks to have git not completely functional. I am surprised that git-submodule is actually implemented this way though...

@crawford
Copy link
Contributor Author

Comment by marineam
Tuesday Sep 30, 2014 at 22:46 GMT


No, we will not be adding Perl just to support a few git commands. We
provide git just to support users that distribute apps/containers/configs
to hosts so development commands aren't needed. Submodule being broken too
is unfortunate but it isn't a commonly used feature.
On Sep 30, 2014 2:40 PM, "Matt Bailey" notifications@github.com wrote:

core@localhost /data/config $ git submodule update
/usr/libexec/git-core/git-submodule: line 159: perl: command not found

git-jump, git-sh-setup, git-request-pull, git-am, and git-contacts also
appear to use perl and would also break.

With the exception of git-contacts, these are all shell scripts that
invoke perl -e without any CPAN modules or anything, so would probably just
need the perl bin & libperl


Reply to this email directly or view it on GitHub
https://github.com/coreos/coreos-overlay/issues/891.

@crawford
Copy link
Contributor Author

Comment by jonboulle
Thursday Oct 02, 2014 at 22:56 GMT


@marineam can we build git more explicitly without submodule support?

@crawford
Copy link
Contributor Author

Comment by marineam
Friday Oct 03, 2014 at 00:20 GMT


There is an option to disable perl support in the git ebuild but it mostly just limits pulling in extra modules instead of disabling all Perl. It would be good to fix that.

@crawford
Copy link
Contributor Author

The submodule command works now. They must have removed the Perl dependency at some point.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant