Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223393 - media-gfx/blender-2.46 failes to build with LC_ALL="de_DE.UTF-8"
Summary: media-gfx/blender-2.46 failes to build with LC_ALL="de_DE.UTF-8"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 246254 294692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-23 23:48 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2010-07-04 13:09 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.log,4.69 KB, text/plain)
2008-05-24 17:12 UTC, Christoph Brill (egore) (RESIGNED)
Details
log from emerge process (blender.log,153.41 KB, text/plain)
2008-05-24 17:13 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2008-05-23 23:48:09 UTC
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
Comment 1 Account removed 2008-05-24 07:53:59 UTC
i can confirm this
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 16:31:08 UTC
emerge --info and build log please.
Comment 3 Christoph Brill (egore) (RESIGNED) 2008-05-24 17:12:18 UTC
Created attachment 154163 [details]
emerge --info
Comment 4 Christoph Brill (egore) (RESIGNED) 2008-05-24 17:13:23 UTC
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.
Comment 5 Luca Barbato gentoo-dev 2008-05-24 23:28:12 UTC
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?
Comment 6 Robert Krig 2008-08-08 11:12:35 UTC
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?
Comment 7 Luca Barbato gentoo-dev 2008-08-08 19:57:11 UTC
I'm just back from mountains, I'll need some time to sync up, thanks for keeping the issue alive =)
Comment 8 simon 2008-08-20 07:03:14 UTC
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
Comment 9 Carsten 2008-08-21 22:05:29 UTC
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)
Comment 10 Phillip Merensky 2008-11-06 11:32:38 UTC
Same here and I am building as root and not via sudo or similar. LC_ALL and LANG are de_DE.UTF-8.
Comment 11 Christoph Brill (egore) (RESIGNED) 2008-11-08 10:52:26 UTC
Does no longer happen with 2.48 and 2.48a
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-10 16:13:15 UTC
Apparently it does happen.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-10 16:13:23 UTC
*** Bug 246254 has been marked as a duplicate of this bug. ***
Comment 14 Markus Meier gentoo-dev 2009-11-27 16:37:20 UTC
*** Bug 294692 has been marked as a duplicate of this bug. ***
Comment 15 Rafał Mużyło 2009-11-27 17:39:57 UTC
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.
Comment 16 Christoph Brill (egore) (RESIGNED) 2010-07-04 13:09:00 UTC
Last occurence in 2009, blender 2.49b builds fine, closing.