Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232779 - net-p2p/deluge + dev-lang/python with USE="-cxx" - unable to execute -fno-strict-aliasing
Summary: net-p2p/deluge + dev-lang/python with USE="-cxx" - unable to execute -fno-str...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 19:07 UTC by fctk86
Modified: 2008-08-06 17:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fctk86 2008-07-23 19:07:09 UTC
if i try to emerge net-p2p/deluge-0.5.9.1 i get the following error:

# emerge -av deluge

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-p2p/deluge-0.5.9.1  USE="-libnotify" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-p2p/deluge-0.5.9.1 to /
 * deluge-0.5.9.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking deluge-0.5.9.1.tar.gz ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking deluge-0.5.9.1.tar.gz to /var/tmp/portage/net-p2p/deluge-0.5.9.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/deluge-0.5.9.1/work/deluge-torrent-0.5.9.1 ...
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/deluge
copying src/pref.py -> build/lib.linux-i686-2.4/deluge
copying src/__init__.py -> build/lib.linux-i686-2.4/deluge
copying src/deluge_stats.py -> build/lib.linux-i686-2.4/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.4/deluge
copying src/search.py -> build/lib.linux-i686-2.4/deluge
copying src/dgtk.py -> build/lib.linux-i686-2.4/deluge
copying src/_dbus.py -> build/lib.linux-i686-2.4/deluge
copying src/tab_details.py -> build/lib.linux-i686-2.4/deluge
copying src/plugins.py -> build/lib.linux-i686-2.4/deluge
copying src/common.py -> build/lib.linux-i686-2.4/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.4/deluge
copying src/files.py -> build/lib.linux-i686-2.4/deluge
copying src/interface.py -> build/lib.linux-i686-2.4/deluge
copying src/bookmark.py -> build/lib.linux-i686-2.4/deluge
copying src/wizard.py -> build/lib.linux-i686-2.4/deluge
copying src/browser.py -> build/lib.linux-i686-2.4/deluge
copying src/core.py -> build/lib.linux-i686-2.4/deluge
running build_ext
building 'deluge_core' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/libtorrent
creating build/temp.linux-i686-2.4/libtorrent/src
creating build/temp.linux-i686-2.4/libtorrent/src/kademlia
creating build/temp.linux-i686-2.4/src
-fno-strict-aliasing -DNDEBUG -O2 -march=athlon-xp -pipe -O2 -march=athlon-xp -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/ip_filter.cpp -o build/temp.linux-i686-2.4/libtorrent/src/ip_filter.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
unable to execute -fno-strict-aliasing: No such file or directory
error: command '-fno-strict-aliasing' failed with exit status 1
 * 
 * ERROR: net-p2p/deluge-0.5.9.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2635:  Called distutils_src_compile
 *             environment, line  750:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-p2p/deluge-0.5.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-0.5.9.1/temp/environment'.
 *

if then i emerge dev-lang/python with the "cxx" use flag and then re-emerge
deluge, everything goes ok. so i think a check in deluge ebuild should be
added to see if python had been emerged with all the needed use flags.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-23 21:53:21 UTC
please paste your emerge --info.
Comment 2 fctk86 2008-07-24 09:41:16 UTC
# emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Sempron(tm) 2600+
Timestamp of tree: Mon, 14 Jul 2008 10:00:02 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext minimal mmx mmxext sse x86" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="dir autoindex mime authz_host" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-08-05 18:10:40 UTC
With python-2.5 you don't have that issue, do you?
Comment 4 fctk86 2008-08-06 09:38:27 UTC
after having upgraded to python-2.5 i can emerge deluge without any problem (there is no 'cxx' use flag to set for python-2.5).
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-08-06 17:07:35 UTC
Okay, since 2.5 is stable in all arches, we'll close this as WONTFIX