Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490662 - dev-vcs/gitolite-3.5.3.1: "get_major_version: command not found" during pkg_postinst phase
Summary: dev-vcs/gitolite-3.5.3.1: "get_major_version: command not found" during pkg_p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 04:10 UTC by Coacher
Modified: 2013-11-08 05:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info gitolite (info,4.91 KB, text/plain)
2013-11-07 04:14 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2013-11-07 04:10:11 UTC
Hello.

During gitolite upgrade from 3.5.2 to 3.5.3.1 I've noticed the following message:

>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
/var/cache/portage/portage/dev-vcs/gitolite-3.5.3.1/temp/environment: line 2480: get_major_version: command not found
 *
 * Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite).
 * Especially if you're migrating from gitosis.
 *
>>> dev-vcs/gitolite-3.5.3.1 merged.

As you can see get_major_version() cannot be found for some reason. My guess is ebuild should inherit versionator eclass.

Please fix.

Reproducible: Always
Comment 1 Coacher 2013-11-07 04:14:05 UTC
Created attachment 362722 [details]
emerge --info gitolite
Comment 2 Tim Harder gentoo-dev 2013-11-07 07:26:42 UTC
Fixed in the tree.
Comment 3 Coacher 2013-11-08 05:48:46 UTC
(In reply to Tim Harder from comment #2)
> Fixed in the tree.

Thanks!