From owner-freebsd-ports-bugs@freebsd.org Thu Apr 21 14:50:53 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F4064B17468 for ; Thu, 21 Apr 2016 14:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 DA9A31489 for ; Thu, 21 Apr 2016 14:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3LEoqso045877 for ; Thu, 21 Apr 2016 14:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208958] net/rsync: fixing the ICONV option Date: Thu, 21 Apr 2016 14:50:52 +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 Only Me X-Bugzilla-Who: mat@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ehaupt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 14:50:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208958 Bug ID: 208958 Summary: net/rsync: fixing the ICONV option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: mat@FreeBSD.org CC: tijl@FreeBSD.org Assignee: ehaupt@FreeBSD.org Flags: maintainer-feedback?(ehaupt@FreeBSD.org) I don't exactly know when it stopped working, or if it ever worked on 10.x,= but last week, I tried to use rsync with "--iconv=3DUTF-8,US-ASCII//IGNORE//TRA= NSLIT" (it translitterates letters like =C3=A9 to 'e to =C3=9F to ss if it can, an= d drop them if it cannot) to transfer files from a utf-8 host to a crappy old file server. So, anyway, I updated my crappy old file server to 10.3, and that command stopped working, saying that the remote rsync did not support --iconv, so, I had a look and changed the : .if empty(ICONV_LIB) CONFIGURE_ARGS+=3Dac_cv_search_libiconv_open=3Dno .endif to .if ! ${PORT_OPTIONS:MICONV} CONFIGURE_ARGS+=3Dac_cv_search_libiconv_open=3Dno .endif rebuilt, and there, it had iconv support again, and I was happy and all. But something else is fishy, today, net/rabbitmq failed to build in poudrie= re because: Shared object "libiconv.so.2" not found, required by "rsync" Some head scratching, and I found out that there only is a BUILD_DEPENDS on converters/libiconv, so, rsync is built with it, but depends is not registe= red, if I build it in poudriere testport -i, in the shell, I can remove libiconv because nothing depends on it, and then: root@10amd64-ports:~ # pkg check -Ba Checking all packages: 66% (rsync-3.1.2_2) /usr/local/bin/rsync - required shared library libiconv.so.2 not found Checking all packages: 100% root@10amd64-ports:~ # I'm not sure how to fix this, I'm tempted to change the ICONV_USES=3Diconv = line in rsync's Makefile to ICONV_USES=3Diconv:translit, but I'm wondering if th= ere's not some bug somewhere in Mk/Uses/iconv.mk's logic, and it should be fixed there. (adding Tijl to the cc because he's the one who did the last change to iconv.mk) --=20 You are receiving this mail because: You are the assignee for the bug.=