Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103430 - sys-cluster/mpich-1.2.6-r2 depends on /usr/afsws/
Summary: sys-cluster/mpich-1.2.6-r2 depends on /usr/afsws/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-23 03:15 UTC by Martin Mokrejš
Modified: 2010-09-10 19:00 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 Martin Mokrejš 2005-08-23 03:15:47 UTC
configure output contains:

checking for Kerberos (/usr/kerberos)... checking for AFS (/usr/afsws)...
checking for afs/kauth.h... no
checking for afs/kautils.h... no
checking for afs/auth.h... no
no
Comment 1 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-23 16:33:32 UTC
Judging from your configure output, you have the /usr/afsws directory in place,
and do not have /usr/include/afs/{kauth.h,kautils.h,auth.h}.  

On my system, I get:
checking for Kerberos (/usr/kerberos)... checking for AFS (/usr/afsws)...
checking for afs/kauth.h... yes
checking for afs/kautils.h... yes
checking for afs/auth.h... yes
yes

I think:
- it compiles without AFS-support on installations with old (non-FHS-compliant)
openafs installations
- it compiles with AFS-support whenever someone with a new (FHS-compliant)
openafs installation also creates the directory /usr/afsws (hence the output
above).  Suggestion: remove this check
- the ebuild itself is currently totally AFS-unaware
Comment 2 Martin Mokrejš 2005-08-24 12:17:44 UTC
No, I do have /usr/afsws as it contains the binaries I use to distribute within
the cell. I just wanted to make you aware of yet another dependency on afs. But
am in contact with developers of mpich and mpich2 and some fixes will appear
shortly.


anyway, this I get with mpich-1.2.7:

configure:1423: checking for Kerberos (/usr/kerberos)
configure:1495: checking for AFS (/usr/afsws)
configure:1503: checking for afs/kauth.h
configure:1513: icc -E  conftest.c >/dev/null 2>conftest.out
configure(1509): catastrophic error: could not open source file "afs/kauth.h"
  #include <afs/kauth.h>
                        ^
configure: failed program was:
#line 1508 "configure"
#include "confdefs.h"
#include <afs/kauth.h>
configure:1537: checking for afs/kautils.h
configure:1547: icc -E  conftest.c >/dev/null 2>conftest.out
configure(1543): catastrophic error: could not open source file "afs/kautils.h"
  #include <afs/kautils.h>
                          ^
configure: failed program was:
#line 1542 "configure"
#include "confdefs.h"
#include <afs/kautils.h>
configure:1571: checking for afs/auth.h
configure:1581: icc -E  conftest.c >/dev/null 2>conftest.out
configure(1577): catastrophic error: could not open source file "afs/auth.h"
  #include <afs/auth.h>
                       ^
configure: failed program was:
#line 1576 "configure"
#include "confdefs.h"
#include <afs/auth.h>


It's clear that I have to pass -I/usr/afsws/include in CPPFLAGS. ;)
Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2005-08-25 07:03:33 UTC
Come on.  We're talking Gentoo here.  You know perfectly well that
Gentoo chooses to put OpenAFS in FHS locations.  Therefore the only
thing that needs to be adapted to get this thing working properly, is
to remove the requirement that /usr/afsws exists, just as I said in my
previous comment.  Yes, I did test this myself.  You can pass all the
-I/usr/afsws/include in CPPFLAGS that you want on your own system, but
please, your last remark is just here to confuse any developer that
would need to check up on this later.

So now to get this straight: when using one of the newer openafs
ebuilds (>=1.2.13) that will be promoted to stable, the include files
required will be in /usr/include/afs/...  The checking for /usr/afsws
is for Transarc-paths, which aren't used on Gentoo and will therefore
not be found, thus this check should be omitted if AFS-support is
wanted.
Comment 4 Martin Mokrejš 2005-08-25 09:52:15 UTC
So follow-up for comment #3: yes, so someone has to patch configure so it finds
the headers in FHS. ;-)
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-24 21:27:24 UTC
Fixed in CVS, sorry for the delay.