Bug#574191: imview: FTBFS on armel (redefinition of 'struct user')
Adam D. Barratt
adam at adam-barratt.org.uk
Tue Mar 16 23:33:24 UTC 2010
Package: imview
Severity: important
Version: 1.1.9c-5
Hi,
imview fails to build on armel; from the build log:
make[2]: Entering directory `/build/buildd-imview_1.1.9c-5-armel-XHcU53/imview-1.1.9c/server'
g++ -D_REENTRANT -DLinux -I. -I/usr/include -fopenmp -I/usr/include/ImageMagick -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -I.. -I.. -c noimserver.cxx
g++ -D_REENTRANT -DLinux -I. -I/usr/include -fopenmp -I/usr/include/ImageMagick -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -I.. -I.. -c asynchat.cxx
g++ -D_REENTRANT -DLinux -I. -I/usr/include -fopenmp -I/usr/include/ImageMagick -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -I.. -I.. -c asyncore.cxx
g++ -D_REENTRANT -DLinux -I. -I/usr/include -fopenmp -I/usr/include/ImageMagick -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -I.. -I.. -c imserver.cxx
In file included from /usr/include/sys/procfs.h:34,
from /usr/include/sys/ucontext.h:26,
from /usr/include/signal.h:359,
from ../machine.hxx:50,
from imserver.hxx:53,
from imserver.cxx:56:
/usr/include/sys/user.h:49: error: redefinition of 'struct user'
interpreter.hxx:103: error: previous definition of 'struct user'
make[2]: *** [imserver.o] Error 1
make[1]: *** [all] Error 2
afaics this only occurs on armel as it's the only architecture which
includes sys/procfs.h from signal.h (via ucontext.h); interpreter.hxx
then defines its own user class, which conflicts with the struct defined
by procfs.h.
Full build log available from
https://buildd.debian.org/fetch.cgi?&pkg=imview&ver=1.1.9c-5&arch=armel&stamp=1268493987&file=log
Regards,
Adam
More information about the debian-science-maintainers
mailing list