Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207882 - net-fs/openafs-kernel fails to configure with gentoo-sources-2.6.24
Summary: net-fs/openafs-kernel fails to configure with gentoo-sources-2.6.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefaan De Roeck (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 211367
Blocks: kernel-2.6.24
  Show dependency tree
 
Reported: 2008-01-28 13:21 UTC by Volkmar Glauche
Modified: 2010-06-21 23:13 UTC (History)
10 users (show)

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


Attachments
emerge --info (emerge.info,4.98 KB, text/plain)
2008-01-28 13:21 UTC, Volkmar Glauche
Details
config.log (config.log,72.49 KB, text/plain)
2008-01-28 13:23 UTC, Volkmar Glauche
Details
portage log file (net-fs:openafs-kernel-1.4.6:20080128-125838.log,6.54 KB, text/plain)
2008-01-28 13:24 UTC, Volkmar Glauche
Details
From openafs CVS (STABLE14-linux-2624-20071123,10.83 KB, patch)
2008-02-17 09:15 UTC, Aad Dame
Details | Diff
from openafs CVS (STABLE14-linux-afs-unlinked-file-dentry-flagging-20071031,1.34 KB, patch)
2008-02-17 09:16 UTC, Aad Dame
Details | Diff
from openafs CVS (STABLE14-linux-nsec-timestamp-zero-20071106,1.13 KB, patch)
2008-02-17 09:16 UTC, Aad Dame
Details | Diff
from openafs CVS (STABLE14-linux-splice-support-20071106,3.18 KB, patch)
2008-02-17 09:17 UTC, Aad Dame
Details | Diff
Config.log (config.log,455.90 KB, text/plain)
2008-02-17 13:50 UTC, Aad Dame
Details
emerge --info (emerge.info,3.77 KB, text/plain)
2008-02-17 13:51 UTC, Aad Dame
Details
build configure log (config.log,77.46 KB, text/plain)
2008-09-24 19:04 UTC, Tyler Schwartz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar Glauche 2008-01-28 13:21:18 UTC
net-fs/openafs-kernel fails to configure with gentoo-sources-2.6.24

Reproducible: Always
Comment 1 Volkmar Glauche 2008-01-28 13:21:43 UTC
Created attachment 141996 [details]
emerge --info
Comment 2 Volkmar Glauche 2008-01-28 13:23:03 UTC
Created attachment 141997 [details]
config.log
Comment 3 Volkmar Glauche 2008-01-28 13:24:38 UTC
Created attachment 141998 [details]
portage log file
Comment 4 Volkmar Glauche 2008-01-28 13:28:02 UTC
seems to be similar to bug #207882, #207427
Comment 5 Stefaan De Roeck (RETIRED) gentoo-dev 2008-01-29 09:11:55 UTC
I've been experimenting with the openafs-stable-1_4_x cvs pullout.  Upstream mailinglists suggest it already works, and though I don't get the errors produced by 1.4.6 anymore, it fails for me.  I have as of yet only tried on amd64 though.  
It seems to fail in configure after building the test module successfully, but a check on the compiled module bails out.  

make: Leaving directory `/tmp/linux-2.6.24'                                     /tmp/openafs/conftest.dir/conftest.mod.c:8: error: variable '__this_module' has initializer but incomplete type                                                 /tmp/openafs/conftest.dir/conftest.mod.c:9: error: unknown field 'name' specified in initializer                                                                /tmp/openafs/conftest.dir/conftest.mod.c:9: warning: excess elements in struct initializer                                                                      /tmp/openafs/conftest.dir/conftest.mod.c:9: warning: (near initialization for '__this_module')                                                                  /tmp/openafs/conftest.dir/conftest.mod.c:10: error: unknown field 'arch' specified in initializer
/tmp/openafs/conftest.dir/conftest.mod.c:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
/tmp/openafs/conftest.dir/conftest.mod.c:10: warning: excess elements in struct initializer
/tmp/openafs/conftest.dir/conftest.mod.c:10: warning: (near initialization for '__this_module')
make[1]: *** [/tmp/openafs/conftest.dir/conftest.mod.o] Error 1
make: *** [modules] Error 2
Comment 6 Aad Dame 2008-02-16 14:09:16 UTC
Very strange.
When I do an emerge openafs-kernel, I get the exact same error.
But when I go to /var/tmp/portage/net-fs/openafs-kernel-1.4.6/work/openafs-1.4.6,
open config.log, copy the Invocation command line and execute this, then it works.
Comment 7 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-16 23:10:45 UTC
(In reply to comment #6)
> But when I go to
> /var/tmp/portage/net-fs/openafs-kernel-1.4.6/work/openafs-1.4.6,
> open config.log, copy the Invocation command line and execute this, then it
> works.

I cannot reproduce this on my machine.  I get the same error when configuring manually.

And alas, I still get the same error I posted above with the latest cvs checkout...
Comment 8 Aad Dame 2008-02-17 09:09:04 UTC
> I cannot reproduce this on my machine.  I get the same error when configuring
> manually.

Weird, I can reproduce this on three different machines.
Anything you would like to have? (i.e. logs)
Comment 9 Aad Dame 2008-02-17 09:13:45 UTC
Wait a second, I also applied a few patches from openafs CVS.

STABLE14-linux-2624-20071123
STABLE14-linux-afs-unlinked-file-dentry-flagging-20071031
STABLE14-linux-nsec-timestamp-zero-20071106
STABLE14-linux-splice-support-20071106

Try that!

I will attach the patches to this bug.
Comment 10 Aad Dame 2008-02-17 09:15:19 UTC
Created attachment 143752 [details, diff]
From openafs CVS
Comment 11 Aad Dame 2008-02-17 09:16:06 UTC
Created attachment 143754 [details, diff]
from openafs CVS
Comment 12 Aad Dame 2008-02-17 09:16:37 UTC
Created attachment 143755 [details, diff]
from openafs CVS
Comment 13 Aad Dame 2008-02-17 09:17:07 UTC
Created attachment 143757 [details, diff]
from openafs CVS
Comment 14 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-17 10:53:02 UTC
(In reply to comment #9)
> Wait a second, I also applied a few patches from openafs CVS.

I've trying on the patched version now, still no luck on my machine.  Maybe you could provide the configure line you're re-executing manually, and also your emerge --info?
Comment 15 Aad Dame 2008-02-17 13:50:39 UTC
Created attachment 143776 [details]
Config.log
Comment 16 Aad Dame 2008-02-17 13:51:16 UTC
Created attachment 143777 [details]
emerge --info
Comment 17 Stefaan De Roeck (RETIRED) gentoo-dev 2008-02-22 14:49:44 UTC
Should be fixed in net-fs/openafs-1.4.6_p20080222.  Test reports are appreciated!!

Thanks
Comment 18 Gautam Iyer 2008-02-22 20:54:32 UTC
(In reply to comment #17)
> Should be fixed in net-fs/openafs-1.4.6_p20080222.  Test reports are
> appreciated!!

Works for me (tm). THANKS A TON!

GI

PS: Just FYI -- this does not work with git-sources-2.6.24-r19, or the 2.6.25 kernels. But we'll cross that bridge when we get to it... (Hopefully the OpenAFS devs will support it by then)
Comment 19 Daniel Drake (RETIRED) gentoo-dev 2008-02-24 21:38:05 UTC
reopening as this is not fixed in stable tree
Comment 20 Volkmar Glauche 2008-02-25 07:40:38 UTC
works for me with gentoo-sources-2.6.24-r2 on x86.
Thank you all very much for this fix!
Comment 21 Daniel Drake (RETIRED) gentoo-dev 2008-03-13 16:25:35 UTC
quick reminder here, as 2.6.24 will go stable soon
Comment 22 Gautam Iyer 2008-03-13 20:30:24 UTC
Hey,

I just checked in the OpenAFS CVS repository -- They have a working version for the 2.6.25 kernels: https://lists.openafs.org/pipermail/openafs-devel/2008-March/015834.html. As of today 2008-03-13, the version in CVS tagged openafs-stable-1.4.x compiles cleanly and works with both the 2.6.24 and 25 kernels.

I had to make a few minor changes to your ebuilds to get things to work: openafs-kernel worked with a version bump. For the client part, I comment lines 48 & 50, and applied the CVS patch before the Gentoo patchset.

GI
Comment 23 Stefaan De Roeck (RETIRED) gentoo-dev 2008-03-25 11:41:29 UTC
(In reply to comment #22)
> Hey,
> 
> I just checked in the OpenAFS CVS repository -- They have a working version for
> the 2.6.25 kernels

I've just added openafs-kernel-1.4.7_pre1 to the tree, and it seems to work on my 2.6.25 kernel for now.  
Comment 24 Helmut Jarausch 2008-03-26 10:58:58 UTC
(In reply to comment #23)
> (In reply to comment #22)
> > Hey,
> > 
> > I just checked in the OpenAFS CVS repository -- They have a working version for
> > the 2.6.25 kernels
> 
> I've just added openafs-kernel-1.4.7_pre1 to the tree, and it seems to work on
> my 2.6.25 kernel for now.  
> 

Just to let you know - openafs-kernel-1.4.7_pre1 / openafs-1.4.7_pre1
produces a dead-sure segment fault here when I try to start openafs-client.
This is with a  2.6.24-gentoo-r2 kernel.
emerge --info gives
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 Intel(R) Pentium(R) III CPU family 1266MHz
Timestamp of tree: Wed, 26 Mar 2008 08:16:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.20_alpha2-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="X acl berkdb bitmap-fonts cairo cdr cli cracklib crypt cups doc dri dvd fortran gcj gdbm gnome gpm gtk gtk2 iconv ipv6 isdnlog jpeg kde midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt readline reflection session spl sqlite sqlite3 ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts unicode x86 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Comment 25 Marc Dionne 2008-03-26 16:11:36 UTC
1.4.7_pre1 won't work on any linux < 2.6.25 due to a silly mistake (mine..) in a late patch added for 2.6.25.

Adding this delta should fix it:
    http://www.openafs.org/cgi-bin/wdelta/linux-restore-iget-cachemgr-20080326

I don't know if 1.4.7_pre1 will be respun or if this will just be rolled into a pre2 release.
Comment 26 Stefaan De Roeck (RETIRED) gentoo-dev 2008-03-31 11:02:25 UTC
Maybe comments #24 and #25 are related.  Nevertheless, on my linux-2.6.23-gentoo-r3, openafs-1.4.7_pre1 seems to work fine.  

In any case, I'd recommend opening a new bug on these issues, as this bug is still about getting openafs-1.4.6_pre... to work with linux 2.6.24...

Thanks
Comment 27 Tyler Schwartz 2008-09-24 19:04:18 UTC
Created attachment 166300 [details]
build configure log

I am running 2.6.24-gentoo-r3 on ppc, and am getting this same error, even after using net-fs/openafs-1.4.6_p20080222.

See attached config.log
Comment 28 SpanKY gentoo-dev 2010-06-21 23:13:29 UTC
openafs-kernel-1.4.12.1 should fix things