| Summary: | ncurses-5.4 causes aspell compile failure | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andre Hinrichs <andre.hinrichs> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | app-dicts+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Andre Hinrichs
2004-03-31 13:32:00 UTC
The compile output was from the second try with ACCEPT_KEYWORDS="~x86" emerge aspell Normal 'emerge aspell' results in the same errors. So, both version 0.50.3 and version 0.50.5 are having this problem on my system. I too am experiencing this problem. I'm building a new box based on the Gentoo 2004.0 livecd. Using stage1-x86-20040218.tar.bz2. At first I thought it may have been because I had all my USB (IE mousedev) built into the kernel and not as a module. So I rebuilt my kernel (developement-sources 2.6.4). I have the following outputs if they will help: For aspell-0.50.3 the error is: gcc -O2 -march=pentium4 -fomit-frame-pointer -o word-list-compress compress.o /bin/sh ../libtool --mode=link g++ -O2 -march=pentium4 -fomit-frame-pointer -o aspell aspell.o check_funs.o checker_string.o ../lib/libaspell.la -lcurses g++ -O2 -march=pentium4 -fomit-frame-pointer -o .libs/aspell aspell.o check_funs.o checker_string.o ../lib/.libs/libaspell.so -lcurses /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x138): In function `initialize_mousetype': : undefined reference to `Gpm_Open' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x14c): In function `initialize_mousetype': : undefined reference to `gpm_fd' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x1c9): In function `_nc_mouse_event': : undefined reference to `Gpm_GetEvent' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x4c2): In function `mouse_activate': : undefined reference to `gpm_fd' collect2: ld returned 1 exit status distcc[7706] ERROR: compile on localhost failed make[1]: *** [aspell] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.3/work/aspell-0.50.3/prog' make: *** [all-recursive] Error 1 !!! ERROR: app-text/aspell-0.50.3 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) For aspell-0.50.5 the error is: gcc -O2 -march=pentium4 -fomit-frame-pointer -o word-list-compress compress.o /bin/sh ../libtool --mode=link g++ -O2 -march=pentium4 -fomit-frame-pointer -o aspell aspell.o check_funs.o checker_string.o ../lib/libaspell.la -lcurses g++ -O2 -march=pentium4 -fomit-frame-pointer -o .libs/aspell aspell.o check_funs.o checker_string.o ../lib/.libs/libaspell.so -lcurses /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x138): In function `initialize_mousetype': : undefined reference to `Gpm_Open' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x14c): In function `initialize_mousetype': : undefined reference to `gpm_fd' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x1c9): In function `_nc_mouse_event': : undefined reference to `Gpm_GetEvent' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libcurses.a(lib_mouse.o)(.text+0x4c2): In function `mouse_activate': : undefined reference to `gpm_fd' collect2: ld returned 1 exit status distcc[19662] ERROR: compile on localhost failed make[1]: *** [aspell] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5/work/aspell-0.50.5/prog' make: *** [all-recursive] Error 1 !!! ERROR: app-text/aspell-0.50.5 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message) I have even tried disabling distcc and it didn't help. I was able to finish building Gnome (KDE didn't need it) on the new install using "emerge -i aspell-0.50.3" and "emerge -i aspell-en-0.51.0". I just fell back to ncurses-5.3-r5 and aspell compiles fine then. So there is an incompatibility of aspell with ncurses-5.4 I'd suggest to mask ncurses-5.4 until the aspell compile problem is fixed. I just tried the change of Martin Diers as described in bug #46432 and this seems to fix the problem. I've then also compiled aspell with ncurses-5.3-r5 to see if there are any conflicts, but even then aspell compiles fine. |