Summary: | net-wireless/iw-3.10 - ./version.sh version.c: fatal: No names found, cannot describe anything. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Davide <sbdmmg> |
Component: | Current packages | Assignee: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flow, moonlapse81, netmon, zerochaos |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-968192.html?sid=0c1b59eba199e2ef56055fd97e8c812f | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild environment
build log check for .git |
Description
Davide
2013-08-24 14:33:56 UTC
Created attachment 356872 [details]
ebuild environment
Created attachment 356874 [details]
build log
*** Bug 482818 has been marked as a duplicate of this bug. *** This seems to be more of a git problem whan iw. Following up on the forum thread, I'll say the same thing as Hu - don't put a .git in your root folder. Please try the suggestion he has $GIT_DIR, and see if that solves the issue. If not, feel free to reopen. IMO it is an problem of the build system of iw together with default git behavior. Luckily the fix is simple: Check if .git/ exists before calling any git commands in the build process. I have created and attached a patch, which I also send upstream. The suggestion using $GIT_DIR is just a workaround. Why shouldn't we fix the root cause? And please don't let this lead into a discussion about having a git repository within the root folder. The fact that an ebuild creates a sandbox violation in certain situations should be sufficient. Created attachment 357570 [details, diff]
check for .git
I see your point - I have added your patch to 3.10-r1 :-) Great, thank you! |