Subject: Patchage fails to build

From: Thorsten Wilms <[email-masked]>
Date: Sat, 8 Dec 2018 20:28:56 +0100

Apparently just like Ingen before:

...
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
running "python waf" with command "configure" and parameters 
("--prefix=/gnu/store/r8y6cs3jrjnzab3dlxv09czklzhbbrvy-patchage-1.0.0")
Traceback (most recent call last):
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Node.py", 
line 282, in ant_iter
     raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Scripting.py", 
line 97, in waf_entry_point
     run_commands()
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Scripting.py", 
line 149, in run_commands
     parse_options()
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Scripting.py", 
line 127, in parse_options
     Context.create_context('options').execute()
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Options.py", 
line 134, in execute
     super(OptionsContext,self).execute()
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Context.py", 
line 84, in execute
     self.recurse([os.path.dirname(g_module.root_path)])
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Context.py", 
line 125, in recurse
     user_function(self)
   File "/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/wscript", 
line 24, in options
     opt.load('compiler_cxx')
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Context.py", 
line 81, in load
     fun(self)
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Tools/compiler_cxx.py", 
line 31, in options
     opt.load_special_tools('cxx_*.py')
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Context.py", 
line 261, in load_special_tools
 
lst=self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Node.py", 
line 331, in ant_glob
     ret=[x for x in 
self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]
   File 
"/tmp/guix-build-patchage-1.0.0.drv-0/patchage-1.0.0/.waf3-1.7.16-fcd92d833578ba135d0422c08d6ee0d8/waflib/Node.py", 
line 331, in <listcomp>
     ret=[x for x in 
self.ant_iter(accept=accept,pats=[to_pat(incl),to_pat(excl)],maxdepth=kw.get('maxdepth',25),dir=dir,src=src,remove=kw.get('remove',True))]
RuntimeError: generator raised StopIteration
Backtrace:
            5 (primitive-load "/gnu/store/i2k5fixmrlvdiqma4jrz2asihg7?")
In ice-9/eval.scm:
    191:35  4 (_ #f)
In srfi/srfi-1.scm:
    863:16  3 (every1 #<procedure 700b20 at /gnu/store/s3nazihm99q8f?> ?)
In 
/gnu/store/s3nazihm99q8f3h431c3193mvqph1q6z-module-import/guix/build/gnu-build-system.scm:
    799:28  2 (_ _)
In 
/gnu/store/s3nazihm99q8f3h431c3193mvqph1q6z-module-import/guix/build/waf-build-system.scm:
      41:9  1 (call-waf _ _)
In 
/gnu/store/s3nazihm99q8f3h431c3193mvqph1q6z-module-import/guix/build/utils.scm:
     616:6  0 (invoke _ . _)

/gnu/store/s3nazihm99q8f3h431c3193mvqph1q6z-module-import/guix/build/utils.scm:616:6: 
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: 
"python" arguments: ("waf" "configure" 
"--prefix=/gnu/store/r8y6cs3jrjnzab3dlxv09czklzhbbrvy-patchage-1.0.0") 
exit-status: 2 term-signal: #f stop-signal: #f] 92dfc0>)'.
builder for 
`/gnu/store/hl2h36gsngnd26id3dpwan1v3hy1ck3s-patchage-1.0.0.drv' failed 
with exit code 1
build of /gnu/store/hl2h36gsngnd26id3dpwan1v3hy1ck3s-patchage-1.0.0.drv 
failed
View build log at 
'/var/log/guix/drvs/hl/2h36gsngnd26id3dpwan1v3hy1ck3s-patchage-1.0.0.drv.bz2'.
guix build: error: build failed: build of 
`/gnu/store/hl2h36gsngnd26id3dpwan1v3hy1ck3s-patchage-1.0.0.drv' failed