Bug#807318: libmpich-dev: should add Depends: to match hard-wired gcc dependency in mpicxx.h

Drew Parsons dparsons at debian.org
Mon Dec 7 11:16:52 UTC 2015


Package: libmpich-dev
Version: 3.1-6
Severity: grave
Justification: renders package unusable

/usr/include/mpich/mpicxx.h has a hardwired dependency on the gcc used
to build mpich (gcc 5.2):

#ifdef __GNUC__ 
# if __GNUC__ >= 5 
#  if __GNUC_MINOR__ > 2 && 2 == 2 
#  error 'Please use the same version of GCC and g++ for compiling MPICH and user MPI programs'
#  endif
# endif     
#endif

But the current gcc (on s390x) is 5.3.  So an error is thrown when
building client programs (cf. Bug#803477), making mpich mostly
unusable on this architecture. 


libmpich-dev has a dependency on gcc.  But because the version in
mpicxx.h has been hardwired like this, I think that means libmpich-dev
should have a versioned Depends: gcc (<=4:5.2), Conflicts: gcc (>4:5.2)

In any case, mpich needs to be rebuilt, on s390x at least, to
update the gcc dependency in mpicxx.h.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: s390x



More information about the debian-science-maintainers mailing list