Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218512 - deluge-0.5.8.5 is trying to use /usr/bin/gcc-4.1.0?
Summary: deluge-0.5.8.5 is trying to use /usr/bin/gcc-4.1.0?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 04:54 UTC by Eddie Parker
Modified: 2008-04-20 04:57 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 Eddie Parker 2008-04-20 04:54:40 UTC
Hello,

I'm not quite certain what's going on here.  Trying to emerge deluge gives me a set of errors, but if I manually issue a 'make', it succeeds.

Here's my error output:

megatron / # emerge deluge
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-p2p/deluge-0.5.8.5 to /
 * deluge-0.5.8.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking deluge-0.5.8.5.tar.gz ;-) ...                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking deluge-0.5.8.5.tar.gz to /var/tmp/portage/net-p2p/deluge-0.5.8.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/deluge-0.5.8.5/work/deluge-torrent-0.5.8.5 ...
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/wizard.py -> build/lib.linux-i686-2.4/deluge
copying src/pref.py -> build/lib.linux-i686-2.4/deluge
copying src/plugins.py -> build/lib.linux-i686-2.4/deluge
copying src/core.py -> build/lib.linux-i686-2.4/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.4/deluge
copying src/tab_details.py -> build/lib.linux-i686-2.4/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.4/deluge
copying src/bookmark.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/deluge_stats.py -> build/lib.linux-i686-2.4/deluge
copying src/interface.py -> build/lib.linux-i686-2.4/deluge
copying src/search.py -> build/lib.linux-i686-2.4/deluge
copying src/browser.py -> build/lib.linux-i686-2.4/deluge
copying src/files.py -> build/lib.linux-i686-2.4/deluge
copying src/__init__.py -> build/lib.linux-i686-2.4/deluge
copying src/common.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
/usr/bin/gcc-4.1.0 -fno-strict-aliasing -DNDEBUG -O2 -march=pentium4 -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/file_pool.cpp -o build/temp.linux-i686-2.4/libtorrent/src/file_pool.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 /usr/bin/gcc-4.1.0: No such file or directory
error: command '/usr/bin/gcc-4.1.0' failed with exit status 1
 *
 * ERROR: net-p2p/deluge-0.5.8.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2593:  Called distutils_src_compile
 *             environment, line  743:  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.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-0.5.8.5/temp/environment'.
 *

 * Messages for package net-p2p/deluge-0.5.8.5:

 *
 * ERROR: net-p2p/deluge-0.5.8.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2593:  Called distutils_src_compile
 *             environment, line  743:  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.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-0.5.8.5/temp/environment'.
 *


Output of temp/environment:

megatron / # emerge deluge
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-p2p/deluge-0.5.8.5 to /
 * deluge-0.5.8.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking deluge-0.5.8.5.tar.gz ;-) ...                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking deluge-0.5.8.5.tar.gz to /var/tmp/portage/net-p2p/deluge-0.5.8.5/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-p2p/deluge-0.5.8.5/work/deluge-torrent-0.5.8.5 ...
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/wizard.py -> build/lib.linux-i686-2.4/deluge
copying src/pref.py -> build/lib.linux-i686-2.4/deluge
copying src/plugins.py -> build/lib.linux-i686-2.4/deluge
copying src/core.py -> build/lib.linux-i686-2.4/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.4/deluge
copying src/tab_details.py -> build/lib.linux-i686-2.4/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.4/deluge
copying src/bookmark.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/deluge_stats.py -> build/lib.linux-i686-2.4/deluge
copying src/interface.py -> build/lib.linux-i686-2.4/deluge
copying src/search.py -> build/lib.linux-i686-2.4/deluge
copying src/browser.py -> build/lib.linux-i686-2.4/deluge
copying src/files.py -> build/lib.linux-i686-2.4/deluge
copying src/__init__.py -> build/lib.linux-i686-2.4/deluge
copying src/common.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
/usr/bin/gcc-4.1.0 -fno-strict-aliasing -DNDEBUG -O2 -march=pentium4 -pipe -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c libtorrent/src/file_pool.cpp -o build/temp.linux-i686-2.4/libtorrent/src/file_pool.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 /usr/bin/gcc-4.1.0: No such file or directory
error: command '/usr/bin/gcc-4.1.0' failed with exit status 1
 *
 * ERROR: net-p2p/deluge-0.5.8.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2593:  Called distutils_src_compile
 *             environment, line  743:  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.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-0.5.8.5/temp/environment'.
 *

 * Messages for package net-p2p/deluge-0.5.8.5:

 *
 * ERROR: net-p2p/deluge-0.5.8.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2593:  Called distutils_src_compile
 *             environment, line  743:  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.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/deluge-0.5.8.5/temp/environment'.
 *


I'm not sure why it thinks that my CC is gcc-4.1.0:

megatron deluge # gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6
 [2] i686-pc-linux-gnu-3.4.6-hardenednopie
 [3] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [4] i686-pc-linux-gnu-3.4.6-hardenednossp
 [5] i686-pc-linux-gnu-3.4.6-vanilla
 [6] i686-pc-linux-gnu-4.2.2 *

I'm not certain if it's my setup or the way the ebuild is created.

Reproducible: Always
Comment 1 Eddie Parker 2008-04-20 04:57:21 UTC
Please disregard.  I just realized I had a file in /etc/portage/env/net-p2p/deluge that specified this for another bug.

Apologies.