Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 17:34:27 GMT
From:      Mark Willson <cdr.nil@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185557: textproc/ispell fails to install
Message-ID:  <201401071734.s07HYRSU068267@oldred.freebsd.org>
Resent-Message-ID: <201401071740.s07He00s086161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185557
>Category:       ports
>Synopsis:       textproc/ispell fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 17:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mark Willson
>Release:        FreeBSD 10-0-PRERELEASE
>Organization:
>Environment:
FreeBSD cobalt 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r260257: Sat Jan  4 10:23:07 GMT 2014     root@cobalt:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

With ISPELL_BRITISH set, the following errors occur during a "make install".

install  -o root -g wheel -m 444 /usr/ports/textproc/ispell/work/ispell-3.3.02/languages/british/english.xlg  /usr/local/share/ispell/english.dict
install: /usr/ports/textproc/ispell/work/*/*.aff: No such file or directory
*** Error code 71 (ignored)
====> Compressing man pages (compress-man)
===>  Installing for ispell-3.3.02_5
===>  Checking if textproc/ispell already installed
===>   Registering installation for ispell-3.3.02_5
pkg-static: lstat(/usr/ports/textproc/ispell/work/stage/usr/local/bin/buildhash): No such file or directory
pkg-static: lstat(/usr/ports/textproc/ispell/work/stage/usr/local/bin/defmt-c): No such file or directory
pkg-static: lstat(/usr/ports/textproc/ispell/work/stage/usr/local/bin/defmt-sh): No such file or directory
.. the list goes on ...

There are two different errors: The first is the failure to
install the *.aff files.  The next is the slew of pkg-static
errors.
>How-To-Repeat:
cd /usr/ports/textproc/ispell
make clean && make install
>Fix:
The following unified diff shows the changes to the Makefile
which made the install work in my environment.

root@cobalt:/usr/ports/textproc/ispell # diff -u Makefile.orig Makefile
--- Makefile.orig       2014-01-07 16:54:08.000000000 +0000
+++ Makefile    2014-01-07 17:07:26.000000000 +0000
@@ -35,9 +35,9 @@
 DATADIR=       ${PREFIX}/share/ispell
 ISPELL=                ${WRKSRC}/ispell

-.if (!defined(ISPELL_ES) && !defined(ISPELL_IT) && !defined(ISPELL_FR) && !defined(ISPELL_SE) && !defined(ISPELL_BR) && !defined(ISPELL_DENEU) && !defined(ISPELL_DEALT) && !defined(ISPELL_BRITISH) && !defined(ISPELL_NO) && !defined(ISPELL_NL) && !defined(ISPELL_DA) && !defined(ISPELL_AF) && !defined(ISPELL_FI) && !defined(ISPELL_PL) && !defined(ISPELL_BG) && !defined(ISPELL_SK) && !defined(ISPELL_CS))
 NO_STAGE=      yes

+.if (!defined(ISPELL_ES) && !defined(ISPELL_IT) && !defined(ISPELL_FR) && !defined(ISPELL_SE) && !defined(ISPELL_BR) && !defined(ISPELL_DENEU) && !defined(ISPELL_DEALT) && !defined(ISPELL_BRITISH) && !defined(ISPELL_NO) && !defined(ISPELL_NL) && !defined(ISPELL_DA) && !defined(ISPELL_AF) && !defined(ISPELL_FI) && !defined(ISPELL_PL) && !defined(ISPELL_BG) && !defined(ISPELL_SK) && !defined(ISPELL_CS))
 pre-everything::
        @${ECHO_MSG} '*********************************************************'
        @${ECHO_MSG} '* You can add further dictionaries:                     *'
@@ -347,7 +347,7 @@
        ${INSTALL_DATA} ${WRKSRC}/languages/american/english.med+ \
                ${DATADIR}/english.dict
 .endif
-       @-${INSTALL_DATA} ${WRKDIR}/*/*.aff ${WRKDIR}/*/*.hash ${DATADIR}
+       @-${INSTALL_DATA} ${WRKDIR}/*/*/*/*.aff ${WRKDIR}/*/*/*/*.hash ${DATADIR}
 .if defined(ISPELL_ES)
        @${CAT} ${MASTERDIR}/pkg-plist.es >> ${TMPPLIST}
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401071734.s07HYRSU068267>