| Summary: | net-libs/nodejs with python3.1 - invalid syntax | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Anton Kochkov <anton.kochkov> |
| Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander, schamane, staff |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info output
nodejs-0.4.8 buildlog fix for node working with python3 as the default python. |
||
|
Description
Anton Kochkov
2011-06-10 01:00:23 UTC
(In reply to comment #0) > >>> Emerging (1 of 2) net-libs/nodejs-0.4.8 > * node-v0.4.8.tar.gz RMD160 SHA1 SHA256 size 1) Please attach that file. 2) Please post your `emerge --info' output too. Created attachment 276569 [details]
emerge --info output
nodejs-0.4.8.tar.gz here http://rghost.net/10304951 Comment on attachment 276569 [details] emerge --info output (In reply to comment #3) > nodejs-0.4.8.tar.gz here http://rghost.net/10304951 Please attach the log, don't put it in a tar ball and do not compress it either - it's small enough as it is. > (In reply to comment #3)
> > nodejs-0.4.8.tar.gz here http://rghost.net/10304951
>
> Please attach the log, don't put it in a tar ball and do not compress it either
> - it's small enough as it is.
Er, wait. You uploaded a widely distributed source tar ball that our ebuilds have perfectly valid SRC_URI values for? Oh.
I was really referring to the log that you posted in the Description and that for some reason got completely mangled. Attach /that/.
Created attachment 276667 [details]
nodejs-0.4.8 buildlog
nodejs-0.4.9 - still same error for "fix" this error you need choose python2.7 as wide system python interpreter. This error shown only when python3.1 choosed Python-3 doesnt suppose to work with current portage... (In reply to comment #9) > Python-3 doesnt suppose to work with current portage... All other ebuilds works ok. except nodejs. Created attachment 280181 [details, diff]
fix for node working with python3 as the default python.
(In reply to comment #11) > Created attachment 280181 [details, diff] > fix for node working with python3 as the default python. Note that this tells node.js to use python2, and adds a python2 dep. I figure that by the time people are eliminating python2 from their systems entirely, node.js will be compatible with python3, so this fix should work until node.js is ready for python3. Please also see bug #364629 that is maybe a duplicate of this bug, but it has better ebuilds using the python eclass instead of manual sed. + 20 Feb 2012; Patrick Lauer <patrick@gentoo.org> nodejs-0.6.11.ebuild: + Restrict python to 2.* |