← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1973268] Re: New version of scons(4.0.1+dfsg-2) comes with Ubuntu has some things depreciated

 

[10:56:49] <cologic> " This function and its associate factory functions are deprecated. There is no replacement. The intended use was to keep a local tree in sync with an archive, but in actuality the function only causes the archive to be fetched on the first run. Synchronizing with the archive is best done external to SCons. / ... /  scons will, by default, fetch files from SCCS or RCS subdirectories without explicit configuration. This takes some extra processing time to search for the necessary source code management files on disk. You can avoid these extra searches and speed up your build a little by disabling these searches as follows: / env.SourceCode('.', None)": https://scons.org/doc/3.0.5/HTML/scons-man.html
[10:58:46] <cologic> Should be safe to remove.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1973268

Title:
  New version of scons(4.0.1+dfsg-2) comes with Ubuntu has some things
  depreciated

Status in ADCH++:
  Confirmed

Bug description:
  scons mode=release arch=x64
  scons: Reading SConscript files ...
  AttributeError: 'SConsEnvironment' object has no attribute 'SourceCode':
    File "/home/txc/adchpp2/adcpp/SConstruct", line 220:
      env.SourceCode('.', None)[/b]

  
  [2022-05-12 20:13:28] <Hades> Removing completely line 220 in SConstruct works for now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1973268/+subscriptions



References