Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146072 - net-p2p/ktorrent-1.0 fails to compile
Summary: net-p2p/ktorrent-1.0 fails to compile
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 19:13 UTC by sharpshopter
Modified: 2006-09-04 11:01 UTC (History)
2 users (show)

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 sharpshopter 2006-09-02 19:13:35 UTC
I recently emerged gcc-4.1, and now ktorrent fails to compile.  It has previously compiled successfully on the same box with some version of gcc-3 (can't remember which).

The relevant error:

/bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/
qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_
SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBU
G -O2 -O2 -march=athlon-xp -pipe -fforce-addr -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions  -c -o bnode.lo bnode.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/
qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_
SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBU
G -O2 -O2 -march=athlon-xp -pipe -fforce-addr -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions  -c -o error.lo error.cpp
bnode.cpp: In member function 'virtual void bt::BValueNode::printDebugInfo()':
bnode.cpp:45: error: 'Out' was not declared in this scope
bnode.cpp:47: error: 'Out' was not declared in this scope
bnode.cpp: In member function 'virtual void bt::BDictNode::printDebugInfo()':
bnode.cpp:91: error: 'Out' was not declared in this scope
bnode.cpp: In member function 'virtual void bt::BListNode::printDebugInfo()':
bnode.cpp:135: error: 'Out' was not declared in this scope
make[2]: *** [bnode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ktorrent-1.0/work/ktorrent-1.0/libtorrent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ktorrent-1.0/work/ktorrent-1.0'
make: *** [all] Error 2


emerge --info:

Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr"
DISTDIR="/usr/local/src"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo http://planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_AU"
MAKEOPTS="-j2"
PKGDIR="/usr/local/src/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk cli crypt curl directfb dlloader dri dvd emacs encode exif expat fam fastcgi ffmpeg flac gcj gd gdbm gif glut gmp gnutls gpm gtk gtk2 idn imagemagick imap imlib ipv6 isdnlog javascript jpeg lcms libg++ logrotate mad maildir mbox mhash mime mng mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis openal opengl pam pcre perl php png ppds pppd python qt4 readline real reflection samba sdl session slang sockets speex spell spl srvdir ssl tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xcomposite xine xml xml2 xmms xorg xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-03 01:19:14 UTC
I see a profile update. Yet another broken toolchain?

Try to "env-update && source /etc/profile", then start a new terminal and try to compile it again. If it doesn't work, please try to emerge the latest unstable version and see if it works.
Comment 2 Géraud Plagne 2006-09-03 02:52:06 UTC
(In reply to comment #1)
> I see a profile update. Yet another broken toolchain?
> 
> Try to "env-update && source /etc/profile", then start a new terminal and try
> to compile it again. If it doesn't work, please try to emerge the latest
> unstable version and see if it works.
> 

I had the same problem when switching from gcc-3.4.6 to gcc-4.1.1.
env-update didn't help.

Using ~x86 version (net-p2p/ktorrent-2.0.2) instead of 1.0 has worked.
Thanks for the advice.
Comment 3 sharpshopter 2006-09-03 04:46:59 UTC
2.0.2 works for me too. env-update didn't help.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-03 10:34:02 UTC

*** This bug has been marked as a duplicate of 64615 ***
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-04 09:33:18 UTC
*** Bug 146262 has been marked as a duplicate of this bug. ***
Comment 6 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-09-04 10:50:32 UTC
(In reply to comment #4)
> 
> *** This bug has been marked as a duplicate of 64615 ***

Err, how does this get to be a duplicate of bug #64615? net-p2p/ktorrent-1.0 cannot compile with gcc-4.1.1. I've asked Opfer from x86@gentoo.org to test it and it fails the same way for him. Therefore since gcc-4.1.1 is now stable I think net-p2p/ktorrent-1.2 should be stabilized too. Did you actually succeed in compiling net-p2p/ktorrent-1.0 with gcc-4.1.1?
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-04 11:01:30 UTC
IIRC it did compile with gcc-4.1 and profile 2006.0, if you need a stabilization, simply ask for it. The subject of this bug does not state so.