Не собирается net-p2p/btg-0.9.7

Пробовал на разных машинах, разные версии.

Лог сборки:

Цитата:
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... yes
checking for libgnutls-config... (cached) /usr/bin/libgnutls-config
checking whether the Boost::IOStreams library is available... yes
checking for main in -lboost_iostreams... yes
checking whether the Boost::Filesystem library is available... yes
checking for main in -lboost_filesystem... yes
checking whether the Boost::DateTime library is available... yes
checking for main in -lboost_date_time... yes
checking whether the Boost::Thread library is available... yes
checking for main in -lboost_thread... yes
checking whether the Boost::Program_Options library is available... yes
checking for main in -lboost_program_options... yes
checking whether Rasterbar Libtorrent headers can be used... yes
checking whether Rasterbar Libtorrent library can be used... no
configure: error: Cannot link with Rasterbar Libtorrent

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-p2p/btg-0.9.7/work/btg-0.9.7/config.log
*
* ERROR: net-p2p/btg-0.9.7 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2376: Called econf 'src_compile' 'src_compile' '--disable-debug' '--enable-gui' '--enable-cli' '--disable-event-callback' '--enable-session-saving' '--disable-unittest' '--disable-www' '--enable-command-list' '--enable-btg-config'
* ebuild.sh, line 513: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-p2p/btg-0.9.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/btg-0.9.7/temp/environment'.

На сайте проекта нашёл такую инфу:

Цитата:
Link Check

One of the final steps on the configure script is to perform a link check.

This check attempts to link a short example which uses all the libraries which are required by BTG.

If it fails, config.log will contain the details why.

The configure script is verbose and writes the CXXFLAGS and LDFLAGS that will be used for the check before performing it.

This could look like this (debian unstable, everything but Rasterbar Libtorrent (from SVN) installed using apt-get):

checking whether the a command list should be generated... yes
configure: Link test, compiler flags: -Wall -W -g -I/pack/libtorrent/svn/include -I/pack/libtorrent/svn/include/libtorrent -I/usr/include -I/usr/include
configure: Link test, linker flags :
-lboost_iostreams -lboost_filesystem -lboost_date_time
-lboost_thread -lboost_program_options
-L/pack/libtorrent/svn/lib -ltorrent -lgnutls
checking if BTG can link with the provided/found libraries... yes

If the link check fails, it does so before compiling any part of BTG.

A common fault is that a library, that is required by BTG, depends on another library, which was not detected by the configure script. For the linking to work, one has to adjust CXXFLAGS and LDFLAGS before running configure.

A common problem can be that the boost.thread library uses pthreads, but its not detected by the configure script. This is one of the problems with the Gentoo Linux distribution.
Using Boost Installed from Source

The configure script may need some help when boost was installed from source.

In the following I installed boost 1.33.1 from source in my home directory (I used the prefix "~/boost-1.33.1".).

The configure script reads a number of enviroment variables. In the following, CPPFLAGS and LDFLAGS will be used to tell the script where to find the boost headers and libraries.

export CPPFLAGS="-I~/boost-1.33.1/include/boost-1_33_1"
export LDFLAGS="-L~/boost-1.33.1/lib"

The above commands should be executed before running the configure script.

Notice the following options:

* --with-boost-iostreams
* --with-boost-filesystem
* --with-boost-date-time
* --with-boost-thread
* --with-boost-program-options

The above options are used to tell the scripts that detects boost libraries which libs should be used for linking.

For example to use boost iostreams installed in ~/boost-1.33.1/lib use:

./configure --with-boost-iostreams=boost_iostreams-gcc-mt-1_33_1

See also Building Boost, Rasterbar Libtorrent and BTG from Source.

http://btg.berlios.de/howto.html (с)

но ума переложить это всё на реалии генту не хватило. Подскажите как дальше жить)

Бугзилла

а где ссылка на баг в bugs.gentoo.org ?

А баг ли это?

А баг ли это? Вообще кстати если уж зашла речь о bugs.gentoo.org - там идёт обсуждение ебилда net-p2p/btg-0.9.8, которого нет ни в леймане sunrise ни в официальных ветке. Даже в гугле его не нашёл. Какого фига вообще происходит?))
http://bugs.gentoo.org/show_bug.cgi?id=231105

Ви-таки будете

Ви-таки будете смеяться, но он прямо там и есть. И прямо там его и обсуждают.


Пожалуйста, не описывайте своё железо в подписи

Хотелось

И самое

Я один вижу два

Да,

Да, действительно, почитал внимательно и понял что чтобы получить ebuild 0.9.8 нужно пропатчить 0.9.7 и патч как раз там и лежит.
Сделал patch +p0 btg-0.9.7.ebuild < patch.patch

Затем в секции unpack добавил
epatch "${FILESDIR}/${P}-boostlink.patch"

Ебилд разрулил зависимости, поставил не стабильный boost но сами исходники почему-то начали ругаться на отсутствие libtorrent, которая конфликтует с rb_torrent. Удалил rb_torrent, поставил libtorrent и исходники стали ругаться на отсуствие rb_torrent %)

Самое ужасное что с новым boost не получается скомпилировать rb_torrent

[...]
`.L58670' referenced in section `.gnu.linkonce.r._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o: defined in discarded section `.gnu.linkonce.t._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o
`.L58697' referenced in section `.gnu.linkonce.r._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o: defined in discarded section `.gnu.linkonce.t._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o
`.L58675' referenced in section `.gnu.linkonce.r._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o: defined in discarded section `.gnu.linkonce.t._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o
`.L58667' referenced in section `.gnu.linkonce.r._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o: defined in discarded section `.gnu.linkonce.t._ZN4asio19asio_handler_invokeINS_6detail16resolver_serviceINS_2ip3tcpEE21resolve_query_handlerIN5boost3_bi6bind_tIvNS7_4_mfi3mf3IvN10libtorrent11http_streamERKNS_10error_codeENS3_23basic_resolver_iteratorIS4_EENS7_10shared_ptrINS7_8functionIFvSG_ESaIvEEEEEEENS8_5list4INS8_5valueIPSD_EEPFNS7_3argILi1EEEvEPFNSU_ILi2EEEvENSR_ISO_EEEEEEEEEEvT_z' of .libs/http_tracker_connection.o
collect2: ld returned 1 exit status
make[1]: *** [libtorrent-rasterbar.la] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.13.1/work/libtorrent-rasterbar-0.13.1/src'
make: *** [all-recursive] Ошибка 1
 * 
 * ERROR: net-libs/rb_libtorrent-0.13.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2490:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.13.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/rb_libtorrent-0.13.1/temp/environment'.
 * 

Я смотрю, за год так ничего и

Я смотрю, за год так ничего и не изменилось?

emerge Your world
Gentoogle

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".