Date: Mon, 9 Jul 2012 22:52:13 GMT From: Mario Lobo <lobo@bsd.com.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/169755: devel/boost-libs producing ioctl sign-extension errors Message-ID: <201207092252.q69MqDlZ075413@red.freebsd.org> Resent-Message-ID: <201207092300.q69N0OQq072916@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169755 >Category: ports >Synopsis: devel/boost-libs producing ioctl sign-extension errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 09 23:00:24 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mario Lobo >Release: 8.3-STABLE >Organization: >Environment: FreeBSD Papi 8.3-STABLE FreeBSD 8.3-STABLE #0: Thu Jun 28 11:56:14 BRT 2012 root@Papi:/usr/obj/usr/src/sys/LOBO amd64 >Description: Ports that rely on boost-libs-1.48.0, keep issuing the following warning and may freeze: WARNING pid 48978 (qbittorrent): ioctl sign-extension ioctl ffffffff8004667e In my case, net-p2p/libtorrent-rasterbar-16, net-p2p/libtorrent-rasterbar-16-python and net-p2p/qbittorrent29 qbittorrent always freezes and has to be kill -9. >How-To-Repeat: Everytime qbittorrent is ran. >Fix: The fix is to add the following changes to the port file patch-boost_asio-ioctl. *** 46,52 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast<int>(FIONBIO); + return static_cast<ioctl_cmd_type>(FIONBIO); *** 96,102 **** // Get the name of the IO control command. ioctl_cmd_type name() const { - return static_cast<int>(FIONREAD); + return static_cast<ioctl_cmd_type>(FIONREAD); } After that, -Rebuild/reinstall devel/boost-libs -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16 -Rebuild/reinstall net-p2p/libtorrent-rasterbar-16-python -Rebuild/reinstall net-p2p/qbittorrent >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207092252.q69MqDlZ075413>