When I upgrade to findutils-4.4.0, emerge failed at:

find.texi:10: @include `../locate/dblocation.texi': No such file or directory.
find.texi:554: warning: undefined flag: LOCATE_DB.
find.texi:2681: warning: undefined flag: LOCATE_DB.
find.texi:2683: warning: undefined flag: LOCATE_DB.
find.texi:3160: warning: undefined flag: LOCATE_DB.
find.texi:3346: warning: undefined flag: LOCATE_DB.
find.texi:5230: warning: undefined flag: LOCATE_DB.
find.texi:5238: warning: undefined flag: LOCATE_DB.
makeinfo: Removing output file `find.info' due to errors; use --force
to preserve.
make[1]: *** [find.info] Error 1
make: *** [install-recursive] Error 1
 * ERROR: sys-apps/findutils-4.4.0 failed:
 *   (no error message)
 *
 * Call stack:
 *               ebuild.sh:  49: <call src_install>
 *             environment:2399:     emake DESTDIR="${D}" install || die;
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * build log: 
'/Users/hongqn/Gentoo/var/tmp/portage/sys-apps/findutils-4.4.0/temp/build.log'
 * ebuild environment:
'/Users/hongqn/Gentoo/var/tmp/portage/sys-apps/findutils-4.4.0/temp/environment'
 * S: 
'/Users/hongqn/Gentoo/var/tmp/portage/sys-apps/findutils-4.4.0/work/findutils-4.4.0'

It is because the dblocation.texi file is not generated in the compile
stage.  If I comment out the following lines in
findutils-4.4.0.ebuild:

        # Don't build or install locate because it conflicts with slocate,
        # which is a secure version of locate.  See bug 18729
        sed -i '/^SUBDIRS/s/locate//' Makefile.in

it works.  So I think there must be other things should be sed'ed out
beside the 'locate' string.

BTW, is here the right place to report bugs, or should I go to
bugs.gentoo.org directly?

-- 
Qiangning Hong
http://www.douban.com/people/hongqn/
-- 
[email protected] mailing list

Reply via email to