I am getting unmappable character for encoding ASCII error during rpm
generation on mock. I think I should set LANG as en_us.utf-8 for Turkish
characters.
How can I do that?

Mock Version: 1.0.12
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps
builddir/build/SPECS/sipxconfig.spec'], False,
'/var/lib/mock/centos-5-x86_64/root/', None, 0, True, 0, 500, 104, None,
logger=<mock.trace_decorator.getLog object at 0x2b46de81ad90>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64
--nodeps builddir/build/SPECS/sipxconfig.spec']
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/sipxconfig-4.4.0-274.gcff06.src.rpm
Child returncode was: 0
LEAVE do -->

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/sipxconfig.spec'], False,
'/var/lib/mock/centos-5-x86_64/root/', None, 0, True, 0, 500, 104, None,
logger=<mock.trace_decorator.getLog object at 0x2b46de81ad90>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps builddir/build/SPECS/sipxconfig.spec']
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.89551
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to