[MacPorts] #24712: supected gcc errors after some install upgraded gcc
MacPorts
noreply at macports.org
Wed Apr 28 08:06:49 PDT 2010
#24712: supected gcc errors after some install upgraded gcc
---------------------------------------------+------------------------------
Reporter: roberto.tomas.cuentas@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port:
---------------------------------------------+------------------------------
I think ruby1.9 upgraded gcc (trying to remember, there's a list of
possibles). Since then, I get errors on install. Here's one:
{{{
robbie at El-Mac ~ [10:54] sudo port install -d rvm
Password:
---> Computing dependencies for rvm
---> Building rvm
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rvm/work/rvm-0.90.1-beta"
&& /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/make all-am
source='rconfig.cc' object='rconfig.o' libtool=no \
depfile='.deps/rconfig.Po' tmpdepfile='.deps/rconfig.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -g
-Wall -c -o rconfig.o `test -f rconfig.cc || echo './'`rconfig.cc
rconfig.h:262: error: using typedef-name
'configuration_manager::cfgfiles_type' after 'class'
rconfig.h:222: error: 'configuration_manager::cfgfiles_type' has a
previous declaration here
rconfig.cc: In member function 'void configuration_manager::clear()':
rconfig.cc:926: error: request for member 'clear' in
'((configuration_manager*)this)->configuration_manager::m_cfgfiles', which
is of non-class type 'int'
rconfig.cc: In member function 'void configuration_manager::init(int,
char**)':
rconfig.cc:1026: error: request for member 'push_back' in
'((configuration_manager*)this)->configuration_manager::m_cfgfiles', which
is of non-class type 'int'
rconfig.cc:1064: error: request for member 'push_back' in
'((configuration_manager*)this)->configuration_manager::m_cfgfiles', which
is of non-class type 'int'
rconfig.cc:1091: error: request for member 'begin' in
'((configuration_manager*)this)->configuration_manager::m_cfgfiles', which
is of non-class type 'int'
rconfig.cc:1091: error: request for member 'end' in
'((configuration_manager*)this)->configuration_manager::m_cfgfiles', which
is of non-class type 'int'
make[1]: *** [rconfig.o] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
Also, probably should be forked into a seperate ticket but, ncurseswis
dying during build because it creates terminfo files like
/opt/local/lib/terminfo/a/a210 without reporting as owner of these files,
so on upgrade/etc, it fails.
As a third issue, whenever I install almost anything recently .. ruby,
ruby1.9, rvm, coreutils, sqlite3, etc .. I am always first automatically
reinstalling ncursesw in the build tree. Shouldn't it just accept that the
thing is installed laready and be done with it? why does this software
need to be rebuilt for ''every'' other install ?
--
Ticket URL: <http://trac.macports.org/ticket/24712>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list