Control: tags -1 patch On Sun, 02 Dec 2018 22:01:31 +0200 Adrian Bunk <b...@debian.org> wrote: > Source: ksh > Version: 93u+20120801-3.3 > Severity: serious > Tags: ftbfs > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ksh.html > > ... > /build/1st/ksh-93u+20120801/src/lib/libast/string/fmtdev.c: In function > 'fmtdev': > /build/1st/ksh-93u+20120801/src/lib/libast/string/fmtdev.c:44:16: error: > expected expression before ';' token > ma = major(mm); > ^ > /build/1st/ksh-93u+20120801/src/lib/libast/string/fmtdev.c:45:16: error: > expected expression before ';' token > mi = minor(mm); > ^ > mamake [lib/libast]: *** exit code 1 making fmtdev.o
Hi, I've attached a patch that gets rid of the FTBFS. I did not test the resulting built package. This fix is from upstream, https://github.com/att/ast/commit/0d9d80e91c3b1bdb7ab037a25dbe8e01f81b18a6 -- Juhani
Description: Include <sys/sysmacros.h> for major/minor on glibc Origin: https://github.com/att/ast/commit/0d9d80e91c3b1bdb7ab037a25dbe8e01f81b18a6 Bug-Debian: https://bugs.debian.org/915326 Last-Update: 2018-12-11 --- a/src/lib/libast/string/fmtdev.c +++ b/src/lib/libast/string/fmtdev.c @@ -30,6 +30,7 @@ #include <ast.h> #include <ctype.h> #include <ls.h> +#include <sys/sysmacros.h> char* fmtdev(struct stat* st)