Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46423

Summary: aspell-0.50.5 fails to build
Product: Gentoo Linux Reporter: Nick Dimiduk (RETIRED) <ndimiduk>
Component: Current packagesAssignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE) <app-dicts+disabled>
Status: RESOLVED DUPLICATE    
Severity: critical CC: andre.hinrichs, kbob
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch aspell.ebuild to link with gpm

Description Nick Dimiduk (RETIRED) gentoo-dev 2004-03-31 16:41:08 UTC
While trying to emerge gaim, aspell is built as a dependency.  The aspell build fails with the following output:

...
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libcurses.a(lib_mouse.o)(.text+0x88a): In function `initialize_mousetype':
: undefined reference to `Gpm_Open'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libcurses.a(lib_mouse.o)(.text+0x89e): In function `initialize_mousetype':
: undefined reference to `gpm_fd'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libcurses.a(lib_mouse.o)(.text+0x944): In function `mouse_activate':
: undefined reference to `gpm_fd'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libcurses.a(lib_mouse.o)(.text+0xae4): In function `_nc_mouse_event':
: undefined reference to `Gpm_GetEvent'
collect2: ld returned 1 exit status
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)


Reproducible: Always
Steps to Reproduce:
1. emerge gaim
2.
3.

Actual Results:  
the above errors, build fails

Expected Results:  
gaim built successfully

zidane root # emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-rc2-mm3)
=================================================================
System uname: 2.6.5-rc2-mm3 i686 AMD Athlon (TM)
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -fomit-frame-pointer -funroll-loops -pipe -O3 -mmmx
-m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -fomit-frame-pointer -funroll-loops -pipe -O3
-mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo
http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.2
19.247.21/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi alsa apm avi berkdb bonobo cdr crypt cups doc dvd encode
esd flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib java
jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nocd oggvorbis
opengl oss pam pdflib perl png python quicktime readline ruby samba scanner sdk
sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb wxwindows x86
xinerama xml xml2 xmms xv zlib"
Comment 1 Alexandru N. Barloiu 2004-04-01 01:09:44 UTC
Adding a -lgpm to that line should do it.
Comment 2 Bob Miller 2004-04-02 09:35:49 UTC
Created attachment 28585 [details]
patch aspell.ebuild to link with gpm

This patch isn't the best way to fix this, but it'll allow people like me whose
portage is completely broken because of this bug to get working again.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-04-02 11:42:11 UTC
Removing note about gaim since it really has nothing to do with gaim.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-02 12:01:14 UTC

*** This bug has been marked as a duplicate of 46432 ***