Source: yoshimi
Version: 1.5.6-2
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-h...@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/?a...@monk.mit.edu

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

Reply via email to