View Issue Details

IDProjectCategoryView StatusLast Update
0004328ardourbugspublic2011-10-01 06:11
Reporterthisisquitealongname Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0004328: A3vst build trivially broken between 10098 and 10102 + patch
DescriptionThe build dies with

  File "/home/yt/abs/ardour3/ardour3-O3-10102/src/ardour3-build/gtk2_ardour/wscript", line 347, in build
    bld.env.append ('LINKFLAGS', '-lX11')
TypeError: 'list' object is not callable

and then another error at line 375 in the same file once that one's worked out. I don't want to bother reproducing it since I think I've already 'fixed' it. But I like, can if need be.
Additional InformationI extrapolated this simple 'patch' by grepping around and using common sense. It may or may not be insane.

*** ardour3/gtk2_ardour/wscript.old 2011-09-21 05:38:46.779462147 +0000
--- ardour3/gtk2_ardour/wscript 2011-09-21 05:49:00.496120395 +0000
***************
*** 344,350 ****
      if bld.env['VST_SUPPORT']:
          obj.source += [ 'vst_pluginui.cc' ]
          obj.defines += [ 'VST_SUPPORT' ]
! bld.env.append ('LINKFLAGS', '-lX11')
  
      if bld.env['LXVST_SUPPORT']:
          obj.source += [ 'lxvst_pluginui.cc' ]
--- 344,350 ----
      if bld.env['VST_SUPPORT']:
          obj.source += [ 'vst_pluginui.cc' ]
          obj.defines += [ 'VST_SUPPORT' ]
! bld.env.append_unique('LINKFLAGS', '-lX11')
  
      if bld.env['LXVST_SUPPORT']:
          obj.source += [ 'lxvst_pluginui.cc' ]
***************
*** 372,378 ****
          '''
          obj.includes = '../libs/fst'
          obj.target = 'ardour-3.0-vst'
! obj.linkflags += ['-mwindows', '-Wl,--export-dynamic', '-lpthread']
          obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
          obj.uselib = 'ALSA'
          obj.uselib_local = ['libpbd','libmidipp','libtaglib','libardour',
--- 372,378 ----
          '''
          obj.includes = '../libs/fst'
          obj.target = 'ardour-3.0-vst'
! obj.linkflags = ['-mwindows', '-Wl,--export-dynamic', '-lpthread']
          obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
          obj.uselib = 'ALSA'
          obj.uselib_local = ['libpbd','libmidipp','libtaglib','libardour',
TagsNo tags attached.

Activities

2011-09-21 10:04

 

gtk2-wscript.patch (1,429 bytes)   
*** ardour3/gtk2_ardour/wscript.old	2011-09-21 05:38:46.779462147 +0000
--- ardour3/gtk2_ardour/wscript	2011-09-21 05:49:00.496120395 +0000
***************
*** 344,350 ****
      if bld.env['VST_SUPPORT']:
          obj.source += [ 'vst_pluginui.cc' ]
          obj.defines += [ 'VST_SUPPORT' ]
!         bld.env.append ('LINKFLAGS', '-lX11')
  
      if bld.env['LXVST_SUPPORT']:
          obj.source += [ 'lxvst_pluginui.cc' ]
--- 344,350 ----
      if bld.env['VST_SUPPORT']:
          obj.source += [ 'vst_pluginui.cc' ]
          obj.defines += [ 'VST_SUPPORT' ]
!         bld.env.append_unique('LINKFLAGS', '-lX11')
  
      if bld.env['LXVST_SUPPORT']:
          obj.source += [ 'lxvst_pluginui.cc' ]
***************
*** 372,378 ****
          '''
          obj.includes = '../libs/fst'
          obj.target = 'ardour-3.0-vst'
!         obj.linkflags += ['-mwindows', '-Wl,--export-dynamic', '-lpthread']
          obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
          obj.uselib = 'ALSA'
          obj.uselib_local = ['libpbd','libmidipp','libtaglib','libardour',
--- 372,378 ----
          '''
          obj.includes = '../libs/fst'
          obj.target = 'ardour-3.0-vst'
!         obj.linkflags = ['-mwindows', '-Wl,--export-dynamic', '-lpthread']
          obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
          obj.uselib = 'ALSA'
          obj.uselib_local = ['libpbd','libmidipp','libtaglib','libardour',
gtk2-wscript.patch (1,429 bytes)   

Issue History

Date Modified Username Field Change
2011-09-21 10:04 thisisquitealongname New Issue
2011-09-21 10:04 thisisquitealongname File Added: gtk2-wscript.patch
2011-09-21 15:53 cth103 cost => 0.00
2011-09-21 15:53 cth103 Target Version => 3.0-beta1
2011-10-01 06:11 thisisquitealongname Status new => closed
2011-10-01 06:11 thisisquitealongname Resolution open => fixed