Bug#835627: ros-rospack: FTBFS on hurd-i386

Svante Signell svante.signell at gmail.com
Sat Aug 27 18:16:29 UTC 2016


Source: ros-rospack
Version: 2.3.0-3
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

HI,

ros-rospack currently FTBFS on GNU/Hurd since 2.3.0-3 when the unit
tests were enabled. This is due to usage of PATH_MAX in
file test/test/utest.cpp. The attached patch fixes this by using
getcwd(NULL, 0) to allocate space, populate path and free it after
usage. As all Debian architectures support this usage of getcwd() no
harm would be done. All tests succeed on GNU/Hurd too.

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-unit-tests-PATH_MAX.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160827/7c6aa61f/attachment.bin>


More information about the debian-science-maintainers mailing list