Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531530 - app-portage/smart-live-rebuild-1.3.4 not able to check ebuilds using git-r3.eclass
Summary: app-portage/smart-live-rebuild-1.3.4 not able to check ebuilds using git-r3.e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 13:06 UTC by Sven Eden
Modified: 2014-12-03 17:52 UTC (History)
0 users

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


Attachments
Fix typo that causes the error (1.3.4_fix_git_r3_HEAD_substitution.patch,536 bytes, patch)
2014-12-03 13:08 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2014-12-03 13:06:50 UTC
When an ebuild using git-r3.eclass is tested with smart-live-rebuild, it fails the test with:

--------
!!! Error enumerating =foo/bar-1.2.3: [NameError] global name 'HEAD' is not defined
--------

Reproducible: Always

Steps to Reproduce:
1. Install a live ebuild that uses git-r3.eclass
2. run "emerge @smart-live-rebuild"
Actual Results:  
The package is not tested

Expected Results:  
The package is tested
Comment 1 Sven Eden 2014-12-03 13:08:45 UTC
Created attachment 390842 [details, diff]
Fix typo that causes the error

After I changed the line, all ebuilds using git-r3.eclass where properly tested and no more errors came up
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-03 17:01:44 UTC
Oh wow, lol. Nobody noticed that for over half a year :D.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-03 17:52:24 UTC
+*smart-live-rebuild-1.3.4.1 (03 Dec 2014)
+
+  03 Dec 2014; Michał Górny <mgorny@gentoo.org>
+  +smart-live-rebuild-1.3.4.1.ebuild:
+  Version bump with fix for syntax error, bug #531530.