Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 189770
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: René 'Necoro' Neumann <gentoo@necoro.eu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
vte-0.16.8-python-config.patch vte-0.16.8-python-config.patch patch René 'Necoro' Neumann 2007-08-22 00:30 0000 899 bytes Details | Diff
vte-0.16.8.ebuild vte-0.16.8.ebuild with patch applied text/plain René 'Necoro' Neumann 2007-08-22 00:32 0000 1.41 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 189770 depends on: 188029 Show dependency tree
Bug 189770 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-21 23:56 0000
vte-0.16.8 does not build the python module, even if the "python" useflag is
set:

python -c "import vte"
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named vte

See Comment#2 in bug #189556. I think it is related to this.

------- Comment #1 From René 'Necoro' Neumann 2007-08-22 00:02:39 0000 -------
Just saw the following message floating by during ./configure:

checking for headers required to compile python extensions... not found
Python bindings disabled.

------- Comment #2 From René 'Necoro' Neumann 2007-08-22 00:30:50 0000 -------
Created an attachment (id=128812) [details]
vte-0.16.8-python-config.patch

This is a patch disabling the call to "python-config". This can only considered
to be a workaround. A better way would be to make "python-config" recognize the
"--includes" parameter and return the correct result.

------- Comment #3 From René 'Necoro' Neumann 2007-08-22 00:32:32 0000 -------
Created an attachment (id=128813) [details]
vte-0.16.8.ebuild with patch applied

And here the ebuild applying this patch.

Changes to old version:
added 3 lines in src_unpack():
# python-config workaround
epatch ${FILESDIR}/${P}-python-config.patch
eautoconf

------- Comment #4 From Jakub Moc (RETIRED) 2007-08-22 05:26:21 0000 -------
Definitely python-2.4 related...

$ equery f vte | grep python
/usr/lib/python2.5
/usr/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages/gtk-2.0
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.a
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.la
/usr/lib/python2.5/site-packages/gtk-2.0/vtemodule.so

$ python
Python 2.5.1 (r251:54863, Aug 17 2007, 23:09:28) 
[GCC 4.2.0 (Gentoo 4.2.0)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vte
>>> 

------- Comment #5 From René 'Necoro' Neumann 2007-08-22 05:39:48 0000 -------
perhaps it works with python-2.5, because 2.5's python-config honors the
"--includes" option

------- Comment #6 From Gilles Dartiguelongue 2007-08-22 06:04:05 0000 -------
I'll have a look at the patch later today.

------- Comment #7 From Luis Medinas (RETIRED) 2007-08-22 23:58:08 0000 -------
i think we should bring python 2.5 to ~arch instead of patching vte and other
stuff that is broken with the current python.

------- Comment #8 From René 'Necoro' Neumann 2007-08-23 00:29:04 0000 -------
If you want to do this, I'd propose to mask this vte version until python-2.5
is unmasked.

But I think, patching the current python with the python-config proposed in bug
#188029 would be the easiest and best thing.

------- Comment #9 From Mart Raudsepp 2007-08-23 12:31:20 0000 -------
(In reply to comment #7)
> i think we should bring python 2.5 to ~arch instead of patching vte and other
> stuff that is broken with the current python.

I wouldn't like GNOME 2.20 stabling to be hindered with python2.5 stabling
being a precondition for that. It's a no-brainer to get a revbump of 2.4 with a
python-config fix (that is backwards compliant in reporting ldflags with no
argument) stable, while stabling 2.5 (once it gets out of mask even) can delay
for reasons unrelated to us.

------- Comment #10 From René 'Necoro' Neumann 2007-08-23 19:36:12 0000 -------
Ok ... now python-2.5 has been unmasked. Just putting ">=python-2.5" into the
vte-ebuild should be sufficient. (No more patching ...)

------- Comment #11 From Luis Medinas (RETIRED) 2007-08-23 20:31:59 0000 -------
(In reply to comment #10)
> Ok ... now python-2.5 has been unmasked. Just putting ">=python-2.5" into the
> vte-ebuild should be sufficient. (No more patching ...)
> 

No it isn't the right solution we need to wait to stablize python 2.5.

------- Comment #12 From René 'Necoro' Neumann 2007-08-23 20:54:50 0000 -------
(In reply to comment #11)
> (In reply to comment #10)
> > Ok ... now python-2.5 has been unmasked. Just putting ">=python-2.5" into the
> > vte-ebuild should be sufficient. (No more patching ...)
> > 
> 
> No it isn't the right solution we need to wait to stablize python 2.5.
> 
But vte-0.16.8 is unstable too - so it wouldn't matter ... And I think, a
non-optimal temporary solution is better then just leaving it buggy

------- Comment #13 From Daniel Gryniewicz 2007-08-24 21:25:19 0000 -------
Okay, I've made the dep >=dev-lang/python-2.4.4-r5.  This version has the fixed
python-config.  All is now well with the world.

------- Comment #14 From René 'Necoro' Neumann 2007-08-24 21:29:35 0000 -------
Great - thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug