View Issue Details

IDProjectCategoryView StatusLast Update
0006876ardourotherpublic2016-05-15 18:52
Reporterxs Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
PlatformKXStudio 
Summary0006876: waf configure fails
DescriptionTrying to build a debug version from master branch, I got this python traceback running waf configure:

Traceback (most recent call last):
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Scripting.py", line 151, in run_commands
    run_command(cmd_name)
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Scripting.py", line 143, in run_command
    ctx.execute()
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Configure.py", line 128, in execute
    super(ConfigurationContext,self).execute()
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/xs/brx/ardour/wscript", line 1132, in configure
    sub_config_and_use(conf, i)
  File "/home/xs/brx/ardour/wscript", line 757, in sub_config_and_use
    conf.recurse(name)
  File "/home/xs/brx/ardour/.waf-1.6.11-06ee4b7efbeab1252ed3b11499834d2a/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/xs/brx/ardour/gtk2_ardour/wscript", line 353, in configure
    conf.define('CODENAME', enoify(int(conf.env['MAJOR']), int(conf.env['MINOR'])))
ValueError: invalid literal for int() with base 10: 'fatal: No names found, cannot describe anything'
Steps To Reproducegit reset --hard
./waf configure
TagsNo tags attached.

Activities

x42

2016-05-15 18:04

administrator   ~0018193

"fatal: No names found, cannot describe anything"

Ardour uses `git describe` to find the version number.
You need a full clone of the git repository (not a shallow one).


git clone git://git.ardour.org/ardour/ardour.git
./waf configure [options]



(compare options to http://nightly.ardour.org/i/A_Linux_x86_64_DBG/build_log.txt)

xs

2016-05-15 18:36

reporter   ~0018195

Last edited: 2016-05-15 18:36

Oh!

I'm sorry, gotcha.

Edit: bad habits running --depth=1

Issue History

Date Modified Username Field Change
2016-05-15 17:58 xs New Issue
2016-05-15 18:04 x42 Note Added: 0018193
2016-05-15 18:36 xs Note Added: 0018195
2016-05-15 18:36 xs Note Edited: 0018195
2016-05-15 18:52 xs Status new => closed
2016-05-15 18:52 xs Resolution open => no change required