Bug#888640: gcab: FTBFS on hurd-i386: PATH_MAX undeclared
Source: gcab Version: 1.0-1 Severity: normal Tags: upstream User: debian-hurd@lists.debian.org Usertags: hurd The latest build of gcab for hurd-i386 (admittedly not a release architecture) failed: ../tests/gcab-self-test.c:33:19: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘NAME_MAX’? The Hurd notoriously has no static PATH_MAX. Best practice is dynamically accommodating whatever you actually encounter, since fixed-size buffers generally run the risk of either wasting memory or yielding truncation (or, worse, buffer overflows). However, if that's infeasible, you can also look up _PC_PATH_MAX via pathconf or even 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
Bug#888639: rtklib: FTBFS on hurd-i386: many undefined references
Source: rtklib Version: 2.4.3+dfsg1-1 Severity: normal Tags: upstream Justification: fails to build from source User: debian-hurd@lists.debian.org Usertags: hurd The build of rtklib for hurd-i386 (admittedly not a release architecture) failed with many undefined references, as detailed in https://buildd.debian.org/status/fetch.php?pkg=rtklib&arch=hurd-i386&ver=2.4.3%2Bdfsg1-1&stamp=1516747222&raw=0: viewer.o: In function `TextViewer::Read(QString const&)': ./app/rtknavi_qt/../appcmn_qt/viewer.cpp:98: undefined reference to `expath' refdlg.o: In function `RefDialog::UpdateDist()': ./app/rtknavi_qt/../appcmn_qt/refdlg.cpp:221: undefined reference to `norm' ./app/rtknavi_qt/../appcmn_qt/refdlg.cpp:223: undefined reference to `pos2ecef' [...] naviopt.o: In function `OptDialog::BtnRefPosClick()': ./app/rtknavi_qt/naviopt.cpp:293: undefined reference to `ecef2pos' ./app/rtknavi_qt/naviopt.cpp:308: undefined reference to `pos2ecef' collect2: error: ld returned 1 exit status Makefile:243: recipe for target 'rtknavi_qt' failed make[4]: *** [rtknavi_qt] Error 1 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