On Mon, 2013-06-10 at 20:02 +0200, Paul Dreik wrote: > Hi, this is already solved in the (yet not released) next version. I > received a patch from another user (I prefer not to name people publicly > before having asked them first), renaming the offending structure > members. While your suggested patch is shorter, I prefer to use > preprocessor macros as little as possible.
Thanks for your prompt reply and an upstream solution. An alternative solution is to include <sys/stat.h> in Fileinfo.hh instead of Fileinfo.cc. However, maybe there are reasons not to include that header file there? > As soon as I release the next version 1.3.3, this bug can be closed. > (Does it close automagically because it is a FTBFS which can be > automatically detected?) I think the bug will be closed by the package maintainer TANIGUCHI Takaki when the new upstream is packaged, if the upstream changelog reflects that. Thanks, Svante > Thanks anyway! > > Paul > > 2013-06-09 23:19, Svante Signell skrev: > > Source: rdfind > > Version: 1.3.2-1 > > Severity: important > > Tags: patch > > User: debian-h...@lists.debian.org > > Usertags: hurd > > > > Hi, > > > > Currently [1], rdfind fails to compile on GNU/Hurd. (rdfind is a > > build-dependency of glibc since 2.17-4.) The build failure is due to > > that st_dev is used in struct Fileinfostat in Fileinfo.cc, as defined in > > Fileinfo.hh. On GNU/Hurd st_dev is defined as st_fsid which is reflected > > by inclusion of <sys/stat.h>. That file is included in Fileinfo.cc but > > not in Fileinfo.hh. By simply defining st_dev as st_fsid in Fileinfo.hh > > the problem is resolved, see the attached patch. > > > > Thanks! > > > > [1]https://buildd.debian.org/status/fetch.php?pkg=rdfind&arch=hurd-i386&ver=1.3.2-1&stamp=1367901858 > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org