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

Bug 141679

Summary: app-dicts ebuilds fail with aspell-0.50.5-r4
Product: Gentoo Linux Reporter: georg.lippold
Component: Current packagesAssignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE) <app-dicts+disabled>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description georg.lippold 2006-07-25 02:38:55 UTC
When trying to emerge app-dicts/aspell-de-0.50.2 or app-dicts/aspell-en-0.51.1, the make process always terminates like this:

>>> Compiling source in /var/tmp/portage/aspell-en-0.51.1/work/aspell-en-0.51-1 ...
Finding Dictionary file location ... /usr/lib/aspell
Finding Data file location ... = /usr/lib/aspell
/usr/bin/word-list-compress d < en-only.cwl | /usr/bin/aspell  --lang=en create master ./en-only.rws
/usr/bin/word-list-compress d < en_CA-only.cwl | /usr/bin/aspell  --lang=en create master ./en_CA-only.rws
/iso8859-1.dat" can not be opened for reading.
make: *** [en-only.rws] Error 1
make: *** Waiting for unfinished jobs....
/iso8859-1.dat" can not be opened for reading.
make: *** [en_CA-only.rws] Error 1

It seems, aspell wants to read /iso8859-1.dat, but it should be /usr/share/aspell/iso8859-1.dat. This does not happen when modifying the Makefile and using 

.cwl.rws:
        ${WORD_LIST_COMPRESS} d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=de create master $@

instead of

.cwl.rws:
        ${WORD_LIST_COMPRESS} d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=de create master ./$@

But then emerge fails, since aspell wants to write to the existing files in /usr/share/aspell instead of a local file.

Emerge info:

Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/ppp /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/www/localhost"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -mtune=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 acl acpi acpi4linux activefilter alsa amd apache2 apm avi berkdb bitmap-fonts cli crypt cups curlwrappers cyrus dga dhcp dlloader dri eds emboss encode fastcgi flatfile foomaticdb fortran ftp gif gimpprint gpm gs gstreamer gtk gtk2 idea imap imlib ipv6 isdnlog javascript jpeg libg++ libwww mad mikmod mime mmx motif mp3 mpeg mpi ncurses nis nls nptl ogg oggvorbis opengl pam pcre pdflib php pie png ppds pppd prelude qt qt3 qt4 quicktime readline reflection sasl sdl session smime spell spl ssl ssp svg tcpd tetex truetype truetype-fonts type1-fonts unicode unsupported_8bit usb vorbis wmf wxwindows xml2 xorg xv zlib elibc_glibc fritzcapi_cards_fcpci input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 georg.lippold 2006-09-02 05:28:47 UTC
It also fails on 2006.0 for me, please fix as many packages depend on it. Do you need additional info?
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2006-11-30 12:47:16 UTC
I can't reproduce this.  If it is still happening, comment here and re-open this bug.
Comment 3 georg.lippold 2006-11-30 13:19:43 UTC
there were remains of an older aspell-version that didn't "emerge --unmerge" properly. I "emerge --unmerge"d everything that had aspell in its name and let a 'locate aspell | grep -v portage | xargs rm -rf' finish the rest. I think it found a file /etc/aspell/aspell.conf and some files in /usr that weren't deleted. After that, the problem was gone.

Regards,

Georg