Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522632 - net-libs/rb_libtorrent-0.16.10 - In file included from disk_buffer_pool.cpp:33:0: ../include/libtorrent/disk_buffer_pool.hpp:52:2: error: expected class-name before '{' token
Summary: net-libs/rb_libtorrent-0.16.10 - In file included from disk_buffer_pool.cpp:3...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 09:58 UTC by Juanlu Pérez
Modified: 2014-11-07 21:54 UTC (History)
1 user (show)

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


Attachments
emerge --info '=net-libs/rb_libtorrent-0.16.10::gentoo' (emerge-info.log,5.82 KB, text/plain)
2014-09-12 10:02 UTC, Juanlu Pérez
Details
Build log (build.log,73.43 KB, text/plain)
2014-09-12 10:09 UTC, Juanlu Pérez
Details
ebuild environment file (environment,185.41 KB, text/plain)
2014-09-12 10:10 UTC, Juanlu Pérez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juanlu Pérez 2014-09-12 09:58:27 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar
\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.10\" "-DP
ACKAGE_STRING=\"libtorrent-rasterbar 0.16.10\"" -DPACKAGE_BUGREPORT=\"arvid@rast
erbar.com\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-r
asterbar\" -DVERSION=\"0.16.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SY
S_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DL
T_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=1 -DHAVE_BOOST_SYSTEM=1 -DHAVE
_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE
_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE
_BOOST_PYTHON=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HA
SH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -
DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I..
/include -Os -I/usr/include -march=native -O2 -pipe -fvisibility-inlines-hidden 
-c disk_buffer_pool.cpp  -fPIC -DPIC -o .libs/disk_buffer_pool.o
In file included from disk_buffer_pool.cpp:33:0:
../include/libtorrent/disk_buffer_pool.hpp:52:2: error: expected class-name befo
re '{' token
make[1]: *** [disk_buffer_pool.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar
\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.10\" "-DP
ACKAGE_STRING=\"libtorrent-rasterbar 0.16.10\"" -DPACKAGE_BUGREPORT=\"arvid@rast
erbar.com\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-r
asterbar\" -DVERSION=\"0.16.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SY
S_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_
H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DL
T_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=1 -DHAVE_BOOST_SYSTEM=1 -DHAVE
_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE
_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE
_BOOST_PYTHON=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HA
SH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -
DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I..
/include -Os -I/usr/include -march=native -O2 -pipe -fvisibility-inlines-hidden 
-c create_torrent.cpp -o create_torrent.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"libtorrent-rasterbar
\" -DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.10\" "-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.10\"" -DPACKAGE_BUGREPORT=\"arvid@rasterbar.com\" -DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" -DVERSION=\"0.16.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=1 -DHAVE_BOOST_SYSTEM=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 -DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 -DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os -I/usr/include -march=native -O2 -pipe -fvisibility-inlines-hidden -c disk_buffer_holder.cpp -o disk_buffer_holder.o >/dev/null 2>&1
make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/work/libtorrent-rasterbar-0.16.10/src'
make: *** [all-recursive] Error 1
 * ERROR: net-libs/rb_libtorrent-0.16.10::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/rb_libtorrent-0.16.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/rb_libtorrent-0.16.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/work/libtorrent-rasterbar-0.16.10'
 * S: '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/work/libtorrent-rasterbar-0.16.10'

 * Messages for package net-libs/rb_libtorrent-0.16.10:

 * ERROR: net-libs/rb_libtorrent-0.16.10::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/rb_libtorrent-0.16.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/rb_libtorrent-0.16.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/work/libtorrent-rasterbar-0.16.10'
 * S: '/var/tmp/portage/net-libs/rb_libtorrent-0.16.10/work/libtorrent-rasterbar-0.16.10'

Reproducible: Always
Comment 1 Juanlu Pérez 2014-09-12 10:02:01 UTC
Created attachment 384608 [details]
emerge --info '=net-libs/rb_libtorrent-0.16.10::gentoo'
Comment 2 Juanlu Pérez 2014-09-12 10:06:45 UTC
# emerge -pqv '=net-libs/rb_libtorrent-0.16.10::gentoo'
[ebuild   R   ] net-libs/rb_libtorrent-0.16.10  USE="python ssl static-libs -debug -doc -examples" 

 * IMPORTANT: 16 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 3 Juanlu Pérez 2014-09-12 10:09:01 UTC
Created attachment 384610 [details]
Build log
Comment 4 Juanlu Pérez 2014-09-12 10:10:43 UTC
Created attachment 384612 [details]
ebuild environment file
Comment 5 Juanlu Pérez 2014-09-12 10:33:49 UTC
I have this same issue on two different machines, one of them with hardened profile.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2014-09-13 09:53:10 UTC
Any change you can try the latest rb_libtorrent until I study the attached files?
Comment 7 Juanlu Pérez 2014-09-13 14:03:46 UTC
(In reply to Markos Chandras from comment #6)
> Any change you can try the latest rb_libtorrent until I study the attached
> files?

# echo "net-libs/rb_libtorrent ~amd64" >> /etc/portage/package.keywords/rb_libtorrent

# emerge -q rb_libtorrent 

 * IMPORTANT: 16 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-libs/rb_libtorrent-0.16.17
>>> Installing (1 of 1) net-libs/rb_libtorrent-0.16.17
>>> Recording net-libs/rb_libtorrent in "world" favorites file...

!!! existing preserved libs found

 * IMPORTANT: 16 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2014-11-07 21:54:06 UTC
0.16.17 is stable. 0.16.10 has been removed so closing this bug as obsolete