SWIG issue with next

Hi,

the most up-to-date ‘next’ fails to compile on my Ubuntu 12.10 (32 bit).
Is this the same issue as
http://gnuradio.org/redmine/issues/529 ?

(gr_ctrlport has been disabled due to an unfortunate issue with GCC 4.7
and the pre-packaged ICE in Ubuntu; otherwise the same config that I use
for the master. No remains of previous master builds etc.)

[ 34%] Building CXX object
gr-blocks/swig/CMakeFiles/_blocks_swig.dir/blocks_swigPYTHON_wrap.cxx.o
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:7188:22: error:
redefinition of struct swig::traits
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:6180:22: error:
previous definition of struct swig::traits
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:7192:23: error:
redefinition of struct swig::traits_asval
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:6184:23: error:
previous definition of struct swig::traits_asval
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:7198:23: error:
redefinition of struct swig::traits_from
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:6190:23: error:
previous definition of struct swig::traits_from
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:7208:22: error:
redefinition of struct swig::traits<std::vector >
/x/build/gr-blocks/swig/blocks_swigPYTHON_wrap.cxx:6200:22: error:
previous definition of struct swig::traits<std::vector >
make[2]: ***
[gr-blocks/swig/CMakeFiles/_blocks_swig.dir/blocks_swigPYTHON_wrap.cxx.o]
Error
1

Peter

On Mon, Apr 1, 2013 at 5:35 PM, Peter H. [email protected] wrote:

Hi,

the most up-to-date ‘next’ fails to compile on my Ubuntu 12.10 (32 bit). Is
this the same issue as
http://gnuradio.org/redmine/issues/529 ?

Well, as I’ve said before, during these (hopefully) last few days of
us working to get to the 3.7 release, you can’t necessarily trust
anything on the next branch. When we make a new next branch, it’s in a
state of “well, it works for me” but isn’t getting full testing
coverage, yet.

But I appreciate you reporting errors that we might have missed.

In this case, I believe I have fixed these issues on a current
development branch we’re working on that puts gruel into
gnuradio-runtime. This should be merged into next soon. I’ve been
testing this branch on both a 64-bit and 32-bit system to make sure
these issues get resolved when they appear.

(gr_ctrlport has been disabled due to an unfortunate issue with GCC 4.7 and
the pre-packaged ICE in Ubuntu; otherwise the same config that I use for the
master. No remains of previous master builds etc.)

Yes, this is a known bug with Ice and GCC 4.7. ICE has patched it, but
it’s not in any of the standard repos, yet (I’m not even sure if it’s
going to be part of a patch release or if we just have to wait or
hand-install a new version of ICE).

Personally, I just downgraded to GCC 4.6 on my Ubuntu 12.10
installations.

Tom