Summary: | www-plugins/gnash-0.8.8 fails to build if Python 3 is set as system python | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gentoo |
Component: | New packages | Assignee: | Chí-Thanh Christopher Nguyễn <chithanh> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
gentoo
2011-10-17 04:41:55 UTC
Created attachment 290021 [details]
build.log
archtester # eselect python list
Available Python interpreters:
[1] python2.7
[2] python3.1 *
archtester # emerge gnash
>>> Emerging (4 of 4) www-plugins/gnash-0.8.8
>>> Installing (4 of 4) www-plugins/gnash-0.8.8
>>> Recording www-plugins/gnash in "world" favorites file...
This is all it takes to disprove the cause.
gnashmodule.c:7:1: warning: return type defaults to 'int'
gnashmodule.c:7:1: warning: no previous prototype for 'DL_EXPORT'
gnashmodule.c: In function 'DL_EXPORT':
gnashmodule.c:8:1: error: expected declaration specifiers before 'initgnash'
generally indicates that gcc is being lead to a wrong header. It's a bug, but not a python select type bug. Since mine builds I can't track the wrong header.
Try again, check versions of dependency packages. Re-open anew if you wish
Hi! Thanks for checking and for your useful comments. I re-emerged some dependencies of gnash and found that dev-libs/boost did not re-emerge successfully. It complains by way of an error comment (see below) that I cannot set USE="mpi python" if the version 3 python is selected. So I set USE="-python" on boost. Then boost emerged successfully. This didn't fix the emerge problem with gnash, however, it created a different error message. I tried a few other dependencies (pygtk, gtk+) but they all re-emerged fine. Then I got bored. In the end I also disabled the "python" USE flag on gnash. Then gnash emerges without error. boost emerge error comment: * The Boost.MPI python bindings do not support any other python version * than 2.x. Please either use eselect to select a python 2.x version or * disable the python and/or mpi use flag for =dev-libs/boost-1.46.1-r1. * ERROR: dev-libs/boost-1.46.1-r1 failed (setup phase): * unsupported python version |