Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327673 - autotools.eclass should run intltoolize
Summary: autotools.eclass should run intltoolize
Status: RESOLVED DUPLICATE of bug 211276
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 09:09 UTC by Maxim Koltsov (RETIRED)
Modified: 2010-07-13 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My ebuild for sssd with manual intltoolize run in src_prepare (it is not good enough for ebuild, but it is good as example) (sssd-9999.ebuild,1.36 KB, text/plain)
2010-07-10 09:11 UTC, Maxim Koltsov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Koltsov (RETIRED) gentoo-dev 2010-07-10 09:09:27 UTC
Some packages must run intltoolize during preparation. Example is in gnome2-live.eclass:
if grep -qe "IT_PROG_INTLTOOL" configure.*; then
    intltoolize --force
fi
Something like this must be added to eautoreconf function in autotools.eclass, or some packages (e.g. sssd-9999) will fail at src_configure with error like this:
config.status: error: cannot find input file: `po/Makefile.in.in'
configure: error: ./configure failed for src

Reproducible: Always

Steps to Reproduce:
1.Take some package with IT_PROG_INTLTOOL in configure.ac
2.Write ebuild for it
3.try to "ebuild configure" it

Actual Results:  
config.status: error: cannot find input file: `po/Makefile.in.in'
configure: error: ./configure failed for src

Expected Results:  
Normal configuration
Comment 1 Maxim Koltsov (RETIRED) gentoo-dev 2010-07-10 09:11:21 UTC
Created attachment 238205 [details]
My ebuild for sssd with manual intltoolize run in src_prepare (it is not good enough for ebuild, but it is good as example)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-12 23:06:18 UTC
I don't see in which overlay gnome2-live.eclass or sssd ebuilds are to be found.
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2010-07-13 08:47:11 UTC
(In reply to comment #2)
> I don't see in which overlay gnome2-live.eclass or sssd ebuilds are to be
> found.
> 
gnome2-live.eclass is in gnome-live overlay (http://git.overlays.gentoo.org/gitweb/?p=proj/gnome-live.git;a=summary). SSSD ebuild is not ready now, and it's really a bad example. For a good example look at gtk-engines-murrine from gnome-live overlay (http://git.overlays.gentoo.org/gitweb/?p=proj/gnome-live.git;a=blob;f=x11-themes/gtk-engines-murrine/gtk-engines-murrine-9999.ebuild). configure.ac for gtk-engines-murrine uses obsolete macro AC_PROG_INTLTOOL, which is not recognized by gnome2-live.eclass, and ends up with error about po/Makefile.in.in For additional info look at bug #323191, it decribes trouble with AC_PROG_INTLTOOL/IT_PROG_INTLTOOL.
Comment 4 SpanKY gentoo-dev 2010-07-13 21:45:03 UTC

*** This bug has been marked as a duplicate of bug 211276 ***