Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2016 14:50:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208958] net/rsync: fixing the ICONV option
Message-ID:  <bug-208958-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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