From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 27 14:19:44 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2970DBC4 for ; Fri, 27 Feb 2015 14:19:44 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA508D5 for ; Fri, 27 Feb 2015 14:19:43 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1REJhrL032676 for ; Fri, 27 Feb 2015 14:19:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198072] net-p2p/libtorrent-rasterbar Date: Fri, 27 Feb 2015 14:19:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bro.development@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 14:19:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198072 Bug ID: 198072 Summary: net-p2p/libtorrent-rasterbar Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: bro.development@gmail.com I have experienced problems with libtorrent-rasterbar every since upgrading to FreeBSD 9, due to the separation of base iconv vs libiconv. When libtorrent-rasterbar is not linked with converters/libiconv, it fails to properly handle downloaded files containing some non-ascii characters in the filename, where they are replaced with '?'. When linking with converters/libiconv, the downloaded files are named correctly. Presumably, this is caused by the base iconv lacking some features, as discussed here: http://freebsd.1045724.n5.nabble.com/Base-iconv-sort-of-replaces-libiconv-in-FreeBSD-10-td5886786.html This issue can be fixed by removing 'iconv' from the USES line in the Makefile, which prevents Mk/Uses/iconv.mk from messing with the iconv linking. Alternatively, replacing 'iconv' with 'iconv:wchar_t' also works, which also adds 'libiconv.so:${PORTSDIR}/converters/libiconv' to LIB_DEPENDS. After compiling, verify that it's linked to libiconv: $ ldd work/libtorrent-rasterbar-0.16.19/src/.libs/libtorrent-rasterbar.so.7.0.0 work/libtorrent-rasterbar-0.16.19/src/.libs/libtorrent-rasterbar.so.7.0.0: libboost_system.so.1.55.0 => /usr/local/lib/libboost_system.so.1.55.0 (0x80195b000) libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801b5e000) libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801dc7000) libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x8021cd000) libGeoIP.so.1 => /usr/local/lib/libGeoIP.so.1 (0x8024c7000) libthr.so.3 => /lib/libthr.so.3 (0x80270b000) libc++.so.1 => /usr/lib/libc++.so.1 (0x802930000) libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802bf0000) libm.so.5 => /lib/libm.so.5 (0x802e0c000) libc.so.7 => /lib/libc.so.7 (0x80081f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x803034000) -- You are receiving this mail because: You are the assignee for the bug.