Hi,

With the attached rockspec, luarocks switches to the wrong directory
before calling make. The build log is attached: it should change to
“/tmp/luarocks_gcc-lua-1.2.0-1-5330/gcc-lua”, but instead changes to
“/tmp/luarocks_gcc-lua-1.2.0-1-5330/.”.

Can you spot a mistake in the rockspec?

Thanks,
Peter
package = "gcc-lua"
version = "1.2.0-1"
source = {
   url = "git://git.colberg.org/gcc-lua",
}
description = {
   summary = "Lua plugin for the GNU Compiler Collection",
   homepage = "http://colberg.org/gcc-lua/";,
   license = "MIT/X11",
}
build = {
  type = "make",
}
io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks/lib/luarocks/rocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/home/peter/.luarocks/lib/luarocks/rocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0
Using gcc-lua-1.2.0-1.rockspec... switching to 'build' mode

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks/lib/luarocks/rocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/home/peter/.luarocks/lib/luarocks/rocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'/home/peter/.luarocks'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-e' 
'gcc-lua-1.2.0-1.rockspec'
Results: 1
  1 (number): 0

io.popen:       pwd

io.popen:       pwd

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1'
Results: 1
  1 (number): 256

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && mkdir -p 
'/tmp/luarocks_gcc-lua-1.2.0-1-5330'
Results: 1
  1 (number): 0

io.popen:       pwd

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/tmp/luarocks_gcc-lua-1.2.0-1-5330'
Results: 1
  1 (number): 0

io.popen:       pwd
Cloning into 'gcc-lua'...

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330' && git 'clone' 
'--depth=1' 'git://git.colberg.org/gcc-lua' 'gcc-lua'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330' && test '-d' 'gcc-lua'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/gcc-lua' && rm '-rf' 
'/tmp/luarocks_gcc-lua-1.2.0-1-5330/gcc-lua/.git'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/gcc-lua' && rm '-rf' 
'/tmp/luarocks_gcc-lua-1.2.0-1-5330/gcc-lua/.gitignore'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/home/peter/projects/gcc-lua' && test '-d' 
'/tmp/luarocks_gcc-lua-1.2.0-1-5330'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330' && test '-d' '.'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/.' && mkdir -p 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1/bin'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/.' && mkdir -p 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1/lib'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/.' && mkdir -p 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1/lua'
Results: 1
  1 (number): 0

io.popen:       pwd
Warning: variable CFLAGS was not passed in build_variables

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/.' && mkdir -p 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1/conf'
Results: 1
  1 (number): 0

io.popen:       pwd
make: *** No targets specified and no makefile found.  Stop.

os.execute:     cd '/tmp/luarocks_gcc-lua-1.2.0-1-5330/.' && make  'CC=gcc'
Results: 1
  1 (number): 512

io.popen:       pwd

os.execute:     cd '/' && rm '-rf' 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua/1.2.0-1'
Results: 1
  1 (number): 0

io.popen:       pwd

os.execute:     cd '/' && rmdir 
'/home/peter/.luarocks/lib/luarocks/rocks/gcc-lua'
Results: 1
  1 (number): 0

io.popen:       pwd

Error: Build error: Failed building.

os.execute:     cd '/' && rm '-rf' '/tmp/luarocks_gcc-lua-1.2.0-1-5330'
Results: 1
  1 (number): 0
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to