It requires the amd64 flag, a version bump and a bug fix. The install misses some important files required for the client. It doesn't run a make kmod_install and handles installing the kernel module itself. Though it then fails to install the binaries which a make kmod_install also takes care of. Cheers, Alan.
There's bug 154256 about amd64 keywording, so move it there...
Created attachment 103782 [details] pvfs2-2.6.0.ebuild I've done a little work on this, but it's still failing because it isn't bringing in libcrypt here: LD src/apps/kernel/linux/pvfs2-client LD src/apps/kernel/linux/pvfs2-client-core-threaded lib/libpvfs2-server.a(server-config-server.o): In function `PINT_config_get_fs_key': src/common/misc/server-config.c:3841: undefined reference to `BIO_f_base64' src/common/misc/server-config.c:3841: undefined reference to `BIO_new' src/common/misc/server-config.c:3842: undefined reference to `BIO_new_mem_buf' src/common/misc/server-config.c:3843: undefined reference to `BIO_push' src/common/misc/server-config.c:3845: undefined reference to `BIO_ctrl' src/common/misc/server-config.c:3853: undefined reference to `BIO_read' src/common/misc/server-config.c:3857: undefined reference to `BIO_free_all' src/common/misc/server-config.c:3849: undefined reference to `BIO_free_all' collect2: ld returned 1 exit status I've got -Wl,--as-needed in LDFLAGS if you're trying to reproduce.
Created attachment 103783 [details, diff] 2.6.0-link-librt-properly.patch
Kinda missed part of that error: LD src/apps/kernel/linux/pvfs2-client LD src/apps/kernel/linux/pvfs2-client-core-threaded lib/libpvfs2-server.a(server-config-server.o): In function `PINT_config_get_fs_key': src/common/misc/server-config.c:3841: undefined reference to `BIO_f_base64' src/common/misc/server-config.c:3841: undefined reference to `BIO_new' src/common/misc/server-config.c:3842: undefined reference to `BIO_new_mem_buf' src/common/misc/server-config.c:3843: undefined reference to `BIO_push' src/common/misc/server-config.c:3845: undefined reference to `BIO_ctrl' src/common/misc/server-config.c:3853: undefined reference to `BIO_read' src/common/misc/server-config.c:3857: undefined reference to `BIO_free_all' src/common/misc/server-config.c:3849: undefined reference to `BIO_free_all' collect2: ld returned 1 exit status make: *** [src/server/pvfs2-server] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpvfs2 collect2: ld returned 1 exit status make: *** [src/apps/kernel/linux/pvfs2-client-core] Error 1 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpvfs2 collect2: ld returned 1 exit status make: *** [src/apps/kernel/linux/pvfs2-client] Error 1 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpvfs2-threaded collect2: ld returned 1 exit status make: *** [src/apps/kernel/linux/pvfs2-client-core-threaded] Error 1
This bug may be considered fixed, duplicate, obsolete.. as all these issues are addressed in http://bugs.gentoo.org/show_bug.cgi?id=174670 I'm sure the 2.6.3 patches and ebuild would work with 2.6.0, but I don't know if anyone is interested in me checking this as this is not the latest version nor is it in portage
Closing, #174670 resolved this issue as Fernando Gutiérrez pointed out.