Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2012 23:29:39 +0400 (MSK)
From:      Andrey Lavrentyev <lavr@unix1.jinr.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169164: deluge 1.3.x problem with boost-1.48
Message-ID:  <201206161929.q5GJTdCK003165@unix1.jinr.ru>
Resent-Message-ID: <201206161940.q5GJeC8L009221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169164
>Category:       ports
>Synopsis:       deluge 1.3.x problem with boost-1.48
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 19:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Lavrentyev
>Release:        FreeBSD 9.0-RELASE amd64
>Organization:
>Environment:
FreeBSD vm145.lan.dubna.ru 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
net-p2p/deluge 1.3.[3|4|5] port has problem with boost 1.48

deluged daemon lost and refuse connection from deluge-client after
add or resume torrent files.

On console there are warinings:

WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e

>How-To-Repeat:

install FreeBSD/amd64 9.0:

vm148 > uname -a
FreeBSD vm148.lan.dubna.ru 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:
30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
vm148 > kldstat
Id Refs Address            Size     Name
 1    1 0xffffffff80200000 11cd9b0  kernel

update ports:

vm148 > portsnap fetch extract

install deluge:

vm148 > cd /usr/ports/net-p2p/deluge
vm148 > make WITHOUT_PYGTK=yes BATCH=yes install clean
vm148 > ls -lAt /var/db/pkg/
total 96
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 deluge-1.3.5_1,1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-chardet-2.0.1_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-libtorrent-rasterbar-0.15.9
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-mako-0.7.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-openssl-0.13
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-twistedWeb-12.1.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-xdg-0.19
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-twistedCore-12.1.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-zope.interface-3.8.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-Babel-0.9.6
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-MarkupSafe-0.15
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-beaker-1.6.3
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 py27-setuptools-0.6c11_3
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 boost-python-libs-1.48.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:33 libtorrent-rasterbar-0.15.9
drwxr-xr-x  2 root  wheel  512 Jun 14 22:30 GeoIP-1.4.8_2
drwxr-xr-x  2 root  wheel  512 Jun 14 22:26 boost-libs-1.48.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:26 icu-4.8.1.1_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:04 gettext-0.18.1.1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:04 gmake-3.82
drwxr-xr-x  2 root  wheel  512 Jun 14 22:02 boost-jam-1.48.0
drwxr-xr-x  2 root  wheel  512 Jun 14 21:59 libiconv-1.14
drwxr-xr-x  2 root  wheel  512 Jun 14 21:57 libtool-2.4.2
drwxr-xr-x  2 root  wheel  512 Jun 14 21:56 python27-2.7.3_2
vm148 >

run deluged daemon with defaults:

vm148 > deluged
vm148 > ps axuww | grep deluged
lavr   1665   0.0  5.8 148208  29448  ??  S     5:37PM   0:00.35 /usr/local/bin/
python2.7 /usr/local/bin/deluged
lavr   1667   0.0  0.1    556    396  v1  R+    5:37PM   0:00.00 grep deluged
vm148 >

run deluge-console:

vm148 > deluge-console
Deluge 1.3.5 Console - localclient@127.0.0.1:58846
C: 0 (200) D: 0.0 KiB U: 0.0 KiB DHT: 75

add torrent file

>Fix:

I haven't patches, but downgrade boost from 1.48 to 1.45 fix problem.
On the same machine, delete all ports, then:

vm145 > ls -la /usr/ports/devel/ | grep boost
drwxr-xr-x     3 root  wheel     512 Jan  3 07:29 boost-all
drwxr-xr-x     3 root  wheel     512 Jan  3 07:29 boost-docs
drwxr-xr-x     3 root  wheel     512 Jun 14 22:47 boost-jam
drwxr-xr-x     4 root  wheel     512 Jun 14 22:47 boost-libs
drwxr-xr-x     4 root  wheel     512 Jun 14 22:46 boost-python-libs
drwxr-xr-x     4 root  wheel     512 Jan  3 07:29 boost_build

delete all boost-1.48

vm145 > rm -rf /usr/ports/devel/boost*

copy boost-1.45 from old ports (for example from 8.3-RELEAS)

install deluge:

vm145 > cd /usr/ports/net-p2p/deluge
vm145 > make WITHOUT_PYGTK=yes BATCH=yes install clean
vm145 > ls -lAt /var/db/pkg/
total 96
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 deluge-1.3.5_1,1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-chardet-2.0.1_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-libtorrent-rasterbar-0.15.9
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-mako-0.7.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-openssl-0.13
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-twistedWeb-12.1.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-xdg-0.19
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-twistedCore-12.1.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-zope.interface-3.8.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-Babel-0.9.6
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-MarkupSafe-0.15
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-beaker-1.6.3
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 py27-setuptools-0.6c11_3
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 boost-python-libs-1.45.0_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:46 libtorrent-rasterbar-0.15.9
drwxr-xr-x  2 root  wheel  512 Jun 14 22:44 GeoIP-1.4.8_2
drwxr-xr-x  2 root  wheel  512 Jun 14 22:41 boost-libs-1.45.0_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:41 icu-4.8.1.1_1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:21 gettext-0.18.1.1
drwxr-xr-x  2 root  wheel  512 Jun 14 22:21 gmake-3.82
drwxr-xr-x  2 root  wheel  512 Jun 14 22:19 boost-jam-1.45.0
drwxr-xr-x  2 root  wheel  512 Jun 14 22:17 libiconv-1.14
drwxr-xr-x  2 root  wheel  512 Jun 14 22:14 libtool-2.4.2
drwxr-xr-x  2 root  wheel  512 Jun 14 22:14 python27-2.7.3_2
vm145 >

run deluged daemon with defaults:

vm145 > deluged
vm145 > ps axuww | grep deluged
lavr   1652   0.0  2.9 152452  29668  ??  S     5:06PM   0:00.28 /usr/local/bin/
python2.7 /usr/local/bin/deluged
lavr   1654   0.0  0.0    556    396  v1  R+    5:07PM   0:00.00 grep deluged
vm145 >

run deluge-console:

Deluge 1.3.5 Console - localclient@127.0.0.1:58846
C: 0 (200) D: 0.0 KiB U: 0.0 KiB DHT: 85

add torrent file

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> add freebsd.torrent
 Attempting to add torrent: freebsd.torrent
 Torrent added!
 * TorrentAdded: FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee4e3b1d8b93716e60e2f
 2ccd3adeedb51)
 * TorrentStateChanged: Downloading FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee
 4e3b1d8b93716e60e2f2ccd3adeedb51)
 C: 0 (200) D: 0.0 KiB U: 0.0 KiB DHT: 75
 
 see info about added torrent
 
 >>> info
 
 that's all, connection to deluged daemon lost
 
 >>> connect 127.0.0.1:58846
 
 hasn't effect
 
 on console we have:
 WARNING pid 1665 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 
 in torrent directory we have empty dir:
 
 vm148 > ls -la FreeBSD-9.0-RELEASE-amd64-bootonly/
 total 8
 drwxr-xr-x  2 lavr  wheel  512 Jun 16 17:38 .
 drwxr-xr-x  7 lavr  wheel  512 Jun 16 17:39 ..
 
 next attempt to run deluge-console client cant connect to deluged daemon
 After kill and than start deluged daemon, torrent in pause state and we
 wished to resume it, lost connection again:
 
 vm148 > deluged
 vm148 > ps axuww | grep deluged
 lavr   1704   0.0  6.2 156400  31492  ??  I     5:49PM   0:01.06 /usr/local/bin/
 python2.7 /usr/local/bin/deluged
 lavr   1710   0.0  0.3  16424   1496  v2  S+    5:51PM   0:00.00 grep deluged
 vm148 > deluge-console
 
 >>> info
 
 Name: FreeBSD-9.0-RELEASE-amd64-bootonly
 ID: 5e189eee4e3b1d8b93716e60e2f2ccd3adeedb51
 State: Paused
 Size: 0.0 KiB/138.9 MiB Ratio: -1.000
 Seed time: 0 days 00:00:00 Active: 0 days 00:00:00
 Tracker status: freebsd.org: Announce OK
 Progress: 0.00% [~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
 
 >>> resume 5e189eee4e3b1d8b93716e60e2f2ccd3adeedb51
 * TorrentStateChanged: Downloading FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee
 4e3b1d8b93716e60e2f2ccd3adeedb51)
 >>> info
 C: 0 (200) D: 0.0 KiB U: 0.0 KiB DHT: 96
 
 that's all connection lost, deluged not respond , data not transferred
 and on console:
 
 WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 ...
 WARNING pid 1704 (python2.7): ioctl sign-extension ioctl ffffffff8004667e
 
 Summary: after move boost 1.45 -> to boost 1.48 port net-p2p/deluge
 don't work: deluged daemon lost connection after add or resume torrents and
 than refuse connection from clients: deluge-console and deluge-web.
 
 >>> add freebsd.torrent
 Attempting to add torrent: freebsd.torrent
 Torrent added!
 * TorrentAdded: FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee4e3b1d8b93716e60e2f
 2ccd3adeedb51)
 * TorrentStateChanged: Downloading FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee
 4e3b1d8b93716e60e2f2ccd3adeedb51)
 C: 28 (200) D: 1.9 MiB U: 0.0 KiB DHT: 101
 
 see info about added torrent
 
 >>> info
 
 Name: FreeBSD-9.0-RELEASE-amd64-bootonly
 ID: 5e189eee4e3b1d8b93716e60e2f2ccd3adeedb51
 State: Downloading Down Speed: 2.7 MiB/s Up Speed: 0.0 KiB/s ETA: 30s
 Seeds: 25 (41) Peers: 1 (2) Availability: 25.41
 Size: 57.3 MiB/138.9 MiB Ratio: 0.000
 Seed time: 0 days 00:00:00 Active: 0 days 00:00:27
 Tracker status: freebsd.org: Announce OK
 Progress: 41.27% [########################~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
 C: 26 (200) D: 2.9 MiB U: 0.0 KiB DHT: 106
 
 >>> info
 
 Name: FreeBSD-9.0-RELEASE-amd64-bootonly
 ID: 5e189eee4e3b1d8b93716e60e2f2ccd3adeedb51
 State: Downloading Down Speed: 2.7 MiB/s Up Speed: 0.0 KiB/s
 Seeds: 23 (41) Peers: 1 (2) Availability: 24.00
 Size: 138.4 MiB/138.9 MiB Ratio: 0.000
 Seed time: 0 days 00:00:00 Active: 0 days 00:00:55
 Tracker status: freebsd.org: Announce OK
 Progress: 99.69% [###########################################################]
 * TorrentFinished: FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee4e3b1d8b93716e60
 e2f2ccd3adeedb51)
 C: 2 (200) D: 0.0 KiB U: 0.0 KiB DHT: 112
 
 torrent was successfully downloaded:
 
 vm145 > ls -la FreeBSD-9.0-RELEASE-amd64-bootonly/
 total 142344
 drwxr-xr-x  2 lavr  wheel        512 Jun 16 17:09 .
 drwxr-xr-x  5 lavr  wheel        512 Jun 16 17:09 ..
 -rw-r--r--  1 lavr  wheel  145623040 Jun 16 17:10 FreeBSD-9.0-RELEASE-amd64-boot
 only.iso
 vm145 >
 
 remove torrent with data and exit:
 
 >>> rm --remove_data 5e189eee4e3b1d8b93716e60e2f2ccd3adeedb51
 * TorrentRemoved: FreeBSD-9.0-RELEASE-amd64-bootonly (5e189eee4e3b1d8b93716e60e
 2f2ccd3adeedb51)
 >>> info
 >>> exit
 C: 0 (200) D: 0.0 KiB U: 0.0 KiB DHT: 144
 vm145 >
 
 Ports differens:
 diff -u vm148ports vm145ports
 --- vm148n      2012-06-16 18:23:32.000000000 +0400
 +++ vm145n      2012-06-16 18:23:25.000000000 +0400
 @@ -1,7 +1,7 @@
  GeoIP-1.4.8_2
 -boost-jam-1.48.0
 -boost-libs-1.48.0
 -boost-python-libs-1.48.0
 +boost-jam-1.45.0
 +boost-libs-1.45.0_1
 +boost-python-libs-1.45.0_1
  deluge-1.3.5_1,1
  gettext-0.18.1.1
  gmake-3.82
 
 Summary: port net-p2p/deluge work well with boost 1.45
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206161929.q5GJTdCK003165>