I wanted to try the latest and greatest blender. I started emerging it and it failed with confusing error messsages about 'gcc not found' and similar. I wanted to provide a useful error message and did a LC_ALL=C emerge blender and it worked fine. I guess the .UTF-8 part seems to be the problem. Reproducible: Always
i can confirm this
emerge --info and build log please.
Created attachment 154163 [details] emerge --info
Created attachment 154165 [details] log from emerge process This is the log from "emerge blender &> blender.log" Sorry that all the phrases are in german but that's the issue behind this bug.
gcc: ': Datei oder Verzeichnis nicht gefunden <Kommandozeile>: Warnung: fehlendes abschließendes Zeichen ' source/creator/buildinfo.c:38: Fehler: fehlendes abschließendes Zeichen ' source/creator/buildinfo.c:38: Fehler: expected expression before »;« token Could you please check with upstream the issue?
I've opened a thread at Blender.org Here's a direct link to the thread. http://www.blender.org/forum/viewtopic.php?t=13514 Here's a copy&paste of some relevant posts regarding the matter: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Hmm, Looking at that thing its looking like BUILD_REV is undefined looking at tools/Blender.py its using the following to define it: build_rev = os.popen('svnversion').read()[:-1] # remove \n Could you try it with debugging enabled so we can see what its passing in for BUILD_REV? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Does anyone know how to emerge with debugging enabled? Or would this require building blender manually?
I'm just back from mountains, I'll need some time to sync up, thanks for keeping the issue alive =)
Same here, BUT... This seems only to happen if you emerge as a user (with sudo) AND your user locale is different from your root locale. Christopher, can you reproduce the failure when you emerge as root? I have Powerbook G4 (ppc architecture), blender-2.46-r1 built nicely with "sudo emerge -av blender". Locales are LANG="de_AT.UTF-8" and LC_ALL="de_AT.UTF-8" for both user and root. On my Dual-PIII, I had the same build failure reported here when I tried to emerge with "sudo", but emerge was smooth when emerging as root. Locales differ on this machine, though: de_AT.UTF-8 for the user, and en_IE.UTF-8 for root. Best, Simon
I don't think that's the point simon. I get the same Errors and both root and my user have LC_ALL=de_DE@euro (same for LANG)
Same here and I am building as root and not via sudo or similar. LC_ALL and LANG are de_DE.UTF-8.
Does no longer happen with 2.48 and 2.48a
Apparently it does happen.
*** Bug 246254 has been marked as a duplicate of this bug. ***
*** Bug 294692 has been marked as a duplicate of this bug. ***
As I said in bug 294692, this may not quite be a bug in blender build system, this may just as well be a bug in subversion translation. Right now, zh_CN may be the last locale affected by this problem - if it's caused by what I think is causing it. de locales were probably fixed by r871529 subversion commit.
Last occurence in 2009, blender 2.49b builds fine, closing.