On 2016-07-08 21:04 +0200, Jakub Wilk wrote:
> Package: faketime
> Version: 0.9.6-5
> Severity: grave
>
> faketime no longer works:
>
> $ faketime '2008-12-24 08:15:42' date
> ERROR: ld.so: object '/usr/lib/faketime/libfaketime.so.1' from
> LD_PRELOAD cannot be preloaded (cannot open shared object file):
> ignored.
> Fri Jul 8 21:02:01 CEST 2016
The reason for this is that debian/rules now directly adds
-Wno-nonnull-compare to CFLAGS which causes dh to ignore
dpkg-buildflags. Adding -Wno-nonnull-compare to DEB_CFLAGS_MAINT_APPEND
instead fixes this.
See debhelper(7) (emphasis mine):
,----
| All of the dh_auto_* debhelper programs and dh set
| environment variables listed by dpkg-buildflags,
| *unless they are already set*.
`----
Cheers,
Sven