[Rivet] Build failed in Jenkins: Rivet-U64-HepMC-2.5 #1010

Frank Siegert frank.siegert at cern.ch
Thu Apr 4 08:17:33 BST 2013


On 4 April 2013 00:02, IPPP build system <david.grellscheid at durham.ac.uk> wrote:
> make[2]: Entering directory `<https://www.ippp.dur.ac.uk/jenkins/job/Rivet-U64-HepMC-2.5/ws/Rivet/pyext/rivet'>
> /usr/bin/swig -c++ -python -I../../include -o rivetwrap_wrap.cc rivetwrap.i
> /usr/bin/swig -c++ -python -I../../include -o rivetwrap_wrap.cc rivetwrap.i
> rivetwrap.i:86: Error: 'toParticleName' is multiply defined in the generated target language module in scope .
> ../../include/Rivet/ParticleName.hh:223: Error: Previous declaration of 'toParticleName'
> rivetwrap.i:87: Error: 'toParticleId' is multiply defined in the generated target language module in scope .
> ../../include/Rivet/ParticleName.hh:229: Error: Previous declaration of 'toParticleId'

I can't reproduce this here, but could this be related to the fact
that toParticle{Name,Id} are declared as inline in the header files
and thus don't need any redeclaration in rivetwrap.i?

Also, as far as I can tell, the toParticleName and toParticleId aren't
being used anywhere in the Python wrapper... shall we just get rid of
them in rivetwrap.i?

Cheers,
Frank


More information about the Rivet mailing list