Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100625 - Arch testing request for net-fs/openafs
Summary: Arch testing request for net-fs/openafs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-28 11:52 UTC by Stefaan De Roeck (RETIRED)
Modified: 2006-11-11 19:03 UTC (History)
1 user (show)

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


Attachments
the new ebuild that includes the additional einfo request (openafs-1.4.0_rc3.ebuild,10.22 KB, text/plain)
2005-10-06 19:22 UTC, nm (RETIRED)
Details
emerge --info for failing PPC (Mac G3) case (piggy_emerge_info,2.13 KB, text/plain)
2006-04-16 00:10 UTC, Mike Hammill
Details
compiler output with -Werror on PPC (2946-openafs-kernel-1.4.0-r1.log,144.27 KB, text/plain)
2006-04-16 09:40 UTC, Mike Hammill
Details
MIPS config.log (sysname error) (mips_config.log,3.03 KB, text/plain)
2006-04-16 10:25 UTC, Mike Hammill
Details
Compiler output on sparc64 (dies after mkvers.c for no clear reason) (2053-openafs-kernel-1.4.0.log,38.33 KB, text/plain)
2006-04-17 02:16 UTC, Mike Hammill
Details
compiler output with -Werror on PPC (openafs-kernel-1.4.1) (piggy-openafs-kernel-1.4.1.log,140.51 KB, text/plain)
2006-04-22 11:25 UTC, Mike Hammill
Details
compiler output on PPC (Mac G3), openafs-kernel-1.4.1 (rlim error) (2959-openafs-kernel-1.4.1.log,233.60 KB, text/plain)
2006-04-23 12:51 UTC, Mike Hammill
Details
compiler output on PPC (Mac G4), openafs-kernel-1.4.1 (rlim error again) (openafs-kernel-1.4.1.G4.log,92.33 KB, text/plain)
2006-04-23 12:59 UTC, Mike Hammill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefaan De Roeck (RETIRED) gentoo-dev 2005-07-28 11:52:55 UTC
The openafs-ebuild has just been resurrected.  Bugs are open requesting non-x86
support (e.g. sparc64).  The previous ebuild's mention of archs was very
limited.  OpenAFS seems to have at least some support for all archs in CC, I'd
love to hear which of them actually build.  (1.3.x is the important one in my
opinion, as it's steadily going for a release candidate,  1.2.x won't even work
if you use a linux 2.4 kernel)

Thanks in advance,
Stefaan
Comment 1 David Holm (RETIRED) gentoo-dev 2005-07-29 03:02:56 UTC
It appears to be working on ~ppc. Added keyword to 1.3.x
Comment 2 Frank Dornheim 2005-09-05 05:16:45 UTC
I have downloaded the 1.3.87 ebuild one week ago, but i can't find the ebuilds
now ... 
In the portage tree are ebuild's for:

openafs-kernel-1.2.13.ebuild,
openafs-kernel-1.3.85.ebuild,
openafs-kernel-1.4.0_rc2.ebuild

but i'm missing the actual stable openafs-kernel-1.3.87.ebuild. 
I can't find (on www.openafs.org) a changelog for 1.4.0_rc2.
I think a short summary should be in bugs to have a better way to backtrace
failures in the working afscells.

con
Comment 3 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-05 05:35:56 UTC
1.3.87 has never been in portage.  It has been in bug #100837 though, and you
were supposed to bump openafs-kernel-1.3.85 to openafs-kernel-1.3.87 yourself
because it hadn't changed.  And the 1.3 / 1.4 series aren't stable yet, and
won't be for another month.  Everything is still in testing.  

Upstream has never published a 1.4.0-rc2 announcement as far as I know.  The
closest thing to changelogs from upstream can be found in
https://lists.openafs.org/pipermail/openafs-announce/2005/thread.html.  

The Gentoo changelogs currently do not reflect any changes from upstream, also
because the changelogs from upstream usually say: "It includes several Linux
client fixes as well as portability changes."
Comment 4 Fabian Groffen gentoo-dev 2005-09-05 08:55:43 UTC
I think this won't work on ppc-macos for this reason:

econf --with-linux-kernel-headers=${KV_DIR}

ppc-macos has no linux kernel headers and probably will never have.
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2005-09-05 09:07:33 UTC
I can't argue with that.  But on the other hand, upstream has support for MacOS,
so if we could fix this it might be worth it (or might not, one can only tell
after trying).  
Unfortunately, I lack the infrastructure (I won't buy a Mac just to try) and
currently the knowledge (but I'm willing to learn) to try this out.  I'm a fresh
developer, I don't know how this kind of situation is usually handled?
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2005-09-23 09:12:54 UTC
added ~ppc64 
Comment 7 nm (RETIRED) gentoo-dev 2005-10-06 19:22:29 UTC
Created attachment 70035 [details]
the new ebuild that includes the additional einfo request

In addition to the above patch, I thought I'd include the current ~x86 ebuild
featuring the new einfo lines I added, just so you can see the whole thing.
Comment 8 nm (RETIRED) gentoo-dev 2005-10-06 19:26:12 UTC
(In reply to comment #7)
> Created an attachment (id=70035) [edit]
> the new ebuild that includes the additional einfo request
> 
> In addition to the above patch, I thought I'd include the current ~x86 ebuild
> featuring the new einfo lines I added, just so you can see the whole thing.

Oops. Not sure how this ended up here, but it was intended to be posted to Bug
77332 , the one requesting a reference to the OpenAFS guide. Actually, this
works..kinda. Anyway, I came up with an addition to the existing ebuild as per
the request made in bug 77332.
Comment 9 Mike Hammill 2006-04-15 14:03:57 UTC
net-fs/openafs-kernel-1.4.0-r1 failed to compile for me on ppc (cpu 740/750, aka G3 Blue&White).  In brief, I get:

In file included from /var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/afs/afsincludes.h:44,
                 from /var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/libafs/MODLOAD-2.6.15-gentoo-r1-SP/afs_analyze.c:36:
/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/afs/afs.h:901:5: warning: "AFS_USEBUFFERS" is not defined
make[6]: *** [/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/libafs/MODLOAD-2.6.15-gentoo-r1-SP/afs_analyze.o] Error 1
make[5]: *** [_module_/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/libafs/MODLOAD-2.6.15-gentoo-r1-SP] Error 2
[...]
!!! ERROR: net-fs/openafs-kernel-1.4.0-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  openafs-kernel-1.4.0-r1.ebuild, line 40:   Called die

I have a pretty standard environment (can post emerge --info if you like) with the only exception that I'm trying the new modular X, and thus am using portage-2.1_pre7-r5.  I have heimdal-0.7.2 on this machine, so I'm hoping to use openafs with it as I do on x86 machines.  Thanks again for working on openafs, Stefaan!
Comment 10 Mike Hammill 2006-04-16 00:10:22 UTC
Created attachment 84755 [details]
emerge --info for failing PPC (Mac G3) case

Since I forgot to include the kernel version, 2.6.15-gentoo-r1, I thought I might as well give you emerge --info. I can send along the portage log if you want.  
/Mike
Comment 11 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-16 04:59:32 UTC
(In reply to comment #9)
> In file included from
> /var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/afs/afsincludes.h:44,
>                  from
> /var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/libafs/MODLOAD-2.6.15-gentoo-r1-SP/afs_analyze.c:36:
> /var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/afs/afs.h:901:5:
> warning: "AFS_USEBUFFERS" is not defined

Hi Mike,

you don't seem to be using -Werror, so I'm wondering if there was error previous to the AFS_USEBUFFERS warning that caused make to abort.  Could you please check that?

Thanks,
Stefaan
Comment 12 Mike Hammill 2006-04-16 09:40:25 UTC
Created attachment 84787 [details]
compiler output with -Werror on PPC

(In reply to comment #11)
OK, here it is with -Werror, I've attached the whole thing, but the step with the error appears to be the following.  I'm not sure why the PPC would be more sensative to this (or perhaps only the PPC executes this code?):

cc -O3 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -fomit-frame-pointer -pipe -Werror -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src/config -I. -I. -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/include -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/include/afs -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/include/rx -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0 -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src -I/var/tmp/portage/openafs-kernel-1.4.0-r1/work/openafs-1.4.0/src -O2 -D_LARGEFILE64_SOURCE
-c strng_to_key.c
strng_to_key.c: In function `des_string_to_key':
strng_to_key.c:110: warning: passing arg 1 of `des_fixup_key_parity' from incompatible pointer type
strng_to_key.c:113: warning: passing arg 1 of `des_key_sched' from incompatible pointer type
strng_to_key.c:119: warning: passing arg 1 of `des_fixup_key_parity' from incompatible pointer type
make[3]: *** [strng_to_key.o] Error 1

/Mike
Comment 13 Mike Hammill 2006-04-16 10:25:13 UTC
Created attachment 84789 [details]
MIPS config.log (sysname error)

I tried compiling openafs for MIPS (mips64 R5000 V2.1 FPU V1.0 SGI O2 GNU/Linux) and got the following.  I have also attached the complete /var/tmp/portage/openafs-kernel-1.4.0/work/openafs-1.4.0/config.log.  The kernel involved is 2.6.14.4-mipsgit-20051030-ip32r5k

checking your AFS sysname... configure: error: An AFS sysname is required

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openafs-kernel-1.4.0/work/openafs-1.4.0/config.log

!!! ERROR: net-fs/openafs-kernel-1.4.0 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
/Mike
Comment 14 Mike Hammill 2006-04-17 02:16:02 UTC
Created attachment 84823 [details]
Compiler output on sparc64 (dies after mkvers.c for no clear reason)

I tried compiling OpenAFS on a recently gentooed Ultra 10 running Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r7 sparc64).  It makes it though the configure step in net-fs/openafs-kernel-1.4.0 before dying without error after compiling mkvers.c.  I attached the ebuild output. Hope it helps.
/Mike
Comment 15 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-22 04:14:45 UTC
Hi Mike!

I just uploaded openafs-1.4.1. They've toyed with some variables you seem to have problems with on PPC, so I'm hoping this will be fixed. Could you check that again?

wrt MIPS, I have no reason to assume it will work out of the box now. I'm not familiar with this architecture. Could you look in acinclude.m4 under AC_MSG_CHECKING(your OS) to see if something fits?

ppc64 then. This doesn't sound like an openafs problem at all. Moreover, the ppc64-arch team seems to have tested openafs succesfully. Looks more like compiler or a system problem. In any case, I'm afraid I won't be able to draw many conclusions from your log file. Do you think you could track down the source of the problem a bit more? (like starting make by yourself in a sandbox, trying if individual command line-initiated compiles fail, ...)

Thanks for all the work!
Stefaan
Comment 16 Mike Hammill 2006-04-22 11:25:49 UTC
Created attachment 85201 [details]
compiler output with -Werror on PPC (openafs-kernel-1.4.1)

Hej Stefaan!

Unfortunately, openafs-kernel-1.4.1 died in the same way on the PPC.  I've attached the compile log so you can see the whole thing if you like.  Note this is ppc not ppc64.  Unfortuantely, I don't own one of those ;-)

piggy ~ # tail /var/log/portage/2959-openafs-kernel-1.4.1.log 

!!! ERROR: net-fs/openafs-kernel-1.4.1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  openafs-kernel-1.4.1.ebuild, line 40:   Called die

!!! Failed: make
!!! If you need support, post the topmost build error, and the call stack if relevant.

piggy ~ # tail /var/log/portage/2953-openafs-kernel-1.4.0-r1.log 

!!! ERROR: net-fs/openafs-kernel-1.4.0-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  openafs-kernel-1.4.0-r1.ebuild, line 40:   Called die

!!! Failed: make
!!! If you need support, post the topmost build error, and the call stack if relevant.

/Mike
Comment 17 Mike Hammill 2006-04-22 11:35:12 UTC
(In reply to comment #15)
> wrt MIPS, I have no reason to assume it will work out of the box now. I'm not
> familiar with this architecture. Could you look in acinclude.m4 under
> AC_MSG_CHECKING(your OS) to see if something fits?

I'll give it a go.  I'm not so familiar with MIPS myself, but under IRIX several years back you could run AFS, so I don't really see any reason this shouldn't work in principle.

> ppc64 then. This doesn't sound like an openafs problem at all. Moreover, the
> ppc64-arch team seems to have tested openafs succesfully. 

Be sure to note that I tested on a sparc64 not ppc64.  I'm new to sparc64, but I believe it is only recently they started running 2.6.x kernels.  I tested under 
2.6.15-gentoo-r7.  My guess is that has not been well tested with OpenAFS yet.  I'll do what I can to look into it too.  As with MIPS, I'm no expert.

I recently got hold of a hppa, so--assuming I get Gentoo running on it--I could also try there, should you need more arch testing.
/Mike
Comment 18 Mike Hammill 2006-04-22 11:38:07 UTC
(In reply to comment #15)
> I just uploaded openafs-1.4.1. 

I resynced on sparc64, but it is still openafs-1.4.0 there for me.  Perhaps my mirror is just slow to pick up 1.4.1, (however, ppc found it).  If you haven't released 1.4.1 for sparc64, perhaps you could give it a go.

Thanks
/Mike
Comment 19 Stefaan De Roeck (RETIRED) gentoo-dev 2006-04-23 09:51:53 UTC
(In reply to comment #16)
> Created an attachment (id=85201) [edit]
> compiler output with -Werror on PPC (openafs-kernel-1.4.1)

Hi Mike,

I'm sorry, I must have confused you by mentioning "-Werror". I only asked whether you had used this, because the information you showed me at that time only contained warnings, and your compilation stopped anyway, which it shouldn't have. A full compiler log did however reveal that the real error happened far before those warnings. Could you please retry without "-Werror", as the OpenAFS code (and a lot of other code as well, I think) isn't meant to be warning-free.

Thanks,
Stefaan
Comment 20 Mike Hammill 2006-04-23 12:51:39 UTC
Created attachment 85295 [details]
compiler output on PPC (Mac G3), openafs-kernel-1.4.1 (rlim error)

Hi Stefaan, 

Here is the output on a ppc (Mac G3 Blue and White).  The error seems to be related to rlim:

/var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1/src/afs/LINUX/osi_machdep.h:55:2: #error Not sure what to do about rlim (should be in the Linux task struct somewhere....)
make[6]: *** [/var/tmp/portage/openafs-kernel-1.4.1/work/openafs-1.4.1/src/libafs/MODLOAD-2.6.15-gentoo-r1-SP/afs_analyze.o] Error 1
I have not tried looking into what rlim is yet, but thought I would pass this along.

/Mike
Comment 21 Mike Hammill 2006-04-23 12:59:01 UTC
Created attachment 85296 [details]
compiler output on PPC (Mac G4), openafs-kernel-1.4.1 (rlim error again)

I also tried compiling openafs on a newer Mac (though not a ppc64): a Mac G4.  It is using a different set of compiler options than the G3, but seems to die on the same (rlim) problem.  I didn't look too deeply into it yet, but I did notice the size of the compiler output on the G3 is much bigger than the G4 even though they both appeared to stop in the same place.  The G3 is using O3, while the G4 is at O2, perhaps that is why.  Anyway, I was definitely confused about the Werror thing. I'd never used or even heard of that one before.  It's off in these last two attachments.
/Mike
Comment 22 Fabian Groffen gentoo-dev 2006-06-25 08:03:54 UTC
no luck on ppc-macos:

 * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux
 * This package requires Linux sources. * Please make sure that /usr/src/linux points at your running kernel,  * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
!!! ERROR: net-fs/openafs-kernel-1.4.1 failed.
Call stack:
  , line :   Called die

We don't have linux sources, sorry.  :)
Comment 23 Stefaan De Roeck (RETIRED) gentoo-dev 2006-09-09 04:37:43 UTC
Closing because all arches for which it is sensible to have this tested, probably have already done so.