Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21160 - sys-apps/xfsprogs requires autoconf, but dependency not defined in ebuild
Summary: sys-apps/xfsprogs requires autoconf, but dependency not defined in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-17 10:48 UTC by John Burwell
Modified: 2003-06-03 01:59 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 John Burwell 2003-05-17 10:48:33 UTC
The sys-apps/xfsprogs ebuild will fail if autoconf has been installed.  It 
seems that the sys-apps/xfsprogs should have a dependency on autoconf to ensure 
its presence when merging -- causing it to be installed if it is not present.  

As an additional note, this behavior causes a failure when following the 
current installation instructions and using XFS as nothing in the preceeding 
steps causes autoconf to be installed.  Therefore, a user following the 
installation instructions will encounter an error in the happy path which seems 
to be a Bad Thing(tm).

There is an obvious workaround -- emerge sys-devel/autoconf before emerging sys-
apps/xfsprogs.
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2003-05-18 23:44:50 UTC
autoconf should be installed already after an emerge system. its a standard tool that's in all our profiles. I can add it as a dep but most all ebuilds rely on it so I don't usually add it. also if you were following the install guide emergeing FS utilities is  one of the last things listed to do....well after emerge system where autoconf gets installed
Comment 2 John Burwell 2003-05-19 11:45:26 UTC
In response to he comment, I had executed an emerge system and then emerged the FS tools -- following the instructions to the letter.  It seems to me that an ebuild should not rely on the fact the emerge system brought anything into the system.  If a package depends on a package, it seems to me that it should call it explictly.  What is emerge system removed a package from what is considered the "system"?  EBuilds would break.  Granted, autoconf is one of the most build tools, and I was frankly shocked it didn't come in as part of emerge system ...  In order for me to consider the bug verified, it seems that one of two things should happen:

   a) Determine if/why emerge system does always merge autoconf
   b) Add autconf as a dependency to the xfsprogs package

I can also say that after executing the installation instructions, they are woefully broken.  A number of critical packages are not merged (i.e. mount, ps, loadkeys, setfonts, ifconfig) that cause the boots following installation to fail.  There is a thread devoted to this subject in the "Installing Gentoo" forum.
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2003-05-20 23:12:10 UTC
do an emerge -ep system ....autoconf should be there
Comment 4 Brad Cowan (RETIRED) gentoo-dev 2003-06-03 01:59:35 UTC
added dep to latest build