Summary: | Conflicting definitions in <include/bitops.h> | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Gurvich <david.gurvich> |
Component: | [OLD] Core system | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nathan, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
MAKEOPTS="-j1" USE="gpm" emerge ncurses >& log && tail -n 36 log
same error in recompiling xorg-x11 net-tools error log, using 2.6.14.4 for headers. |
Description
David Gurvich
2005-12-15 15:13:02 UTC
Not a sys-apps/portage bug. "many packages" doesnt describe much post some actual error output Created attachment 74853 [details]
MAKEOPTS="-j1" USE="gpm" emerge ncurses >& log && tail -n 36 log
Created attachment 74856 [details]
same error in recompiling xorg-x11
xorg-x11 seems to have no problem once dmx is unset. (In reply to comment #5) > xorg-x11 seems to have no problem once dmx is unset. It appears I was incorrect. Want to edit /usr/include/asm/bitops.h as follows? Find line 250 where you have ffs(...) but *not* __ffs; and move that down below the #ifdef __KERNEL__. Keep the ffz(...) above the #ifdef __KERNEL__. (In reply to comment #7) > Want to edit /usr/include/asm/bitops.h as follows? Find line 250 where you have > ffs(...) but *not* __ffs; and move that down below the #ifdef __KERNEL__. Keep > the ffz(...) above the #ifdef __KERNEL__. > I am willing to try that. Before I do, I installed linux-headers-2.6.14.2 and copied /usr/src/linux/include/asm-powerpc/* to /usr/include/asm. Many headers were missing from there. After I installed that, ncurses compiled with no problem, but xorg-x11-6.8.2-r6 had the same problem. Should I revert to linux-headers-2.6.11-r3 first? (In reply to comment #8) > (In reply to comment #7) > > Want to edit /usr/include/asm/bitops.h as follows? Find line 250 where you have > > ffs(...) but *not* __ffs; and move that down below the #ifdef __KERNEL__. Keep > > the ffz(...) above the #ifdef __KERNEL__. > > > > I am willing to try that. Before I do, I installed linux-headers-2.6.14.2 and > copied /usr/src/linux/include/asm-powerpc/* to /usr/include/asm. Many headers > were missing from there. After I installed that, ncurses compiled with no > problem, but xorg-x11-6.8.2-r6 had the same problem. > > Should I revert to linux-headers-2.6.11-r3 first? > xorg-x11-6.8.99 compiled with no trouble. This version so far is not a noticeable difference from 6.8.2. Perhaps I failed to clean out the previous attempt before. > I am willing to try that. Before I do, I installed linux-headers-2.6.14.2 and
> copied /usr/src/linux/include/asm-powerpc/* to /usr/include/asm.
Only Portage doesn't have linux-headers-2.6.14.2 and it won't since 2.6.14 is a mess for PPC due to headers moving upstream. I'd suggest reverting to 2.6.11 and then trying that patch.
*** Bug 115487 has been marked as a duplicate of this bug. *** Fixed; emerge sync and remerge linux-headers-2.6.11-r3. Thanks! I have modified linux-headers-2.6.11-r3 to install linux-headers-2.6.14.4. I also copied the entire contents of gentoo-sources-2.6.14.2-r2 include/asm-powerpc directory into /usr/include/asm as these were all missed by various packages. At this point I have completed emerge -e system and emerge -e world. There were 2 difficulties. 1)slang-1.4.9-r1 had a sandbox violation, worked around by 'rm /usr/lib/libslang-utf8.a'. Probably a bug in slang. 2)net-tool-1.60-r11, which I haven't found a method around and have the previously compiled version still. There were clear complaints about header files. Created attachment 75247 [details]
net-tools error log, using 2.6.14.4 for headers.
a) Please try 2.6.15_rc6 headers which will be in portage sometime soon (probably today/tomorrow) b) Perform the asm-powerpc kludge but with 2.6.15_rc6 sources c) See if things work; looking at the code they probably should (for that __be16 error anyway). Thanks! net-tools builds cleanly with 2.6.15_rc6 and kludge, but it breaks ncurses build with complaints about spinlock.h and other headers. > net-tools builds cleanly with 2.6.15_rc6 and kludge, but it breaks ncurses > build with complaints about spinlock.h and other headers. Want to report the breakages in further detail in bug #100703 please? Thanks. |