pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29297: textproc/aspell does not compile on NetBSD/cobalt 1.6.1



>Number:         29297
>Category:       pkg
>Synopsis:       textproc/aspell does not compile on NetBSD/cobalt 1.6.1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 08 18:05:00 +0000 2005
>Originator:     Matthew Luckie
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
NetBSD polyprop 1.6.1_RC2 NetBSD 1.6.1_RC2 (polyprop) #4: Wed Nov 26 08:39:04 
NZDT 2003     root@polyprop:/usr/src/sys/arch/cobalt/compile/polyprop cobalt
>Description:
NroffFilter::process_char is declared as inline and it calls itself 
recursively.  presumably that's what is tripping up the compiler as the patch 
below fixes it.

http://sourceforge.net/tracker/index.php?func=detail&aid=1117697&group_id=245&atid=300245

gmake[1]: Entering directory `/usr/pkgsrc/textproc/aspell/work/aspell-0.60.2'
source='modules/filter/nroff.cpp' object='modules/filter/nroff.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \
/bin/sh ./libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I./gen  
-I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ 
-DLOCALEDIR=\"/usr/pkg/share/locale\" -I/usr/include  -O2 -pipe -I/usr/include 
-fno-exceptions -c -o modules/filter/nroff.lo modules/filter/nroff.cpp
 c++ -DHAVE_CONFIG_H -I. -I./gen -I./common -I./interfaces/cc/ 
-I./modules/speller/default/ -DLOCALEDIR=\"/usr/pkg/share/locale\" -O2 -pipe 
-fno-exceptions -c modules/filter/nroff.cpp 
-Wp,-MD,modules/filter/.deps/nroff.TPlo  -fPIC -DPIC -o 
modules/filter/.libs/nroff.o
{standard input}: Assembler messages:
{standard input}:3959: Fatal error: {standard input}:3060: bad return from 
bfd_install_relocation
gmake[1]: *** [modules/filter/nroff.lo] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/textproc/aspell/work/aspell-0.60.2'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/textproc/aspell
>How-To-Repeat:
try and install aspell on a cobalt system, or possibly any of the other mips 
ports of NetBSD.
>Fix:
$NetBSD$

--- modules/filter/nroff.cpp.orig       Mon Feb  7 18:18:29 2005
+++ modules/filter/nroff.cpp    Mon Feb  7 18:18:42 2005
@@ -73,7 +73,7 @@
       return false;
     }
     
-    bool inline NroffFilter::process_char (FilterChar::Chr c);
+    bool NroffFilter::process_char (FilterChar::Chr c);
       
   public:
 




Home | Main Index | Thread Index | Old Index