Summary: | net-fs/openafs-1.6.1_pre1/1.6.1 does not build against 3.1.6/3.2.0-r1 kernel and heimdal-1.5.1-r1/1.5.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Hammill <michael> |
Component: | Current packages | Assignee: | Andrej Filipcic <andrej.filipcic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, eras, kkrizka, net-fs, pastor, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
build log (against 3.2.0-r1 gentoo-sources) |
Description
Mike Hammill
2012-01-09 14:29:09 UTC
Correction to original report a few minutes ago. The building of openafs failed against 3.1.6 not 3.0.6. (i.e., I was still running 3.0.6, but the kernel I was building against was 3.1.6). I received the same build error in an environment where 3.1.6 was the running kernel and also the one being built against on another x86_64 machine. I will now test against a 3.2 kernel. Created attachment 298397 [details]
build log
heimdal part is duplicate of bug #356079. And kernel part is probably a duplicate of bug #398111. (In reply to comment #4) > heimdal part is duplicate of bug #356079. And kernel part is probably a > duplicate of bug #398111. As far as the heimdal part, I am building against heimdal 1.5.1-r1 (NOT 1.4.1 as in the bug you say this is a duplicate of, bug #356079). That bug has nothing to do with the issue I have. In fact, heimdal 1.5.1-r1 builds perfectly against openafs-1.6.0 and gentoo-sources-3.0.6 or 3.1.6. I am talking about a modern heimdal here, not the old krb4 stuff. As for bug #398111, I can now report that the newest openafs-1.6.1_pre1 fails to build against gentoo-sources-3.2.0-gentoo-r1 just as I have described above for gentoo-sources-3.1.6. Created attachment 298399 [details]
build log (against 3.2.0-r1 gentoo-sources)
Something is strange here. The build log reports failure in: make[3]: Entering directory `/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/src/dir' x86_64-pc-linux-gnu-gcc -fPIC -O -I/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/src/config -I/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/include -I. -I. -D_LARGEFILE64_SOURCE -c buffer.c aklog.o: In function `rxkad_build_native_token': aklog.c:(.text+0x43a): undefined reference to `krb5_524_conv_principal' collect2: ld returned 1 exit status make[3]: *** [aklog] Error 1 which is the issue described in the bug #356079 Also, the openafs (userspace) compile should not depend on kernel version. (In reply to comment #7) > Something is strange here. The build log reports failure in: > > make[3]: Entering directory > `/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/src/dir' > x86_64-pc-linux-gnu-gcc -fPIC -O > -I/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/src/config > -I/var/tmp/portage/net-fs/openafs-1.6.1_pre1/work/openafs-1.6.1pre1/include -I. > -I. -D_LARGEFILE64_SOURCE -c buffer.c > aklog.o: In function `rxkad_build_native_token': > aklog.c:(.text+0x43a): undefined reference to `krb5_524_conv_principal' > collect2: ld returned 1 exit status > make[3]: *** [aklog] Error 1 > > which is the issue described in the bug #356079 Yes, you're right about that. > Also, the openafs (userspace) compile should not depend on kernel version. Yes, you're also right about that. I only tried the 3.2 version of the kernel because Bug 397845 mentions that openafs-1.6.1_pre1 is for the 3.2 kernels. The problem I initially reported was with 3.1 kernel, but I figured someone there would simply stamp it WONTFIX because 397845 say openafs-1.6.1_pre1 is for 3.2. I was just trying to add helpful information that openafs doesn't build with 3.2 either (in contrast to 397845). The same error (i.e., undefined reference to `krb5_524_conv_principal' in aklog.c) occurs with heimdal-1.5.2. The same error is true for x86 as for amd64. On the somewhat positive side, I can report that running a 3.2.1 kernel with heimdal 1.5.2 and openafs-kernel 1.6.1_pre1 and openafs 1.6.0 (since 1.6.1_pre1 fails) on a amd64 architecture does seem to work in practice (i.e., I have not run into cases where access to files from my AFS cell did not go as expected). It appears Eray Aslan (perhaps <eras@gentoo.org>?) has asked about the error on one of the Heimdal discussion lists: http://comments.gmane.org/gmane.comp.encryption.kerberos.heimdal.general/5932 or equivalently: http://old.nabble.com/openafs-breakage-tc30995817.html#a30995817 I don't see that there was ever any response to Eray's question. The more recent openafs-1.6.1 has the same problem as reported with the "pre" versions, i.e., openafs-kernel compiles but openafs does not against heimdal (1.5.1-r1 or 1.5.2) with same error tjasse ~ # grep -C1 "exit status" /var/log/portage/net-fs:openafs-1.6.1:20120407-091050.log aklog.c:(.text+0x43a): undefined reference to `krb5_524_conv_principal' collect2: ld returned 1 exit status make[3]: *** [aklog] Error 1 To the one assigned this bug: this bug has been left unconfirmed for ages and after looking around I found that I could work around the bug by implementing a solution for a completely different sounding bug, namely, https://bugs.gentoo.org/show_bug.cgi?id=356079. (Solution is in overlay mhammill.) In any case, newer openafs does compile correctly against newer gentoo sources so there is probably no reason look into this bug any more, i.e., I assume most who run afs want only the newest version for security reasons. Please test with 1.6.11 version. Feel free to reopen if the issue is still present in 1.6.11. (In reply to Andrew Savchenko from comment #13) > Please test with 1.6.11 version. I can say openafs-kernel-1.6.11.1 compiles against gentoo-sources 3.18.11 without problem on x86. I have not tried with x86_64 or ppc32 yet. We don't have support for ppc arch. If you are interested in one, please file a separate bug with keyword request. |