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

Bug #1973268 reported by eMTee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ADCH++
Fix Released
Medium
Unassigned

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.

Revision history for this message
eMTee (realprogger) wrote :

[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.

eMTee (realprogger)
Changed in adchpp:
status: Confirmed → Fix Committed
eMTee (realprogger)
Changed in adchpp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.