Bug#885249: yoshimi: FTBFS on hurd-i386: PATH_MAX undeclared

Aaron M. Ucko ucko at debian.org
Tue Dec 26 03:49:18 UTC 2017


Source: yoshimi
Version: 1.5.6-2
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-hurd at lists.debian.org
Usertags: hurd-i386

Builds of yoshimi for hurd-i386 (admittedly not a release
architecture) have been failing:

  /<<PKGBUILDDIR>>/src/Misc/MiscFuncs.cpp: In member function 'std::__cxx11::string MiscFuncs::localPath(std::__cxx11::string)':
  /<<PKGBUILDDIR>>/src/Misc/MiscFuncs.cpp:343:29: error: 'PATH_MAX' was not declared in this scope

The Hurd notoriously has no static PATH_MAX.  Best practice is to
accommodate whatever you actually encounter (with the help of, e.g.,
the GNU libc extension get_current_dir_name); alternatively, you can
look up _PC_PATH_MAX via pathconf or supply a fallback constant
(traditionally 4096).

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/?amu@monk.mit.edu



More information about the pkg-multimedia-maintainers mailing list