iconv related problen with deskutils/libstreams on 10-BETA3

Boris Samorodov bsam at passap.ru
Sun Dec 1 17:34:37 UTC 2013


01.12.2013 21:07, Гуляев Гоша пишет:
> 
> 
> 01.12.2013, 22:51, "Boris Samorodov" <bsam at passap.ru>:
>> 01.12.2013 20:45, Гуляев Гоша пишет:
>>
>>>  01.12.2013, 22:32, "Boris Samorodov" <bsam at passap.ru>:
>>>>  01.12.2013 20:17, Гуляев Гоша пишет:
>>>>>   01.12.2013, 20:16, "Boris Samorodov" <bsam at passap.ru>:
>>>>>>   01.12.2013 09:48, Гуляев Гоша пишет:
>>>>>>>   30.11.2013, 19:11, "Гуляев Гоша" <gosha-necr at yandex.ru>:
>>>>>>>>   Hi friends! When updating from 9-STABLE to 10-STABLE I have
>>>>>>>>   such problem with deskutils/libstreams port upgrading: My
>>>>>>>>   system built WITH_ICONV=yes and WITH_ICONV_COMPAT=yes
>>>>>>   Ports ere not tested/supported with those flags.
>>>>>   But that default setting in 10-Stable (except
>>>>>   WITH_ICONV_COMPAT=yes). I remove WITH_ICONV_COMPAT=yes from
>>>>>   /etc/src.conf and rebuild kernel/world with only WITH_ICONV=yes in
>>>>>   /etc/src.conf (But since in 10-Stable that setting are default, it is
>>>>>   possible just remove that option), but error still exists.
>>>>  It may be so that it is not enough to rebuild one port. But since
>>>>  WITH_ICONV_COMPAT=yes was not tested (at least I'm not aware of
>>>>  such tests) I'm not sure which impact it may have upon other ports.
>>>>
>>>>  It may be so that you should rebuild all ports using iconv.
>>>  Ok, thanks for answer Boris!
>>>  Is it right actions in my case?
>>>  1. World/kernel rebuilded without option WITH_ICONV_COMPAT=yes
>>>  2. rebuild all ports which requires iconv
>>
>> Yes, I'll do so (to be on a save side). You may take a look
>> at /usr/ports/UPDATING to find instructions how to upgrade
>> from libiconv to native iconv.
>>
> Sorry all for my messages everywhere (forum, irc, maillist and PR service) :)
> Boris, as you said problem are because of option WITH_ICONV_COMPAT=yes
> I'm just when tryin rebuild system without that option forgive to 'make delete-old && make delete-old-libs' and as result errors not disappear.
> After that actions deskutils/libstreams builds fine.
> 
> /usr/ports/UPDATING I'm check but now I can't use note from UPDATING for rebuilding iconv-dependent ports, because of converters/libiconv are deinstalled on previous actions, and portupgrade -fr converters/libiconv just do nothing.

Then you may use pkg_libchk from sysutols/bsdadminscripts to detect
all affected files and rebuild ports to which those files belong.

> Rebuild all ports one more time :)

There is a very good and lightweignt tool ports-mgmt/poudriere for
this purpose as well as for testing ports.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list