Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348386 - dev-python/telepathy-python-0.15.18 fails to build
Summary: dev-python/telepathy-python-0.15.18 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL: https://bugs.freedesktop.org//show_bu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 22:08 UTC by Jonathan Callen (RETIRED)
Modified: 2011-02-10 19:14 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (dev-python:telepathy-python-0.15.18:20101210-220407.log,34.48 KB, text/plain)
2010-12-10 22:08 UTC, Jonathan Callen (RETIRED)
Details
remove double entry of erros.py from Makefile.am (telepathy-python-0.15.19-install.patch,366 bytes, patch)
2010-12-20 15:15 UTC, Reimundo Heluani
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2010-12-10 22:08:05 UTC
dev-python/telepathy-python-0.15.18 is consistently failing to build on this system. Please see attached build log.
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-12-10 22:08:32 UTC
Created attachment 256863 [details]
Build log
Comment 2 Reimundo Heluani 2010-12-20 12:32:40 UTC
Same on my system, it fails on install after succesfully compiling. This happened after upgrading to python 2.7. On Python 2.6 it compiles fine.
Comment 3 Reimundo Heluani 2010-12-20 15:15:24 UTC
Makefile.am is trying to install twice the same file (errors.py) this is a problem with newer autotools. Attached is a patch that solves the issue for me at least. Filed a bug upstream.

R.
Comment 4 Reimundo Heluani 2010-12-20 15:15:55 UTC
Created attachment 257618 [details, diff]
remove double entry of erros.py from Makefile.am
Comment 5 Keith Rusler 2011-02-04 12:07:31 UTC
Can we get this patch in the tree?
Comment 6 Pacho Ramos gentoo-dev 2011-02-07 19:42:58 UTC
Please retry with 0.15.19
Comment 7 Keith Rusler 2011-02-08 03:28:16 UTC
Still fails with it: /usr/bin/install: will not overwrite just-created `/var/tmp/portage/dev-python/telepathy-python-0.15.19/image//usr/lib64/python2.7/site-packages/telepathy/_generated/errors.py' with `_generated/errors.py'
Comment 8 Pacho Ramos gentoo-dev 2011-02-08 09:25:42 UTC
(In reply to comment #3)
> Makefile.am is trying to install twice the same file (errors.py) this is a
> problem with newer autotools. Attached is a patch that solves the issue for me
> at least. Filed a bug upstream.
> 
> R.
> 

What autotools version start to fail on this cases?
Comment 9 Pacho Ramos gentoo-dev 2011-02-08 09:38:47 UTC
+  08 Feb 2011; Pacho Ramos <pacho@gentoo.org> telepathy-python-0.15.19.ebuild,
+  +files/telepathy-python-0.15.19-install-twice.patch:
+  Don't install errors.py twice as it fails (bug #348386 by Jonathan Callen and
+  patch by Reimundo Heluani).
+
Comment 10 Reimundo Heluani 2011-02-08 10:43:02 UTC
The patch has been applied to git master upstream ( https://bugs.freedesktop.org//show_bug.cgi?id=32526 ) don't know in which version it got released...

R.
Comment 11 xenon 2011-02-10 17:23:46 UTC
(In reply to comment #10)
> The patch has been applied to git master upstream (
> https://bugs.freedesktop.org//show_bug.cgi?id=32526 ) don't know in which
> version it got released...
> 
> R.
> 

The patch hasn't been included upstream yet. The latest package (0.15.19) is dated December 3rd.

This said, it shouldn't make a difference as long as we apply the patch through portage, but - although the patch applies correctly - install still fails because of the same problem.
Comment 12 Reimundo Heluani 2011-02-10 18:05:40 UTC
Not sure which autotools update did the damage on my system, but I'm running sys-devel/automake-1.11.1 and sys-devel/autoconf-2.68 and the patch allows me to install the package dev-python/telepathy-python-0.15.18 without trouble. Haven't tried yet with 0.15.19.
Comment 13 Reimundo Heluani 2011-02-10 18:09:12 UTC
Just checked with 0.15.19 and it installs fine on my system.

Comment 14 xenon 2011-02-10 19:01:04 UTC
(In reply to comment #12)
> Not sure which autotools update did the damage on my system, but I'm running
> sys-devel/automake-1.11.1 and sys-devel/autoconf-2.68 and the patch allows me
> to install the package dev-python/telepathy-python-0.15.18 without trouble.
> Haven't tried yet with 0.15.19.
> 

Same automake and autoconf as you, 0.15.18 installs fine *without* the patch (it's not in the ebuild and I didn't apply it manually). Like I said, 0.15.19 fails to install *despite* the patch.
Comment 15 Keith Rusler 2011-02-10 19:14:58 UTC
(In reply to comment #14)
> (In reply to comment #12)
> > Not sure which autotools update did the damage on my system, but I'm running
> > sys-devel/automake-1.11.1 and sys-devel/autoconf-2.68 and the patch allows me
> > to install the package dev-python/telepathy-python-0.15.18 without trouble.
> > Haven't tried yet with 0.15.19.
> > 
> 
> Same automake and autoconf as you, 0.15.18 installs fine *without* the patch
> (it's not in the ebuild and I didn't apply it manually). Like I said, 0.15.19
> fails to install *despite* the patch.
> 

I have only those versions in portage, and neither installs for me =[