Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134035 - enchant-1.2.5 fails to compile - cannot find -lmyspell
Summary: enchant-1.2.5 fails to compile - cannot find -lmyspell
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-22 10:00 UTC by David Pyke
Modified: 2008-07-16 21:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Pyke 2006-05-22 10:00:09 UTC
g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/crtbeginS.o  .libs/affentry.o .libs/affixmgr.o .libs/csutil.o .libs/dictmgr.o .libs/hashmgr.o .libs/hunspell.o .libs/suggestmgr.o .libs/myspell_checker.o  -Wl,--rpath -Wl,/mnt/windows/tmp/portage/enchant-1.2.5/work/enchant-1.2.5/src/.libs -L/usr/lib64 -lmyspell /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so ../../src/.libs/libenchant.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../lib64/crtn.o  -march=athlon64 -msse3 -Wl,--export-dynamic -Wl,-soname -Wl,libenchant_myspell.so -o .libs/libenchant_myspell.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmyspell
collect2: ld returned 1 exit status
make[2]: *** [libenchant_myspell.la] Error 1
make[2]: Leaving directory `/mnt/windows/tmp/portage/enchant-1.2.5/work/enchant-1.2.5/src/myspell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/windows/tmp/portage/enchant-1.2.5/work/enchant-1.2.5/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/enchant-1.2.5 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  enchant-1.2.5.ebuild, line 27:   Called die

emerge --info:
Portage 2.1_rc1-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j3"
PKGDIR="/mnt/windows/pkgdir"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/windows/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 audiofile avi berkdb bidi binfilter bitmap-fonts blas bzip2 cairo ccache cdparanoia cdr cli crosscompile crypt cups curl dbus dlloader dri dts dvd dvdr dvdread emboss emul-linux-x86 encode esd fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glibc-omitfp glut gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml guile hal hpn icq idn ieee1394 imagemagick imlib isdnlog java jpeg lapack lcms live lm_sensors logrotate lzo lzw lzw-tiff mad maildir matroska mbox mdb mikmod mime mng motif mp3 mpeg mpm-worker msn mysqli nas ncurses network nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pcre pdf pdflib perl php plotutils png ppds pppd python qt quicktime readline reflection rtc samba sdl session smp sndfile snmp sou sox speex spell spl ssl svg swat tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts usb v4l vcd videos vorbis wifi wxwindows xanim xine xml xml2 xmms xorg xpm xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_vesa video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-04 04:06:53 UTC
FI the library we have from app-text/hunspell is called libhunspell.so, not libmyspell.so.  I don't know what assumptions enchant is making but it looks like a configure patch is required.
Comment 2 Daniel Anderson 2008-07-05 18:14:23 UTC
Compiles fine for me.  Fixed since then but not marked as resolved?

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Fri, 04 Jul 2008 01:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -Wall -pipe -march=athlon64 -msse3 -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -Wall -pipe -march=athlon64 -msse3 -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-experimental /usr/portage/local/layman/science /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac acl acpi alsa amd64 apache2 arts berkdb cddb cdr clamav cli cracklib crypt cups dri dts dvd dvdnav dvdr ffmpeg fortran gdbm gif ginac gpm hal hardened iconv ieee1394 imagemagick ipv6 isdnlog jpeg jpeg2k kde kerberos latex midi mmx mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png pppd python qt4 readline reflection rtf samba sdl session smp spl sse sse2 sse3 ssl tcpd threads tiff unicode usb vim-syntax vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-07-05 18:24:36 UTC
Agreed, this package compiles fine. gnome team, can we close this bug?
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-07-16 21:57:22 UTC
Closing. Reopen if problem persist. Thanks.