Source: ignition-common
Version: 1.0.1-1
Severity: normal
Tags: upstream
User: debian-h...@lists.debian.org
Usertags: hurd

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

  /<<PKGBUILDDIR>>/src/FilesystemBoost.cc: In function 'std::__cxx11::string 
ignition::common::cwd()':
  /<<PKGBUILDDIR>>/src/FilesystemBoost.cc:134:25: error: 'PATH_MAX' was not 
declared in this scope

The Hurd makes a point of not having a static PATH_MAX.  Best practice
is dynamically accommodating whatever you actually encounter, for
instance by taking advantage of realpath's policy of allocating the
buffer itself when supplied a NULL buffer.  (You'll of course need to
free it when done.)

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

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to