Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385107 - net-im/gajim-0.14.4-r1 fails to build with py3k active
Summary: net-im/gajim-0.14.4-r1 fails to build with py3k active
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 17:37 UTC by thomasg
Modified: 2011-10-04 17:09 UTC (History)
1 user (show)

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


Attachments
gajim_0.14.4-r1_fix_py3k_build.patch (gajim_0.14.4-r1_fix_py3k_build.patch,297 bytes, patch)
2011-09-30 17:38 UTC, thomasg
Details | Diff
build.log (build.log,52.77 KB, text/plain)
2011-09-30 17:42 UTC, thomasg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomasg 2011-09-30 17:37:37 UTC
Due to a bug in the ebuild, gajim fails to build when py3k is the active python version.
python_set_active_version has to come before python_pkg_setup.

Changing this fixes the build.

Reproducible: Always
Comment 1 thomasg 2011-09-30 17:38:25 UTC
Created attachment 288383 [details, diff]
gajim_0.14.4-r1_fix_py3k_build.patch

This patch fixes the ebuild so it installs on systems with py3k active.
Comment 2 thomasg 2011-09-30 17:42:25 UTC
Created attachment 288385 [details]
build.log

To be correct, build does not actually fail, but pkg_postinst and pkg_postrm do fail (see attached log).
Anyway, the patch fixes this and should be applied.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-10-02 19:50:37 UTC
can we have an emerge --info please?
Comment 4 thomasg 2011-10-03 03:31:19 UTC
(In reply to comment #3)
> can we have an emerge --info please?

Portage 2.2.0_alpha60 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-AMD_Phenom-tm-_II_X4_925_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 01 Oct 2011 00:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo enlightenment efl stuge java-overlay x11 pyneo tg sardemff7 mozilla local_overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=amdfam10 -g"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=amdfam10 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/             http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/            ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_DE en_US"
MAKEOPTS="-j5"
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/enlightenment /var/lib/layman/efl /var/lib/layman/stuge /var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/pyneo /var/lib/layman/tg /var/lib/layman/sardemff7 /var/lib/layman/mozilla /var/lib/local_overlay"
SYNC="rsync://praetorian/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apng berkdb bluetooth bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cscope cups curl curlwrappers cvs cxx dbus device-mapper dri dts dv dvb dvd dvdr eet emotion encode evas exchange exif extensions extras ffmpeg firefox flac fortran ft2232_spi ftdi gcj gdbm gif gimp glib gnutls gpm gstreamer gtk gtk3 gtkstyle gudev iconv icu imagemagick imlib ipv6 jabber jpeg jpeg2k kdrive lame libnotify libsamplerate lightning lm_sensors lua lzo mad matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nocd nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl pm-utils png policykit posix ppds pppd pulseaudio python python3 qt3support qt4 raw readline rtmp scanner sdl session slang smp sndfile speex spell sqlite sqlite3 sse sse2 ssl ssse3 subversion svg sysfs taglib tcpd theora threads thumbnails tiff truetype udev udev-acl ukit unicode usb v4l2 vaapi vdpau videos vim-pager vim-syntax vorbis vpx weather webkit webm wxwidgets x264 xcomposite xdg xine xml xorg xpm xscreensaver xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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" LINGUAS="de_DE en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2011-10-04 17:09:38 UTC
+  04 Oct 2011; Justin Lecher <jlec@gentoo.org> gajim-0.14.1-r2.ebuild,
+  gajim-0.14.4.ebuild, gajim-0.14.4-r1.ebuild:
+  Use python.eclass functions in correct order to make it build if py3k is
+  active, #385107; remove optional dep on net-misc/networkmanager[gnome]
+