Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355141 - dev-python/telepathy-python-0.15.19 fails to build
Summary: dev-python/telepathy-python-0.15.19 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 03:33 UTC by Wang Bin
Modified: 2011-02-17 02:10 UTC (History)
2 users (show)

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


Attachments
buidl log (build.log,40.46 KB, text/plain)
2011-02-16 03:34 UTC, Wang Bin
Details
build log (telepathy-python-0.15.19:20110215-113301.log,40.46 KB, text/plain)
2011-02-16 03:39 UTC, Wang Bin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wang Bin 2011-02-16 03:33:33 UTC
dev-python/telepathy-python-0.15.19 is consistently failing to build on this
system. Please see attached build log.


Reproducible: Always
Comment 1 Wang Bin 2011-02-16 03:34:32 UTC
Created attachment 262673 [details]
buidl log
Comment 2 Wang Bin 2011-02-16 03:39:39 UTC
Created attachment 262675 [details]
build log
Comment 3 Wang Bin 2011-02-16 03:41:56 UTC
emege --info

Portage 2.1.9.39 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 15 Feb 2011 03:30:01 +0000
ccache version 3.1.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://61.135.158.199  http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/ http://gentoo.mirrors.404ster.com/distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-china /var/lib/layman/sunrise /var/lib/layman/wangbin"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr emacs emboss encode exif expat fam fastcgi ffmpeg firefox flac fontconfig fortran gd gdbm gdu gif gimp git gnome gnome-keyring gnutls gpm graphviz gstreamer gtk iconv icu java jpeg jpeg2k lame lcms ldap libnotify lock lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit postgres ppds pppd python qt3support raw readline samba sdl session smp socks5 spell sqlite sse sse2 ssl startup-notification subversion svg sysfs syslog taglib tcpd theora threads tiff truetype udev unicode usb vorbis wxwidgets x264 xcb xcomposite xft xml xorg xpm xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Rafał Mużyło 2011-02-16 03:50:45 UTC
Well, first guess would be: try '-j1', perhaps it's just parallel make.
Comment 5 Wang Bin 2011-02-16 04:10:41 UTC
(In reply to comment #4)
> Well, first guess would be: try '-j1', perhaps it's just parallel make.
> 

I tried MAKEOPTS="-j1" and still got the same error. It seems the patch file telepathy-python-0.15.19-install-twice.patch is not applied to src/Makefile.am?

I did some tests, by replacing python_src_prepare with python_copy_sources and put it after epatch, emerge could pass:

src_prepare() {
        #python_src_prepare

        # Don't install _generated/errors.py twice, bug #348386
        epatch "${FILESDIR}/${P}-install-twice.patch"
        python_copy_sources
        eautoreconf
}

But I don't know the fix is right or not?
Comment 6 Pacho Ramos gentoo-dev 2011-02-16 18:34:37 UTC
(In reply to comment #5)
> src_prepare() {
>         #python_src_prepare
> 
>         # Don't install _generated/errors.py twice, bug #348386
>         epatch "${FILESDIR}/${P}-install-twice.patch"
>         python_copy_sources
>         eautoreconf
> }
> 
> But I don't know the fix is right or not?
> 

I think simply moving python_src_prepare to the end should also work, could you try? Also please tell me your coreutils version (as stable version doesn't reports this kind of problem)
Comment 7 Pacho Ramos gentoo-dev 2011-02-16 18:46:34 UTC
+  16 Feb 2011; Pacho Ramos <pacho@gentoo.org> -telepathy-python-0.15.18.ebuild,
+  telepathy-python-0.15.19.ebuild:
+  Run python_src_prepare at the end of src_prepare as told by Arfrever, this
+  should fix bug #355141 (by wangbin). Remove old.
+
Comment 8 Wang Bin 2011-02-17 02:10:42 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > src_prepare() {
> >         #python_src_prepare
> > 
> >         # Don't install _generated/errors.py twice, bug #348386
> >         epatch "${FILESDIR}/${P}-install-twice.patch"
> >         python_copy_sources
> >         eautoreconf
> > }
> > 
> > But I don't know the fix is right or not?
> > 
> 
> I think simply moving python_src_prepare to the end should also work, could you
> try? Also please tell me your coreutils version (as stable version doesn't
> reports this kind of problem)
> 

It works, my coreutils version is 8.10, thanks.