Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585590 - =dev-libs/cl-1.2.1 - ERROR: sh(git describe --always --tags) failed with return code 128 and the following output: fatal: Not a git repository (or any of the parent directories): .git
Summary: =dev-libs/cl-1.2.1 - ERROR: sh(git describe --always --tags) failed with retu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-11 13:16 UTC by Oleh
Modified: 2016-06-12 06:14 UTC (History)
0 users

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


Attachments
patch (001-vsn-fix-1.2.1.patch,414 bytes, patch)
2016-06-11 13:19 UTC, Oleh
Details | Diff
ebuild (cl-1.2.1-r1.ebuild,640 bytes, text/plain)
2016-06-11 13:19 UTC, Oleh
Details
build.log (build.log,2.18 KB, text/plain)
2016-06-11 13:21 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-06-11 13:16:38 UTC
1.2.1 release tarball have {vsn, git} defined in cl.app.src, which makes rebar compile trying to use git.

A small patch (attached) fixes this.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-libs/cl
2. notice failure
3. apply patch and rebuild cl
Actual Results:  
Compiling c_src/cl_hash.c
ERROR: sh(git describe --always --tags)
failed with return code 128 and the following output:
fatal: Not a git repository (or any parent up to mount point /var)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

ERROR: compile failed while processing /var/tmp/portage/dev-libs/cl-1.2.1/work/cl-cl-1.2.1: rebar_abort
 * ERROR: dev-libs/cl-1.2.1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 133:  Called src_compile
 *   environment, line 2026:  Called die
 * The specific snippet of code:
 *       rebar compile || die
Comment 1 Oleh 2016-06-11 13:19:32 UTC
Created attachment 437160 [details, diff]
patch
Comment 2 Oleh 2016-06-11 13:19:53 UTC
Created attachment 437162 [details]
ebuild
Comment 3 Oleh 2016-06-11 13:21:04 UTC
Created attachment 437164 [details]
build.log
Comment 4 Oleh 2016-06-11 13:21:26 UTC
added patch and corrected ebuild.
Comment 5 Oleh 2016-06-11 13:23:01 UTC
$ID$ should be $Id$ :)
Comment 6 Oleh 2016-06-11 16:16:10 UTC
ebuild should be replaced with the one added in #585600.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2016-06-12 06:14:39 UTC
Fixed without revision bump. Thanks for the report!