Comment 5 for bug 267978

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 267978] [NEW] gettext dependency not properly picked up in build process

Well, there's two things we need to check for - gettext being in the lib
so that the gettext calls work (or need to be stubbed) and the gettext
dev tools being available to build message catalogs. In this case, is
sounds like we have gettext lib but no tools, so the build is failing in
building the catalogs. It should be easy to fix and just not build the
catalogs if we don't have the tools to do so.

Thanks.

Jay Pipes wrote:
> Public bug reported:
>
> Tracking down Build Farm build errors, I found that Builder
> ubuntu804.32.4:
>
> http://drizzlebuild.42sql.com/builders/ubuntu804.32.4/builds/176
>
> was failing build process with the following:
>
> make all-recursive
> make[1]: Entering directory `/home/vluther/tmp/drizzle/build07/build'
> Making all in po
> make[2]: Entering directory `/home/vluther/tmp/drizzle/build07/build/po'
> test ! -f ./drizzle.pot || \
> test -z "ca.gmo cy.gmo de.gmo en_AU.gmo en_GB.gmo es.gmo fr.gmo hi.gmo it.gmo ko.gmo mr.gmo nb.gmo nl.gmo pt_BR.gmo ro.gmo ru.gmo tr.gmo zh_HK.gmo" || make ca.gmo cy.gmo de.gmo en_AU.gmo en_GB.gmo es.gmo fr.gmo hi.gmo it.gmo ko.gmo mr.gmo nb.gmo nl.gmo pt_BR.gmo ro.gmo ru.gmo tr.gmo zh_HK.gmo
> make[3]: Entering directory `/home/vluther/tmp/drizzle/build07/build/po'
> rm -f ca.gmo && : -c --statistics -o ca.gmo ca.po
> mv: cannot stat `t-ca.gmo': No such file or directory
> make[3]: *** [ca.gmo] Error 1
> make[3]: Leaving directory `/home/vluther/tmp/drizzle/build07/build/po'
> make[2]: *** [stamp-po] Error 2
> make[2]: Leaving directory `/home/vluther/tmp/drizzle/build07/build/po'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vluther/tmp/drizzle/build07/build'
> make: *** [all] Error 2
> program finished with exit code 2
>
> I believe this error is due to gettext not being properly picked up as
> missing by autoconf, however in the config log, I show gettext as
> available:
>
> checking for GNU gettext in libc... yes
>
> Monty, what else is missing which is causing the build error?
>
> Assigning to Monty. I've also sent an email to the build slave owner to
> see with a link to this bug to see what the system configuration is.
>
> ** Affects: drizzle
> Importance: Undecided
> Assignee: Monty Taylor (mordred)
> Status: New
>
> ** Changed in: drizzle
> Assignee: (unassigned) => Monty Taylor (mordred)
> Target: None => cirrus
>