[Bf-committers] SCons build in exported source tree fails
Hi, I tried SCons build in an exported source tree that have no .git/ directory but it failed as follows: UnboundLocalError: local variable 'build_commit_timestamp' referenced before assignment: File "/home/irie/build/blender2.6/scons/SConstruct", line 757: dobj = B.buildinfo(env, "dynamic") + B.resources File "./build_files/scons/tools/Blender.py", line 439: 'BUILD_COMMIT_TIMESTAMP=%s'%(build_commit_timestamp), commit 58afbb2ee8f9a0e08365db5e840bbb8d9f39c3ab CommitDate: Sat Nov 16 03:26:04 2013 +0100 Thanks, -- IRIE Shinsuke ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
Fixes the issue now. Thanks for the report! On Sat, Nov 16, 2013 at 3:29 PM, IRIE Shinsuke wrote: > Hi, > > I tried SCons build in an exported source tree that have no .git/ > directory but it failed as follows: > > UnboundLocalError: local variable 'build_commit_timestamp' referenced > before assignment: > File "/home/irie/build/blender2.6/scons/SConstruct", line 757: > dobj = B.buildinfo(env, "dynamic") + B.resources > File "./build_files/scons/tools/Blender.py", line 439: > 'BUILD_COMMIT_TIMESTAMP=%s'%(build_commit_timestamp), > > commit 58afbb2ee8f9a0e08365db5e840bbb8d9f39c3ab > CommitDate: Sat Nov 16 03:26:04 2013 +0100 > > Thanks, > > -- > IRIE Shinsuke > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
thanks, but i tried to pull updates after i cloned the repo and i get this: H:\blender\blender>git pull --rebase fatal: Invalid gitfile format: release/scripts/addons_contrib/.git Cannot pull with rebase: You have unstaged changes. Please commit or stash them. from the error it says that i have uncommited changes, but i didn't modify the cloned repo! i read the git usage and building blender and couldn't found anything to solve the problem sorry to bother, but any help? Regards Yousef Harfoush ba...@msn.com > Date: Sun, 17 Nov 2013 00:02:51 +0600 > From: sergey@gmail.com > To: bf-committers@blender.org > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > Fixes the issue now. Thanks for the report! > > > On Sat, Nov 16, 2013 at 3:29 PM, IRIE Shinsuke > wrote: > > > Hi, > > > > I tried SCons build in an exported source tree that have no .git/ > > directory but it failed as follows: > > > > UnboundLocalError: local variable 'build_commit_timestamp' referenced > > before assignment: > > File "/home/irie/build/blender2.6/scons/SConstruct", line 757: > > dobj = B.buildinfo(env, "dynamic") + B.resources > > File "./build_files/scons/tools/Blender.py", line 439: > > 'BUILD_COMMIT_TIMESTAMP=%s'%(build_commit_timestamp), > > > > commit 58afbb2ee8f9a0e08365db5e840bbb8d9f39c3ab > > CommitDate: Sat Nov 16 03:26:04 2013 +0100 > > > > Thanks, > > > > -- > > IRIE Shinsuke > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > -- > With best regards, Sergey Sharybin > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
Please show: git --version git status git diff (results of this commands) On Sun, Nov 17, 2013 at 12:14 AM, Yousef Hurfoush wrote: > thanks, but i tried to pull updates after i cloned the repo and i get this: > > H:\blender\blender>git pull --rebase > fatal: Invalid gitfile format: release/scripts/addons_contrib/.git > Cannot pull with rebase: You have unstaged changes. > Please commit or stash them. > from the error it says that i have uncommited changes, but i didn't modify > the cloned repo! > i read the git usage and building blender and couldn't found anything to > solve the problem > sorry to bother, but any help? > > > Regards > Yousef Harfoush > ba...@msn.com > > > > > Date: Sun, 17 Nov 2013 00:02:51 +0600 > > From: sergey@gmail.com > > To: bf-committers@blender.org > > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > > > Fixes the issue now. Thanks for the report! > > > > > > On Sat, Nov 16, 2013 at 3:29 PM, IRIE Shinsuke >wrote: > > > > > Hi, > > > > > > I tried SCons build in an exported source tree that have no .git/ > > > directory but it failed as follows: > > > > > > UnboundLocalError: local variable 'build_commit_timestamp' referenced > > > before assignment: > > > File "/home/irie/build/blender2.6/scons/SConstruct", line 757: > > > dobj = B.buildinfo(env, "dynamic") + B.resources > > > File "./build_files/scons/tools/Blender.py", line 439: > > > 'BUILD_COMMIT_TIMESTAMP=%s'%(build_commit_timestamp), > > > > > > commit 58afbb2ee8f9a0e08365db5e840bbb8d9f39c3ab > > > CommitDate: Sat Nov 16 03:26:04 2013 +0100 > > > > > > Thanks, > > > > > > -- > > > IRIE Shinsuke > > > ___ > > > Bf-committers mailing list > > > Bf-committers@blender.org > > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > > > > > > -- > > With best regards, Sergey Sharybin > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
> Please show: > > git --version 1.8.1.msysgit.1 > git status fatal: Invalid gitfile format: release/scripts/addons_contrib/.git > git diff fatal: Invalid gitfile format: release/scripts/addons_contrib/.git it seems the problem in the addon_contrib, i checked the .git file and it contains unreadable stuff. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
hrm, can you show contents of that files then? On Sun, Nov 17, 2013 at 1:00 AM, Yousef Hurfoush wrote: > > Please show: > > > > git --version > 1.8.1.msysgit.1 > > git status > fatal: Invalid gitfile format: release/scripts/addons_contrib/.git > > git diff > fatal: Invalid gitfile format: release/scripts/addons_contrib/.git > > > it seems the problem in the addon_contrib, i checked the .git file and it > contains unreadable stuff. > > > > > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
Another idea is to: - Remove this .git file - Run git submodule update --init --recursive And really not sure why it might be so. Here it works fine with git 1.7.10 and and 1.8.3, so doubt it's some git version issue.. On Sun, Nov 17, 2013 at 1:03 AM, Sergey Sharybin wrote: > hrm, can you show contents of that files then? > > > On Sun, Nov 17, 2013 at 1:00 AM, Yousef Hurfoush wrote: > >> > Please show: >> > >> > git --version >> 1.8.1.msysgit.1 >> > git status >> fatal: Invalid gitfile format: release/scripts/addons_contrib/.git >> > git diff >> fatal: Invalid gitfile format: release/scripts/addons_contrib/.git >> >> >> it seems the problem in the addon_contrib, i checked the .git file and it >> contains unreadable stuff. >> >> >> >> >> ___ >> Bf-committers mailing list >> Bf-committers@blender.org >> http://lists.blender.org/mailman/listinfo/bf-committers >> > > > > -- > With best regards, Sergey Sharybin > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
https://dl.dropboxusercontent.com/u/33417300/test.git > Another idea is to: > > - Remove this .git file > - Run git submodule update --init --recursive tried it and got the same this error: Submodule path 'release/scripts/addons_contrib': checked out '31545d25c9cb41d271 a3f3ef84d327708572290e' fatal: Invalid gitfile format: .git Unable to find current revision in submodule path 'scons' sorry for troubling you :) Regards Yousef Harfoush ba...@msn.com ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
I think if now you'll do `git status` you'll see git blaming on scons/.gt not adodns_contrib/.git. Repeat the same algo with scons/.git :) On Sun, Nov 17, 2013 at 1:31 AM, Yousef Hurfoush wrote: > https://dl.dropboxusercontent.com/u/33417300/test.git > > Another idea is to: > > > > - Remove this .git file > > - Run git submodule update --init --recursive > > tried it and got the same this error: > Submodule path 'release/scripts/addons_contrib': checked out > '31545d25c9cb41d271 > a3f3ef84d327708572290e' > fatal: Invalid gitfile format: .git > Unable to find current revision in submodule path 'scons' > > sorry for troubling you :) > > > Regards > Yousef Harfoush > ba...@msn.com > > > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
here is what i got! fatal: Not a git repository: ../.git/modules/scons Regards Yousef Harfoush ba...@msn.com > Date: Sun, 17 Nov 2013 01:36:42 +0600 > From: sergey@gmail.com > To: bf-committers@blender.org > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > I think if now you'll do `git status` you'll see git blaming on scons/.gt > not adodns_contrib/.git. Repeat the same algo with scons/.git :) > > > On Sun, Nov 17, 2013 at 1:31 AM, Yousef Hurfoush wrote: > > > https://dl.dropboxusercontent.com/u/33417300/test.git > > > Another idea is to: > > > > > > - Remove this .git file > > > - Run git submodule update --init --recursive > > > > tried it and got the same this error: > > Submodule path 'release/scripts/addons_contrib': checked out > > '31545d25c9cb41d271 > > a3f3ef84d327708572290e' > > fatal: Invalid gitfile format: .git > > Unable to find current revision in submodule path 'scons' > > > > sorry for troubling you :) > > > > > > Regards > > Yousef Harfoush > > ba...@msn.com > > > > > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > -- > With best regards, Sergey Sharybin > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
This is really weird, and need to go now. Could only recommend trying to do a clean checkout: git clone --recursive git://git.blender.org/blender.git cd blender git submodule foreach git pull origin master URL might be changed according to one which you want :) Tomorrow i'll be around for more help tho. On Sun, Nov 17, 2013 at 1:42 AM, Yousef Hurfoush wrote: > here is what i got! > > fatal: Not a git repository: ../.git/modules/scons > > Regards > Yousef Harfoush > ba...@msn.com > > > > > Date: Sun, 17 Nov 2013 01:36:42 +0600 > > From: sergey@gmail.com > > To: bf-committers@blender.org > > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > > > I think if now you'll do `git status` you'll see git blaming on scons/.gt > > not adodns_contrib/.git. Repeat the same algo with scons/.git :) > > > > > > On Sun, Nov 17, 2013 at 1:31 AM, Yousef Hurfoush wrote: > > > > > https://dl.dropboxusercontent.com/u/33417300/test.git > > > > Another idea is to: > > > > > > > > - Remove this .git file > > > > - Run git submodule update --init --recursive > > > > > > tried it and got the same this error: > > > Submodule path 'release/scripts/addons_contrib': checked out > > > '31545d25c9cb41d271 > > > a3f3ef84d327708572290e' > > > fatal: Invalid gitfile format: .git > > > Unable to find current revision in submodule path 'scons' > > > > > > sorry for troubling you :) > > > > > > > > > Regards > > > Yousef Harfoush > > > ba...@msn.com > > > > > > > > > ___ > > > Bf-committers mailing list > > > Bf-committers@blender.org > > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > > > > > > -- > > With best regards, Sergey Sharybin > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > -- With best regards, Sergey Sharybin ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] SCons build in exported source tree fails
thanks man, i'll try to checkout again. Regards Yousef Harfoush ba...@msn.com > Date: Sun, 17 Nov 2013 01:47:22 +0600 > From: sergey@gmail.com > To: bf-committers@blender.org > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > This is really weird, and need to go now. > > Could only recommend trying to do a clean checkout: > > git clone --recursive git://git.blender.org/blender.git > cd blender > git submodule foreach git pull origin master > > URL might be changed according to one which you want :) > > Tomorrow i'll be around for more help tho. > > > On Sun, Nov 17, 2013 at 1:42 AM, Yousef Hurfoush wrote: > > > here is what i got! > > > > fatal: Not a git repository: ../.git/modules/scons > > > > Regards > > Yousef Harfoush > > ba...@msn.com > > > > > > > > > Date: Sun, 17 Nov 2013 01:36:42 +0600 > > > From: sergey@gmail.com > > > To: bf-committers@blender.org > > > Subject: Re: [Bf-committers] SCons build in exported source tree fails > > > > > > I think if now you'll do `git status` you'll see git blaming on scons/.gt > > > not adodns_contrib/.git. Repeat the same algo with scons/.git :) > > > > > > > > > On Sun, Nov 17, 2013 at 1:31 AM, Yousef Hurfoush wrote: > > > > > > > https://dl.dropboxusercontent.com/u/33417300/test.git > > > > > Another idea is to: > > > > > > > > > > - Remove this .git file > > > > > - Run git submodule update --init --recursive > > > > > > > > tried it and got the same this error: > > > > Submodule path 'release/scripts/addons_contrib': checked out > > > > '31545d25c9cb41d271 > > > > a3f3ef84d327708572290e' > > > > fatal: Invalid gitfile format: .git > > > > Unable to find current revision in submodule path 'scons' > > > > > > > > sorry for troubling you :) > > > > > > > > > > > > Regards > > > > Yousef Harfoush > > > > ba...@msn.com > > > > > > > > > > > > ___ > > > > Bf-committers mailing list > > > > Bf-committers@blender.org > > > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > > > > > > > > > > > -- > > > With best regards, Sergey Sharybin > > > ___ > > > Bf-committers mailing list > > > Bf-committers@blender.org > > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > ___ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > > -- > With best regards, Sergey Sharybin > ___ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers