Source: tty-clock Version: 2.1-1 The ncurses development packages are going to see a change after the Stretch release, ncurses5-config will be replaced by ncurses6-config. Your package FTBFS if ncurses5-config is not present on the build system. From my pbuilder log:
,---- | debian/rules override_dh_auto_build | make[1]: Entering directory '/build/tty-clock-2.1' | /usr/bin/make CFLAGS="-g -O2 -fdebug-prefix-map=/build/tty-clock-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -I $(ncurses5-config --includedir) $(ncurses5-config --libs)" | /bin/sh: 1: ncurses5-config: not found | /bin/sh: 1: ncurses5-config: not found | make[2]: Entering directory '/build/tty-clock-2.1' | build ttyclock.c | CC -g -O2 -fdebug-prefix-map=/build/tty-clock-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -I -Wl,-z,relro ttyclock.c | /usr/lib/gcc/i686-linux-gnu/6/../../../i386-linux-gnu/Scrt1.o: In function `_start': | (.text+0x28): undefined reference to `main' | collect2: error: ld returned 1 exit status | Makefile:22: recipe for target 'tty-clock' failed | make[2]: *** [tty-clock] Error 1 | make[2]: Leaving directory '/build/tty-clock-2.1' | debian/rules:11: recipe for target 'override_dh_auto_build' failed | make[1]: *** [override_dh_auto_build] Error 2 | make[1]: Leaving directory '/build/tty-clock-2.1' | debian/rules:8: recipe for target 'build' failed | make: *** [build] Error 2 | dpkg-buildpackage: error: debian/rules build gave error exit status 2 `---- Rather than $(ncurses5-config --includedir) $(ncurses5-config --libs), consider just passing -lncurses here, which should be sufficient. Or add a build dependency on pkg-config and use $(pkg-config --libs ncurses). -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 4.9.3-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)