Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) dev-python/urwid-1.1.0 emerge failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sat Mar 08, 2014 6:42 pm    Post subject: (Solved) dev-python/urwid-1.1.0 emerge failed Reply with quote

please help, here is my console output

Code:
>>> Emerging (1 of 3) dev-python/urwid-1.1.0
 * urwid-1.1.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking urwid-1.1.0.tar.gz to /tmp/portage/dev-python/urwid-1.1.0/work
>>> Source unpacked in /tmp/portage/dev-python/urwid-1.1.0/work
>>> Preparing source in /tmp/portage/dev-python/urwid-1.1.0/work/urwid-1.1.0 ...
 * Applying urwid-1.1.0-sphinx.patch ...                                                                                                                             [ ok ]
RefactoringTool: Skipping implicit fixer: buffer
RefactoringTool: Skipping implicit fixer: idioms
RefactoringTool: Skipping implicit fixer: set_literal
RefactoringTool: Skipping implicit fixer: ws_comma
RefactoringTool: Refactored docs/conf.py
RefactoringTool: Files that were modified:
RefactoringTool: docs/conf.py
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-python/urwid-1.1.0/work/urwid-1.1.0 ...
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-python/urwid-1.1.0/work/urwid-1.1.0 ...
 * Building of dev-python/urwid-1.1.0 with CPython 2.7...
python2.7 setup.py build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib.linux-x86_64-2.7
creating build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/treetools.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/listbox.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/monitored_list.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/old_str_util.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/curses_display.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/escape.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/widget.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/raw_display.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/decoration.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/tests.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/util.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/compat.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/version.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/font.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/main_loop.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/text_layout.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/signals.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/wimp.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/graphics.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/web_display.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/html_fragment.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/command_map.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/container.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/vterm_test.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/split_repr.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/__init__.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/vterm.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/display_common.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/canvas.py -> build-2.7/lib.linux-x86_64-2.7/urwid
copying urwid/lcd_display.py -> build-2.7/lib.linux-x86_64-2.7/urwid
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'urwid.str_util' extension
creating build-2.7/temp.linux-x86_64-2.7
creating build-2.7/temp.linux-x86_64-2.7/source
x86_64-pc-linux-gnu-gcc -pthread -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c source/str_util.c -o build-2.7/temp.linux-x86_64-2.7/source/str_util.o
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing build-2.7/temp.linux-x86_64-2.7/source/str_util.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-x86_64-2.7/urwid/str_util.so
 * Building of dev-python/urwid-1.1.0 with CPython 3.2...
python3.2 setup.py build -b build-3.2
Traceback (most recent call last):
  File "setup.py", line 28, in <module>
    from setuptools import setup, Extension # distribute required for Python 3
ImportError: No module named setuptools
 * ERROR: dev-python/urwid-1.1.0::gentoo failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4824:  Called distutils_src_compile
 *   environment, line 1184:  Called python_execute_function 'distutils_building'
 *   environment, line 3218:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/urwid-1.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/urwid-1.1.0::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-python/urwid-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-python/urwid-1.1.0/temp/environment'.
 * Working directory: '/tmp/portage/dev-python/urwid-1.1.0/work/urwid-1.1.0'
 * S: '/tmp/portage/dev-python/urwid-1.1.0/work/urwid-1.1.0'

>>> Failed to emerge dev-python/urwid-1.1.0, Log file:

>>>  '/tmp/portage/dev-python/urwid-1.1.0/temp/build.log'

 


Last edited by <3 on Sun Mar 09, 2014 11:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Mar 09, 2014 2:30 am    Post subject: Reply with quote

the testing branch version dev-python/urwid-1.1.2 works today
1.02 worked several weeks ago, then it started failling
1.1.0 did not work (ever?)
1.1.1 did not work (ever?)
1.1.1-r1 did not work (ever?)
suggest
Code:
echo "dev-python/urwid-1.1.2 ~amd64"  >> /etc/portage/package.keywords
eselect python set python3.3
emerge urwid python-updater
python-updater

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Sun Mar 09, 2014 6:52 am    Post subject: Reply with quote

I have just compiled urwid 1.1.0, 1.1.1 and 1.1.1-r1 with no problem. My build system has python 2.7.5-r3 and 3.3.3 installed. My python default is 2.7. Had been using 1.1.1-r1 since Jan 25. As 1.1.0 in currently installed from this test I'll leave it and see how it goes.

The build log mentions trying to use python 3.2 which was uninstalled on my system Dec 9 last year when python updated to 3.3.2. Wondering if other parts need to be updated then have another go at urwid.
_________________
Beware the grue.
Back to top
View user's profile Send private message
<3
Veteran
Veteran


Joined: 21 Oct 2004
Posts: 1081

PostPosted: Sun Mar 09, 2014 11:06 pm    Post subject: Reply with quote

Thanks DONAHUE that worked.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Mar 10, 2014 2:33 am    Post subject: Reply with quote

apparently results vary depending on how many and which and when pythons were merged. glad it worked for you.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum