Source: pmix
Version: 2.0.1-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-h...@lists.debian.org
Usertags: hurd-i386

The build of pmix for hurd-i386 (admittedly not a release architecture)
failed:

  ../../../../../src/mca/base/pmix_mca_base_component_find.c:342:20: error: 
'MAXHOSTNAMELEN' undeclared (first use in this function); did you mean 
'PMIX_MAXHOSTNAMELEN'?

The Hurd has no static MAXHOSTNAMELEN.  Best practice is to allocate
memory dynamically based on what you actually encounter, but if that's
not convenient, you can look up _SC_HOST_NAME_MAX via sysconf or define
a reasonable fallback constant.

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to