Re: Version r12.2-568 , dovecot, icu_76.1

"Jean-Marc Pigeon" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Organization SAFE Inc.
Message-ID <[email protected]>
On Sat, 2024-11-09 at 15:38 -0500, Joe Locash wrote:
> 
> On 11/9/24 12:23 PM, Jean-Marc Pigeon wrote:
> > On Sat, 2024-11-09 at 11:15 -0500, Joe Locash wrote:
> > > On 11/8/24 10:56 PM, Jean-Marc Pigeon ([email protected] via blfs-dev
> > > Mailing
> > > List) wrote:
> > > > Hello,
> > > > 
> > > > According my last build.
> > > > Dovecot-2.3.21 or 2.3.21.1 doesn't compile properly
> > > > if icu_76.1 is available.
> > > > 
> > > > Please could someone confirme this finding.
> > > > 
> > > > The bypass to set is
> > > > --with-icu=no
> > > > as config parameter.
> > > > 
> > > > Do you know if there is patch or sed available
> > > > to have icu_76.1  known by dovecot?
> > > Try this sed:
> > > 
> > > sed -i 's/\bPKG_CONFIG --libs "icu-i18n\b/& icu-uc/' configure
> > > 
> > > 
> > Thanks.
> > 
> > No success with suggested sed.
> > even with a more drastic sed sequence as
> > 
> > sed -i                                                  \
> >   -e 's/icu-i18n/icu-uc/'                                \
> >    configure
> > 
> > Build still complain :
> > fts-filter-normalizer-icu.c:(.text+0x38a): undefined reference to
> > `utrans_close_76'
> > /bin/ld: ./.libs/libfts.a(fts-icu.o): in function
> > `fts_icu_translate':
> > fts-icu.c:(.text+0x65f): undefined reference to
> > `utrans_transUChars_76'
> > /bin/ld: fts-icu.c:(.text+0x6f0): undefined reference to
> > `utrans_transUChars_76'
> > /bin/ld: ./.libs/libfts.a(fts-icu.o): in function
> > `fts_icu_transliterator_create':
> > fts-icu.c:(.text+0x9f7): undefined reference to `utrans_openU_76'
> > 
> > 
> > For now  "--with-icu=no" seems the best option.
> > 
> I don't see a failure here with the sed.  Since you see the same
> error 
> after trying multiple seds I'm putting my money on that you are not 
> testing with a clean source tree.
> 
It was not a an unclean source tree but a script mistake from
my side.

I confirm the sed patch proposed by Joe Locash
as effective

sed -i                                                  \
 -e 's/\bPKG_CONFIG --libs "icu-i18n\b/& icu-uc/'       \
 configure

Book can be updated.

(thanks Joe)
-- 
You have seen "Linux from scratch" and looking for ISO files
www.osukiss.org

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.