Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260854 - rtorrent and libtorrent missed includes
Summary: rtorrent and libtorrent missed includes
Status: RESOLVED DUPLICATE of bug 212833
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 11:34 UTC by Victor Gaydov
Modified: 2009-03-04 14:30 UTC (History)
0 users

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


Attachments
libtorrent-0.11.9-cmath-include.patch (libtorrent-0.11.9-cmath-include.patch,2.56 KB, text/plain)
2009-03-02 11:35 UTC, Victor Gaydov
Details
rtorrent-0.7.9-includes.patch (rtorrent-0.7.9-includes.patch,1.35 KB, text/plain)
2009-03-02 11:35 UTC, Victor Gaydov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Gaydov 2009-03-02 11:34:12 UTC
when tried to compile libtorrent-0.11.9 and rtorrent-0.7.9
i had few errors because some headers were not included explicitly
(eg ctime and cstring). i think they were included in other headers in earlier versions
of gcc. (i have gcc 4.3 and glibc 2.9). i'll attach patches to add the includes,
maybe it helps someone :)

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Thu, 26 Feb 2009 18:30:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~* ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fsched2-use-traces -fpeel-loops -funswitch-loops -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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 /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fsched2-use-traces -fpeel-loops -funswitch-loops -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
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="aalib acl acpi aim alsa bash-completion berkdb bzip2 cairo cli color-console cracklib crypt cups dbus djvu dri dvi emacs encode fbcon foo2zjs_devises_hp1020 foomaticdb fortran fuse gdbm gif gpm hddtemp iconv id3 imagemagick irc isdnlog jabber jpeg libcaca lj midi mmx mmxext mp3 mudflap musepack nls nptl nptlonly objc ogg opengl openmp oss pam pcre pdf perl png ppds pppd python readline reflection rss ru ruby scanner sensord session slang spl sse sse2 ssl subversion svg sysfs taglib tcpd threads unicode usb userlocales utf8 vim vim-syntax wmf x86 xorg zlib" 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="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 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" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Victor Gaydov 2009-03-02 11:35:15 UTC
Created attachment 183672 [details]
libtorrent-0.11.9-cmath-include.patch
Comment 2 Victor Gaydov 2009-03-02 11:35:43 UTC
Created attachment 183673 [details]
rtorrent-0.7.9-includes.patch
Comment 3 Rafał Mużyło 2009-03-02 15:36:17 UTC
Unless gcc 4.3.2 became stable when I wasn't looking,
this is invalid.
This is fixed in unstable for >=rtorrent-0.8.0 and >=libtorrent-0.12.0.
Comment 4 Victor Gaydov 2009-03-02 17:38:26 UTC
ok, didn't know
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-04 14:30:00 UTC

*** This bug has been marked as a duplicate of bug 212833 ***