Bug 62989 - Git-checked-out build doesn't work if Git-info (.git dir) is not available
Summary: Git-checked-out build doesn't work if Git-info (.git dir) is not available
Status: RESOLVED INVALID
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 11:09 UTC by Albert Zeyer
Modified: 2013-04-01 17:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Albert Zeyer 2013-04-01 11:09:52 UTC
When you check out a snapshot from the source code via Git, the build-system fails to work if you don't have the Git information (the .git dir) anymore. More specifically, it tries to use git-version-info which fails.

It should still work thought and provide some fallback mechanism.

This case happens for example in the Homebrew system on MacOSX which has an option to build the current trunk. That option will download the source from Git but when building the source, it doesn't include the .git directory.
Comment 1 Arun Raghavan 2013-04-01 17:04:23 UTC
You can set GIT_DESCRIBE_FOR_BUILD in your environment and that version will be used if you can't run 'git describe' in your build environment.

Please feel free to continue commenting or to reopen the bug if you need further help.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.