Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352818 - sys-apps/coreutils miss dependency on dev-util/gperf with some OS's
Summary: sys-apps/coreutils miss dependency on dev-util/gperf with some OS's
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 12:06 UTC by Markus Duft (RETIRED)
Modified: 2014-01-14 01:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Duft (RETIRED) gentoo-dev 2011-01-26 12:06:09 UTC
I don't know who actually pulls in gperf on my gentoo linux (it is installed), but in prefix, i cannot build coreutils-8.8 on a clean @system-only prefix. i get:

make[2]: Entering directory `/opt/gentoo/var/tmp/portage/sys-apps/coreutils-8.8/work/coreutils-8.8/lib'
  GEN      alloca.h
  GEN      arg-nonnull.h
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      configmake.h
  GEN      errno.h
  GEN      fnmatch.h
  GEN      getopt.h
gperf -m 10 ./iconv_open-hpux.gperf > ./iconv_open-hpux.h-t
gperf -m 10 ./iconv_open-irix.gperf > ./iconv_open-irix.h-t
/opt/gentoo/bin/bash: gperf: command not found
make[2]: *** [iconv_open-hpux.h] Error 127

this is x86-interix, but i guess it does not matter. if i manually merge gperf, it works as expected.
Comment 1 SpanKY gentoo-dev 2011-01-29 19:26:02 UTC
i'm not adding a hard dependency on gperf when only a few random non-linux systems need it
Comment 2 Fabian Groffen gentoo-dev 2011-01-30 10:25:38 UTC
Please check the mtimes of lib/iconv_open-XXX.gperf and lib/iconv_open-XXX.h files.  In 8.9 the .h is older than the .gperf file, which should assure that the .h files aren't regenerated from the .gperf files (Makefile rule).