the current systemd merge ends up requiring intltool/gettext at configure time, but afaict, it isn't used at build/install time. can we please kill that off as it bloats embedded/headless systems that do not need nls. although this might be based on some USE flags like doc/gudev or something.
The udev ebuild passes --disable-nls to the configure script, so it shouldn't be complaining about nls. Can you attach a build log?
checking whether NLS is requested... no ./configure: line 12209: intltool-update: command not found checking for intltool >= 0.40.0... found configure: error: Your intltool is too old. You need intltool 0.40.0 or later. if i fake that out, it moves on to other intltools: checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... no checking for intltool-extract... no configure: error: The intltool scripts were not found. Please install intltool. if i fake those out, it moves on to gettext tools: checking for xgettext... no checking for msgmerge... no checking for msgfmt... no checking for gmsgfmt... no configure: error: GNU gettext tools not found; required for intltool if i fake those out, it moves on to perl: checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.12.4 checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
this gets me pass configure: # Disable intltool requirements. sed -i \ -e '/INTLTOOL_APPLIED_VERSION=/s:=.*:=0.40.0:' \ -e '/XML::Parser perl module is required for intltool/s|^|:|' \ configure eval export INTLTOOL_{EXTRACT,MERGE,UPDATE}=/bin/true # Disable gettext requirements. eval export {MSG{FMT,MERGE},XGETTEXT}=/bin/true
@vapier: I am chatting with upstream about why intltool is a hard dependency. The issue is that intltool is used to translate the policykit files and installation of these files is not optional for systemd. We may be able to come up with a patch that disables this for now, but the comment was that intltool may be used for other things in the future.
@vapier: If we do this, I would prefer a patch for configure.ac/Makefile.am which I could keep up to date with git and maybe send upstream for discussion there. Thanks, William
@vapier: The approach that was suggested on the channel is that we could come up with a switch to --enable/--disable-polkit and make the intltool processing depend on that.
(In reply to comment #3) > this gets me pass configure: > > # Disable intltool requirements. > sed -i \ > -e '/INTLTOOL_APPLIED_VERSION=/s:=.*:=0.40.0:' \ > -e '/XML::Parser perl module is required for intltool/s|^|:|' \ > configure > eval export INTLTOOL_{EXTRACT,MERGE,UPDATE}=/bin/true > > # Disable gettext requirements. > eval export {MSG{FMT,MERGE},XGETTEXT}=/bin/true This is in 197-r3 for now. I'm keeping this bug open since WilliamH wanted to work on a upstream patch. Need to solve these major'ish issues for 197 so we can deprecate 171 at some point. There is still bug 443030 to worry about for embedded.
latest one in the tree seems to work nicely on my uclibc box wrt this issue
This can be worked on just like bugs 452760 and 443030 without having this open. Anything in the ebuild can be impoved at will.