Subject: Major nit: rtorrent won't build
To: None <pkgsrc-users@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-users
Date: 01/29/2007 09:17:55
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig29AE4FDCE5BA6BC861864774
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello all,

   net/libtorrent builds fine but net/rtorrent fails with:

---------------------------------------------
if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I../..
-I/usr/pkg/include -I/usr/include  -O2 -march=3Dathlon-xp -pipe
-I/usr/pkg/include -I/usr/include -march=3Dathlon-xp -g -DDEBUG
-I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include
-I/usr/pkg/include   -I/usr/pkg/include -MT download.o -MD -MP -MF
".deps/download.Tpo" -c -o download.o download.cc; \
        then mv -f ".deps/download.Tpo" ".deps/download.Po"; else rm -f
".deps/download.Tpo"; exit 1; fi
In file included from
/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/include/torrent/torrent.=
h:43,
                 from download.cc:46:
/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/include/torrent/download=
=2Eh:47:31:
torrent/peer/peer.h: No such file or directory
download.cc:49:36: torrent/data/file_list.h: No such file or directory
In file included from download.cc:53:
download.h:42:33: torrent/hash_string.h: No such file or directory
download.h:44:36: torrent/data/file_list.h: No such file or directory
In file included from download.cc:53:
download.h: In member function `bool core::Download::is_done() const':
download.h:72: error: `is_done' undeclared (first use this function)
download.h:72: error: (Each undeclared identifier is reported only once f=
or
   each function it appears in.)
download.h: In member function `bool core::Download::operator=3D=3D(const=

   std::string&) const':
download.h:160: error: incomplete type `torrent::HashString' does not hav=
e
   member `size_data'
download.h:160: error: incomplete type 'torrent::HashString' cannot be
used to
   name a scope
download.cc: In constructor `core::Download::Download(torrent::Download)'=
:
download.cc:93: error: incomplete type `torrent::FileList' does not have
member
   `root_dir'
download.cc:101: error: incomplete type `torrent::FileList' does not have=

   member `max_file_size'
download.cc:101: error: incomplete type `torrent::FileList' does not have=

   member `set_max_file_size'
download.cc: In member function `float core::Download::distributed_copies=
()
   const':
download.cc:230: error: `size_chunks' undeclared (first use this function=
)
download.cc: In member function `void
core::Download::set_root_directory(const
   std::string&)':
download.cc:260: error: `size_files' undeclared (first use this function)=

download.cc:260: error: `set_root_dir' undeclared (first use this functio=
n)

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/home/pkgsrc/pkgsrc/net/rtorrent/work/.gcc/bin/g++ -DHAVE_CONFIG_H -I.
-I../.. -I./..
-I/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/include -O2
-march=3Dathlon-xp -pipe -march=3Dathlon-xp -g -DDEBUG
-I/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/include/sigc++-2.0
-I/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/lib/sigc++-2.0/include=

-MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o
download.cc -L/home/pkgsrc/pkgsrc/net/rtorrent/work/.buildlink/lib
gmake[3]: *** [download.o] Error 1
gmake[3]: Leaving directory
`/home/pkgsrc/pkgsrc/net/rtorrent/work/rtorrent-0.7.1/src/core'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/pkgsrc/pkgsrc/net/rtorrent/work/rtorrent-0.7.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/pkgsrc/pkgsrc/net/rtorrent/work/rtorrent-0.7.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /home/pkgsrc/pkgsrc/net/rtorrent
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/pkgsrc/net/rtorrent
#
---------------------------------------------

   NetBSD/amd64 3.0, running pkgsrc-current.

--=20
Kind regards,
Jan Danielsson



--------------enig29AE4FDCE5BA6BC861864774
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFFva2zbgs4ia4rq9IRCig5AJ4rPVQtF+W/Qz37smm+SEh8j4KW6gCeOm3D
tIaojqlgwDYzGzVxa/70oAU=
=u6UM
-----END PGP SIGNATURE-----

--------------enig29AE4FDCE5BA6BC861864774--