[MacPorts] #35470: aspell fails to compile
MacPorts
noreply at macports.org
Wed Aug 1 10:36:59 PDT 2012
#35470: aspell fails to compile
---------------------------------+------------------------------------------
Reporter: csjonline@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
---------------------------------+------------------------------------------
$ sudo port -v upgrade outdated
---> Computing dependencies for aspell.
---> Building aspell
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/work/aspell-0.60.6'
Making all in .
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/work/aspell-0.60.6'
depbase=`echo common/cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/c++
-DHAVE_CONFIG_H -I. -I./gen -I./gen -I./common -I./interfaces/cc/
-I./modules/speller/default/ -DLOCALEDIR="/opt/local/share/locale"
-I/opt/local/include -pipe -O2 -m64 -fno-exceptions -MT common/cache.lo
-MD -MP -MF $depbase.Tpo -c -o common/cache.lo common/cache.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo common/getdata.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/c++
-DHAVE_CONFIG_H -I. -I./gen -I./gen -I./common -I./interfaces/cc/
-I./modules/speller/default/ -DLOCALEDIR="/opt/local/share/locale"
-I/opt/local/include -pipe -O2 -m64 -fno-exceptions -MT common/getdata.lo
-MD -MP -MF $depbase.Tpo -c -o common/getdata.lo common/getdata.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/c++ -DHAVE_CONFIG_H -I. -I./gen -I./gen
-I./common -I./interfaces/cc/ -I./modules/speller/default/
-DLOCALEDIR=/opt/local/share/locale -I/opt/local/include -pipe -O2 -m64
-fno-exceptions -MT common/cache.lo -MD -MP -MF common/.deps/cache.Tpo -c
common/cache.cpp -fno-common -DPIC -o common/.libs/cache.o
libtool: compile: /usr/bin/c++ -DHAVE_CONFIG_H -I. -I./gen -I./gen
-I./common -I./interfaces/cc/ -I./modules/speller/default/
-DLOCALEDIR=/opt/local/share/locale -I/opt/local/include -pipe -O2 -m64
-fno-exceptions -MT common/getdata.lo -MD -MP -MF common/.deps/getdata.Tpo
-c common/getdata.cpp -fno-common -DPIC -o common/.libs/getdata.o
In file included from common/cache.cpp:4:
In file included from ./common/cache-t.hpp:5:
In file included from ./common/cache.hpp:4:
./common/posib_err.hpp:183:24: error: cannot form a reference to 'void'
PosibErr(const Ret & d) : data(d) {}
^
./common/posib_err.hpp:175:22: note: in instantiation of template class
'acommon::PosibErr<void>' requested here
: PosibErrBase(other) {}
^
./common/posib_err.hpp:184:24: error: cannot form a reference to 'void'
operator const Ret & () const {posib_handle_err(); return data;}
^
./common/posib_err.hpp:186:9: error: field has incomplete type 'void'
In file included from common/getdata.cpp:13:
In file included from ./common/iostream.hpp:10:
In file included from ./common/fstream.hpp:15:
./common/posib_err.hpp:183:24: error: cannot form a reference to 'void'
PosibErr(const Ret & d) : data(d) {}
^
./common/posib_err.hpp:175:22: note: in instantiation of template class
'acommon::PosibErr<void>' requested here
: PosibErrBase(other) {}
^
./common/posib_err.hpp:184:24: error: cannot form a reference to 'void'
operator const Ret & () const {posib_handle_err(); return data;}
^
./common/posib_err.hpp:186:9: Ret data;
^
./common/posib_err.hpp:175:22: error: no viable conversion from 'const
PosibErr<void>' to 'const acommon::PosibErrBase'
: PosibErrBase(other) {}
^~~~~
./common/posib_err.hpp:81:5: note: candidate constructor not viable:
cannot convert argument of incomplete type 'const PosibErr<void>' to
'const acommon::PosibErrBase &'
PosibErrBase(const PosibErrBase & other)
^
./common/posib_err.hpp:81:39: note: passing argument to parameter 'other'
here
PosibErrBase(const PosibErrBase & other)
^
./common/posib_err.hpp:190:9: error: explicit specialization of
'acommon::PosibErr<void>' after instantiation
class PosibErr<void> : public PosibErrBase
error: field has incomplete type 'void'
^~~~~~~~~~~~~~
Ret data;
^
./common/posib_err.hpp:175:22: note: implicit instantiation first required
here
: PosibErrBase(other) {}
^
./common/posib_err.hpp:175:22: error: no viable conversion from 'const
PosibErr<void>' to 'const acommon::PosibErrBase'
: PosibErrBase(other) {}
^~~~~
./common/posib_err.hpp:81:5: note: candidate constructor not viable:
cannot convert argument of incomplete type 'const PosibErr<void>' to
'const acommon::PosibErrBase &'
PosibErrBase(const PosibErrBase & other)
^
./common/posib_err.hpp:81:39: note: passing argument to parameter 'other'
here
PosibErrBase(const PosibErrBase & other)
^
./common/posib_err.hpp:190:9: error: explicit specialization of
'acommon::PosibErr<void>' after instantiation
class PosibErr<void> : public PosibErrBase
^~~~~~~~~~~~~~
./common/posib_err.hpp:175:22: note: implicit instantiation first required
here
: PosibErrBase(other) {}
^
5 errors generated.
5 errors generated.
make[1]: *** [common/getdata.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [common/cache.lo] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/work/aspell-0.60.6'
make: *** [all-recursive] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/work/aspell-0.60.6'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/work/aspell-0.60.6"
&& /usr/bin/make -j2 -w all
Exit code: 2
Error: org.macports.build for port aspell returned: command execution
failed
Warning: targets not executed for aspell: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port aspell for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_aspell/aspell/main.log
Error: Problem while installing aspell
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
--
Ticket URL: <https://trac.macports.org/ticket/35470>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list