Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113303 - compile bug solved in libtorrent-devel mail list
Summary: compile bug solved in libtorrent-devel mail list
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 17:27 UTC by a. j. r. s.
Modified: 2005-11-22 17:47 UTC (History)
0 users

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


Attachments
revision ebuild solve the problem (libtorrent-0.8.0-r1.ebuild,1.04 KB, text/plain)
2005-11-22 17:31 UTC, a. j. r. s.
Details
libtorrent patch provided by Karol Kreski in libtorrent-devel mail list (libtorrent-inttypes.patch,320 bytes, patch)
2005-11-22 17:33 UTC, a. j. r. s.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description a. j. r. s. 2005-11-22 17:27:56 UTC
This is the revision ebuild that i have made. it's just cut and paste and the
patch found in the libtorrent-devel list. provided by Karol Kreski

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




This is the log provided by Karol Krenski in libtorrent-devel, the same as in my
system.

#v+
In file included from http.cc:40:
http.h:71: error: syntax error before `)' token
http.h:72: error: semicolon missing after declaration of `torrent::Http'
http.h: In constructor `torrent::Http::Http()':
http.h:56: error: class `torrent::Http' does not have any field named `m_stream
  '
http.h:56: error: class `torrent::Http' does not have any field named `
  m_timeout'
http.h: In member function `const std::string& torrent::Http::url() const':
http.h:64: error: `m_url' undeclared (first use this function)
http.h:64: error: (Each undeclared identifier is reported only once for each
  function it appears in.)
http.h: In member function `std::iostream* torrent::Http::stream()':
http.h:68: error: `m_stream' undeclared (first use this function)
http.h: At global scope:
http.h:72: error: `uint32_t' was not declared in this scope
http.h:72: error: syntax error before `)' token
http.h:72: error: ISO C++ forbids defining types within return type
http.h:72: error: two or more data types in declaration of `set_timeout'
http.h:72: error: semicolon missing after declaration of `class torrent::Http'
http.h: In function `int torrent::set_timeout(...)':
http.h:72: error: `m_timeout' undeclared (first use this function)
http.h:72: error: `seconds' undeclared (first use this function)
http.h: At global scope:
http.h:74: error: syntax error before `&' token
http.h:75: error: syntax error before `&' token
http.h:78: error: syntax error before `&' token
http.h:83: error: syntax error before `*' token
http.h:88: error: 'uint32_t' is used as a type, but is not defined as a type.
http.h:90: error: 'Signal' is used as a type, but is not defined as a type.
http.h:91: error: 'SignalString' is used as a type, but is not defined as a
  type.
http.h:93: error: syntax error before `private'
http.h:95: error: syntax error before `&' token
http.h:95: error: `void operator=(...)' must be a nonstatic member function
http.h:95: error: `void operator=(...)' must take exactly two arguments
http.h:97: error: syntax error before `;' token
http.cc:44: error: `sigc::slot0<torrent::Http*> torrent::Http::m_factory' is
  not a static member of `class torrent::Http'
http.cc:50: error: no `void torrent::Http::set_factory(const
  sigc::slot0<torrent::Http*>&)' member function declared in class `
  torrent::Http'
http.cc: In member function `void torrent::Http::set_factory(const
  sigc::slot0<torrent::Http*>&)':
http.cc:51: error: `m_factory' undeclared (first use this function)
http.cc: At global scope:
http.cc:55: error: no `torrent::Http* torrent::Http::call_factory()' member
  function declared in class `torrent::Http'
make[3]: *** [http.lo] Error 1
#v-

Info:
gcc-3.3.6
glibc-2.3.6
Comment 1 a. j. r. s. 2005-11-22 17:31:54 UTC
Created attachment 73404 [details]
revision ebuild solve the problem

Just a cut and paste ebuild, my first one, am not a programer.
Comment 2 a. j. r. s. 2005-11-22 17:33:26 UTC
Created attachment 73405 [details, diff]
libtorrent patch provided by Karol Kreski in libtorrent-devel mail list

This solve the problem
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-22 17:47:08 UTC
This is already fixed (without revbump being a problem with build). 
I was already looking forward for the patch (I'm subscribed to the mailing 
list, or I wouldn't be a maintainer) but it wasn't manifesting for me here. I 
got report via IRC that it was needed at least on one system and applied it. 
Please sync and you should be able to merge it fine.