Summary: | net-fs/openafs-kernel fails to configure with gentoo-sources-2.6.23-r8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Hammill <michael> |
Component: | Current packages | Assignee: | Stefaan De Roeck (RETIRED) <stefaan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs+gentoo |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Full emerge log openafs kernel
net-fs:openafs-kernel-1.4.7:20080506-075700.log emerge --info |
Description
Mike Hammill
2008-02-25 13:52:26 UTC
From /var/log/portage/net-fs:openafs-kernel-1.4.6_p20080222:20080225-110959.log Seem to stop at: "make[3]: *** No rule to make target `param._linux26.h', needed by ..." make build TARGET=libafs make[1]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' make libafs DEST=/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/_linux26/dest COMPILE_PART2B=all DESTDIR= make[2]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' cd src && cd config && make all make[3]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/config' rm -f Makefile.version if [ -r SRC/../CML/state ] ; \ then cp ./Makefile.version-CML Makefile.version ; \ else cp Makefile.version-NOCML Makefile.version ; \ fi make -f Makefile.version AFS_component_version_number.c make[4]: Entering directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/config' echo 'char cml_version_number[]="@(#) OpenAFS 1.4.5 built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c echo 'char* AFSVersion = "openafs 1.4.5"; ' >>AFS_component_version_number.c make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/config' powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/include -I. -I. -c ./config.c ./config.c: In function 'main': ./config.c:35: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:40: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:45: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:65: warning: incompatible implicit declaration of built-in function 'exit' ./config.c:68: warning: incompatible implicit declaration of built-in function 'exit' powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/include -I. -c ./mc.c powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/include -I. -o config config.o mc.o powerpc-unknown-linux-gnu-gcc -O -I/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/include -I. -o mkvers ./mkvers.c make[3]: *** No rule to make target `param._linux26.h', needed by `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/include/afs/param.h'. Stop. make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/config' make[2]: *** [config] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' make[1]: *** [build] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' make: *** [only_libafs] Error 2 * * ERROR: net-fs/openafs-kernel-1.4.6_p20080222 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3107: Called die * The specific snippet of code: * ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die "Failed: emake" * The die message: * Failed: emake * I get precisely the same error with openafs-kernel-1.4.6 (stable) on a different ppc32 machine. Since you're testing 2.6.24 kernels now, I suppose that is the next thing to try... BTW, openafs-1.4.6 (and unstable version) also fail just as openafs-kernel does, same error, it appears. I can post if anyone wants. Really nothing useful there; try w/ MAKEOPTS="-j1" and attach the full emerge log. Created attachment 144664 [details]
Full emerge log openafs kernel
NEEDINFO == RESOLVE (I gotta try that. Sounds fantastic!)
Attached is the info you asked for, run as you asked for it (i.e., -j1, no ccache, distcc, etc). I see nothing gained in the resulting file. Hope you find what you're looking for.
I guess sending the NEEDEDINFO does not automatically reopen a bug....hum...so I did it manually. Well, that's how bugzilla works, we can't change it :) *** Bug 211849 has been marked as a duplicate of this bug. *** Could you try creating a link from /usr/bin/arch to /bin/arch, and see what that gives? (supposing /bin/arch doesn't exist) A bit more verbose now that I have the time: What this bug and bug #211849 seem to have in common is failure to detect the AFS sysname. The architectures are ppc resp. sparc. Both seem to call on '/bin/arch' to determine the eventual AFS sysname. /bin/arch doesn't exist on my amd64, so I'm supposing it doesn't exist for those architectures either. As to why the sysname suddenly couldn't be detected by openafs-kernel-1.4.6 with gentoo-sources-2.6.23-r8, but works with gentoo-sources-2.6.23-r5, I have no clue, so I'd actually be surprised if linking /usr/bin/arch to /usr/bin/arch would fix the issue. But I'm curious nevertheless.. This patch fixes the problem, /bin/arch is no longer provided, uname -m is the proper way to do this: http://bugs.gentoo.org/attachment.cgi?id=134841&action=view (In reply to comment #8) On my ppc32 system I have neither /usr/bin/arch nor /bin/arch: quicky ~ # uname -m ppc quicky ~ # uname -a Linux quicky 2.6.24-gentoo-r3 #1 Thu Mar 20 00:36:09 CET 2008 ppc 7450, altivec supported PowerMac3,5 GNU/Linux quicky ~ # ls -l /bin/arch /usr/bin/arch ls: cannot access /bin/arch: No such file or directory ls: cannot access /usr/bin/arch: No such file or directory Don't know that it matters, but I can provide emerge --info if you like. I am now using the "default/linux/powerpc/ppc32/2008.0/desktop" profile. Also should not OpenAFS 1.4.7_pre3 fails with both 2.6.23-r8 and on up to 2.6.24 gentoo kernels. (In reply to comment #10) > This patch fixes the problem, /bin/arch is no longer provided, uname -m is the > proper way to do this: > http://bugs.gentoo.org/attachment.cgi?id=134841&action=view I put this patch in openafs-1.4.7, so I'm assuming this is fixed for the two concerned architectures (I can't really test). Please reopen if the problem still occurs. Thanks for the patch! Stefaan (In reply to comment #12) Before reopening I will gather more info (try with a second machine and -j1, for example), but so far it failed on make[3]: *** No rule to make target `param._linux26.h', needed by `/var/tmp/portage/net-fs/openafs-kernel-1.4.7/work/openafs-1.4.7/include/afs/param.h'. Stop. This is for a ppc32. /Mike (In reply to comment #12) Dear Stefaan, Unfortunately, this does not appear to fix the problem on ppc32. I tried with -j1, and disabled ccache and distcc, see attached files. /Mike Created attachment 152079 [details]
net-fs:openafs-kernel-1.4.7:20080506-075700.log
Created attachment 152081 [details]
emerge --info
Could you see what happens if you add another parameter to econf: --build=$($(tc-getCC) -dumpmachine) I'm particularly interested in what appears for "checking your AFS sysname". (In reply to comment #17) Here is the short answer: # grep econf /usr/local/portage/net-fs/openafs-kernel/openafs-kernel-1.4.7.ebuild ARCH="$(tc-arch-kernel)" econf --with-linux-kernel-headers=${KV_OUT_DIR} --build=$($(tc-getCC) -dumpmachine) || die "Failed: econf" # giddy ~ # grep sysname /var/log/portage/net-fs:openafs-kernel-1.4.7:20080506-165139.log checking your AFS sysname... ./configure: line 6182: /bin/arch: No such file or directory Is it possible the patch didn't make it in? ls -l /usr/portage/net-fs/openafs-kernel/files/ total 8 -rw-r--r-- 1 root root 574 2008-04-06 20:36 STABLE14-linux-flush-compare-20080402 -rw-r--r-- 1 root root 621 2008-04-06 20:36 STABLE14-linux-flush-unlock-20080402 Let me know if I should include more info. /Mike Well, I'm not sure if ppc is still really supported with gentoo openafs. It hasn't work in a long time. I just tried 1.4.8pre3 and it also fails to compile against the current stable ppc kernel, 2.6.24-gentoo-r3. The log file mentioned below ends with: .log file: checking if linux kbuild requires EXTRA_CFLAGS... yes checking for linux kernel module build works... no configure: error: Fix problem or use --disable-kernel-module... See `config.log' for more details. Nothing particular jumped out at me from the temp/environment file. ** Upgrading net-fs/openafs-kernel - 1 of 2 * Downloading openafs-gentoo-0.15.tar.bz2 * (87.5 KB/s) - `/usr/portage/distfiles/openafs-gentoo-0.15.tar.bz2' saved [20155/20155] * Downloading openafs-1.4.8pre3-src.tar.bz2 * (365 KB/s) - `/usr/portage/distfiles/openafs-1.4.8pre3-src.tar.bz2' saved [11537447/11537447] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.24-gentoo-r3/build * Found sources for kernel version: * 2.6.24-gentoo-r3 * Checking for suitable kernel configuration options... * Unpacking openafs-1.4.8pre3-src.tar.bz2 to net-fs/openafs-kernel-1.4.8_pre3 * Unpacking openafs-gentoo-0.15.tar.bz2 to net-fs/openafs-kernel-1.4.8_pre3 * Patching:....................done ** Compiling Source ... !! Please attach the following file when seeking support: !! /var/tmp/portage/net-fs/openafs-kernel-1.4.8_pre3/work/openafs-1.4.8pre3/config.log !! ERROR: net-fs/openafs-kernel-1.4.8_pre3 failed. !! Call stack: !! ebuild.sh, line 49: Called src_compile !! environment, line 3131: Called econf 'src_compile' 'src_compile' !! ebuild.sh, line 519: Called die !! The specific snippet of code: !! die "econf failed" !! The die message: !! econf failed !! If you need support, post the topmost build error, and the call stack if relevant. !! A complete build log is located at '/var/log/portage/net-fs:openafs-kernel-1.4.8_pre3:20081109-154704.log'. !! The ebuild environment file is located at '/var/tmp/portage/net-fs/openafs-kernel-1.4.8_pre3/temp/environment'. !! net-fs/openafs-kernel-1.4.8_pre3 failed to install. ! Failed so far: net-fs/openafs-kernel-1.4.8_pre3 * Checking dependencies for net-fs/openafs-1.4.8_pre3..done PS: I'm not trying to complain here, just wanted to follow up. Good luck to all! You may be interested in some comments on bug #211367. Short story is that it's very hard to fix / unsupported / needs a fight with linux kernel developers / ... Bottom line is probably that I'm dropping support for ppc :( (In reply to comment #20) > You may be interested in some comments on bug #211367. Short story is that > it's very hard to fix / unsupported / needs a fight with linux kernel > developers / ... Bottom line is probably that I'm dropping support for ppc :( > Dear Stefaan, Of course that is sad to hear. I went over and read the bug you referred to. I wish there was some way for those of us with effected processors to make our voices heard. Anyway, thanks for leaving the possibility open--at least for a little while--for fixing it. Best regards! /Mike openafs-kernel-1.4.12.1 should fix things |