Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63970 - groff 1.19.1 should depend on sys-apps/texinfo-4.7-r1
Summary: groff 1.19.1 should depend on sys-apps/texinfo-4.7-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 01:26 UTC by Mikael Magnusson
Modified: 2004-10-28 19:34 UTC (History)
0 users

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 Mikael Magnusson 2004-09-14 01:26:13 UTC
*  texinfo-4.7-r1  (22 Jul 2004) :

  22 Jul 2004; Jon Portnoy <avenj@gentoo.org> texinfo-4.7.ebuild,
  texinfo-4.7-r1.ebuild, files/makeinfo.patch :
  Added patch from bug #57960 to fix groff compilation.

but groff doesn't depend on that particular revision, so the build fails and you have to do some digging to find out why it didn't work.

Reproducible: Always
Steps to Reproduce:
1. have something older than texinfo-4.7-r1 installed
2. try to merge groff 1.19.1

Actual Results:  
the build fails when generating docs with makeinfo

Expected Results:  
installed texinfo-4.7-r1 first
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-09-14 14:16:10 UTC
Just as an aside, the RDEPEND for this should be some suitable subset of:

app-shells/bash
dev-lang/perl
sys-apps/gawk
sys-apps/sed
sys-devel/gcc
sys-libs/glibc
x11-base/xorg-x11

Obviously bash and perl are for the scripts. We should have virtuals in there instead of explicit names. I don't know whether the glibc should be a virtual/libc or virtual/glibc but I'm fairly certain the X.org one should be virtual/x11, conditional on X? (). Currently RDEPEND isn't set, and {,P}DEPEND is:

DEPEND="virtual/libc
	>=sys-apps/texinfo-4.0"
PDEPEND=">=sys-apps/man-1.5k-r1"

This isn't really correct, it's a bit short. If you don't believe me when I list the above, check the scripts installed and so on. gawk: /usr/share/groff/1.19.1/font/devlj4/generate/special.awk. perl: /usr/bin/afmtodit, /usr/bin/mmroff. sed: /usr/share/groff/1.19.1/font/devps/generate/symbol.sed. bash (well, /bin/sh anyway): /usr/share/groff/1.19.1/font/devdvi/generate/CompileFonts, /usr/share/groff/1.19.1/font/devps/generate/afmname, /usr/bin/grog, /usr/bin/neqn, /usr/bin/nroff, /usr/bin/grap2graph, /usr/bin/groffer, /usr/bin/pic2graph, /usr/bin/eqn2graph. Note also that this programme uses C++ and thus links against libstdc++.so.{5,6}, and that this is another victim of the "portage needs to depend on gzip" thing. Wow, that was verbose...
Comment 2 solar (RETIRED) gentoo-dev 2004-09-14 23:00:23 UTC
RobMoss -> 'virtual/glibc' this is an obsolete virtual that should only be found in exactly two ebuilds glibc/uclibc/(maybe bsdlibc if we have one).

The entire bootstrap/stage1-3 build process is very picky about deps with groff. Please be careful if you make any changes to this one. t.i.a
Comment 3 Robert Moss (RETIRED) gentoo-dev 2004-09-16 12:30:13 UTC
Solar, what about the runtime deps? Does bootstrap/stage1-3 whinge if you play with those? Clearly bash, perl, gawk and sed aren't needed for compilation as they're just needed to run scripts. So DEPEND should just be something like "virtual/libc >=sys-apps/texinfo-4.7-r1 X? ( virtual/x11)" and RDEPEND should be something like "${DEPEND} app-shells/bash dev-lang/perl sys-apps/gawk sys-apps/sed". Can we always assume existence of a compiler, even for RDEPEND? Thanks for the clarification on the virtual/{,g}libc stuff, by the way.
Comment 4 SpanKY gentoo-dev 2004-10-28 19:34:26 UTC
updated DEPEND to be >=4.7-r1

thanks :)