pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Major nit: rtorrent won't build



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=athlon-xp -pipe
-I/usr/pkg/include -I/usr/include -march=athlon-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.h: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 for
   each function it appears in.)
download.h: In member function `bool core::Download::operator==(const
   std::string&) const':
download.h:160: error: incomplete type `torrent::HashString' does not have
   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 function)

[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=athlon-xp -pipe -march=athlon-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.

-- 
Kind regards,
Jan Danielsson


Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index