SCONS ISSUE: Re: [Bf-committers] FYI [FreshPorts-Watch@FreshPorts.org: FreshPorts daily notification - main]

Ted Schundler tschundler at gmail.com
Sun Mar 27 22:24:15 CEST 2005


It's because scons in the ports tree got upgraded. (Which it really
shouldn't have, because it got upgraded to a beta/testing version, not
an official release.)

Blender's scons related stuff used an unsupported internal scons
structure that got dropped in the latest scons. See my bugreport to
scons for details:
http://sourceforge.net/tracker/?group_id=30337&atid=398971&func=detail&aid=1162694

I did some further experiments. This patch seems to work around the
initial error message:

Index: tools/scons/bs/bs_config.py
===================================================================
RCS file: /cvsroot/bf-blender/blender/tools/scons/bs/bs_config.py,v
retrieving revision 1.1
diff -r1.1 bs_config.py
21,23c21
<       parser =  SCons.Script.OptParser()
<       options, targets = parser.parse_args(all_args)
<       if ('clean' in targets):
---
>       if ('clean' in sys.argv):




However, even with that patch it still won't compile (just one hurdle
cleared), so I think there is more to the problem. Lines like:
	SConscript (bs_globals.root_build_dir+'extern/SConscript')
fail now. I don't think it should have worked in the first place,
because there is no SConscript file in that location. Then giving it
the right location still doesn't work.

So, whoever is in charge of scons should probably try out the latest
version. It looks like a lot of the issues with getting Blender to
compile are due to not following standard scons ways of doing things,
particularly with the main SConstruct file. So assumptions made about
when things would get imported and such don't hold anymore.


Ted Schundler


On Sun, 27 Mar 2005 20:46:27 +0200, Hans Lambermont
<hans at lambermont.dyndns.org> wrote:
> FYI
> 
> Hans
> 
> ----- Forwarded message from FreshPorts Watch Daemon <FreshPorts-Watch at FreshPorts.org> -----
> 
> From: FreshPorts Watch Daemon <FreshPorts-Watch at FreshPorts.org>
> To: freshports at lambermont.dyndns.org
> Subject: FreshPorts daily notification - main
> Date: Sat, 26 Mar 2005 18:11:01 -0800
> Message-ID: <20050327_021101_051063.FreshPorts-Watch at FreshPorts.org>
> 
> Port count: 12646 http://www.FreshPorts.org/categories.php
>  New ports:     0 http://www.FreshPorts.org/ports-new.php?interval=today
> 
> graphics/blender-devel
>   BROKEN: Does not build
> 
>   Approved by:    portmgr (self)
>   26 Mar 2005 - kris
>   http://www.FreshPorts.org/graphics/blender-devel/
> 
> This message was generated by the FreshPorts Watch Daemon and highlights
> your selected ports which have changed since the last notification.  You
> have chosen to receive these notices on a daily basis.
> ======================================
> 
> Please refer to http://www.FreshPorts.org/watch.php for details.
> 
> --
> 
> You are receiving this message as part of the service you joined at
> http://www.FreshPorts.org/.  You can unsubscribe at
> http://www.FreshPorts.org/report-subscriptions.php.
> 
> If a problem occurs, please send details to postmaster at FreshPorts.org.
> 
> ----- End forwarded message -----
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list