public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] docutils will not emerge
@ 2011-05-15 19:06 covici
  2011-05-15 19:33 ` [gentoo-user] " Remy Blank
  0 siblings, 1 reply; 7+ messages in thread
From: covici @ 2011-05-15 19:06 UTC (permalink / raw
  To: gentoo-user

Hi.  On my latest update dev-python/docutils-0.8_pre7034 will not
emerge.  I am using python2.7.

Here is the relevant portion of the build log:
copying docutils/writers/odf_odt/__init__.py -> build-3.2/lib/docutils/writers/odf_odt
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
warning: copy_build_py_2to3: byte-compiling is disabled, skipping.

copying aux dirs
running build_scripts
creating build-3.2/scripts-3.2
copying and adjusting tools/rst2html.py -> build-3.2/scripts-3.2
copying and adjusting tools/rst2s5.py -> build-3.2/scripts-3.2
copying and adjusting tools/rst2latex.py -> build-3.2/scripts-3.2
Traceback (most recent call last):
  File "setup.py", line 223, in <module>
    do_setup()
  File "setup.py", line 103, in do_setup
    dist = setup(**kwargs)
  File "/usr/lib64/python3.2/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python3.2/distutils/dist.py", line 919, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.2/distutils/dist.py", line 938, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.2/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.2/distutils/cmd.py", line 315, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.2/distutils/dist.py", line 938, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.2/distutils/command/build_scripts.py", line 51, in run
    self.copy_scripts()
  File "/usr/lib64/python3.2/distutils/command/build_scripts.py", line 83, in copy_scripts
    first_line = f.readline()
  File "/usr/lib64/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 106: ordinal not in range(128)
 * ERROR: dev-python/docutils-0.8_pre7034 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4853:  Called distutils_src_compile
 *   environment, line 1230:  Called python_execute_function 'distutils_building'
 *   environment, line 3422:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/docutils-0.8_pre7034',
 * the complete build log and the output of 'emerge -pqv =dev-python/docutils-0.8_pre7034'.
 * The complete build log is located at '/var/log/portage/dev-python:docutils-0.8_pre7034:20110515-183512.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/docutils-0.8_pre7034/temp/environment'.
 * S: '/var/tmp/portage/dev-python/docutils-0.8_pre7034/work/docutils-0.8_pre7034'

Any assistance would be appreciated.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: docutils will not emerge
  2011-05-15 19:06 [gentoo-user] docutils will not emerge covici
@ 2011-05-15 19:33 ` Remy Blank
  2011-05-15 20:19   ` covici
  0 siblings, 1 reply; 7+ messages in thread
From: Remy Blank @ 2011-05-15 19:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

covici@ccs.covici.com wrote:
> I am using python2.7.

No, you're not.

>  *   Building failed with CPython 3.2 in distutils_building() function
                            ^^^^^^^^^^^

Check what "eselect python list" shows you, and what USE_PYTHON is set
to in make.conf.

-- Remy


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: docutils will not emerge
  2011-05-15 19:33 ` [gentoo-user] " Remy Blank
@ 2011-05-15 20:19   ` covici
  2011-05-15 21:26     ` Remy Blank
  0 siblings, 1 reply; 7+ messages in thread
From: covici @ 2011-05-15 20:19 UTC (permalink / raw
  To: gentoo-user


Remy Blank <remy.blank@pobox.com> wrote:

> covici@ccs.covici.com wrote:
> > I am using python2.7.
> 
> No, you're not.
> 
> >  *   Building failed with CPython 3.2 in distutils_building() function
>                             ^^^^^^^^^^^
> 
> Check what "eselect python list" shows you, and what USE_PYTHON is set
> to in make.conf.
> 
Here is eselect python list
  [1]   python2.7 *
  [2]   python3.2

I have no USE_PYTHON in make.conf.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: docutils will not emerge
  2011-05-15 20:19   ` covici
@ 2011-05-15 21:26     ` Remy Blank
  2011-05-15 21:41       ` covici
                         ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Remy Blank @ 2011-05-15 21:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

covici@ccs.covici.com wrote:
> Here is eselect python list
>   [1]   python2.7 *
>   [2]   python3.2
> 
> I have no USE_PYTHON in make.conf.

Everything seems to be in order, then. The symptoms look very much like:

  http://bugs.gentoo.org/show_bug.cgi?id=366879

(Look at the duplicates for the symptoms.)

FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

-- Remy


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: docutils will not emerge
  2011-05-15 21:26     ` Remy Blank
@ 2011-05-15 21:41       ` covici
  2011-05-15 21:47       ` Hartmut Figge
  2011-05-15 21:56       ` covici
  2 siblings, 0 replies; 7+ messages in thread
From: covici @ 2011-05-15 21:41 UTC (permalink / raw
  To: gentoo-user

Remy Blank <remy.blank@pobox.com> wrote:

> covici@ccs.covici.com wrote:
> > Here is eselect python list
> >   [1]   python2.7 *
> >   [2]   python3.2
> > 
> > I have no USE_PYTHON in make.conf.
> 
> Everything seems to be in order, then. The symptoms look very much like:
> 
>   http://bugs.gentoo.org/show_bug.cgi?id=366879
> 
> (Look at the duplicates for the symptoms.)
> 
> FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

I have the following in my /etc/locale.gen

en_US ISO-8859-1
en_US.UTF-8 UTF-8

I also have unicode="yes" in /etc/conf.d/rc.conf -- is there anything
else I need to do?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: docutils will not emerge
  2011-05-15 21:26     ` Remy Blank
  2011-05-15 21:41       ` covici
@ 2011-05-15 21:47       ` Hartmut Figge
  2011-05-15 21:56       ` covici
  2 siblings, 0 replies; 7+ messages in thread
From: Hartmut Figge @ 2011-05-15 21:47 UTC (permalink / raw
  To: gentoo-user

Remy Blank:

> FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

Just for curiosity i have now tested. Normally i am using  docutils-0.7.
No problems with emerging docutils-0.8_pre7034.

hafi@i5 ~ $ eselect python list
Available Python interpreters:
  [1]   python2.4
  [2]   python2.7 *
  [3]   python3.1

hafi@i5 ~ $ locale
LANG=de_DE@euro
LC_CTYPE="de_DE@euro"
LC_NUMERIC="de_DE@euro"
LC_TIME="de_DE@euro"
LC_COLLATE="de_DE@euro"
LC_MONETARY="de_DE@euro"
LC_MESSAGES=en_US
LC_PAPER="de_DE@euro"
LC_NAME="de_DE@euro"
LC_ADDRESS="de_DE@euro"
LC_TELEPHONE="de_DE@euro"
LC_MEASUREMENT="de_DE@euro"
LC_IDENTIFICATION="de_DE@euro"
LC_ALL=

Now back to docutils-0.7. :)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: docutils will not emerge
  2011-05-15 21:26     ` Remy Blank
  2011-05-15 21:41       ` covici
  2011-05-15 21:47       ` Hartmut Figge
@ 2011-05-15 21:56       ` covici
  2 siblings, 0 replies; 7+ messages in thread
From: covici @ 2011-05-15 21:56 UTC (permalink / raw
  To: gentoo-user

Remy Blank <remy.blank@pobox.com> wrote:

> covici@ccs.covici.com wrote:
> > Here is eselect python list
> >   [1]   python2.7 *
> >   [2]   python3.2
> > 
> > I have no USE_PYTHON in make.conf.
> 
> Everything seems to be in order, then. The symptoms look very much like:
> 
>   http://bugs.gentoo.org/show_bug.cgi?id=366879
> 
> (Look at the duplicates for the symptoms.)
> 
> FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

OK, I did not have LANG= in the environment, so I put it and that made
docutils emerge properly -- thanks for the hint.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-15 21:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15 19:06 [gentoo-user] docutils will not emerge covici
2011-05-15 19:33 ` [gentoo-user] " Remy Blank
2011-05-15 20:19   ` covici
2011-05-15 21:26     ` Remy Blank
2011-05-15 21:41       ` covici
2011-05-15 21:47       ` Hartmut Figge
2011-05-15 21:56       ` covici

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox