Bug#489730: iceape: FTBFS on GNU/kFreeBSD (due to subsecond timestamp resolution)

Petr Salinger Petr.Salinger at seznam.cz
Tue Jul 8 16:51:16 UTC 2008


Hi,

I hopefully found the real cause of failure on GNU/kFreeBSD.

It is due to subsecond time resolution available in underlying
file system. The output of gcc does have subsecond timestamps cleared,
but output of touch preserves them.

This timestamp problem have been exposed by different VISIBILITY_FLAGS
in "make all" and "make install" calls.

It can be fixed by patch bellow.

It would also be nice if you can ask upstream
to include this change to config/rules.mk.


Thanks in advance

                         Petr

--- config/rules.mk
+++ config/rules.mk
@@ -1310,6 +1310,7 @@
  $(XPIDL_GEN_DIR)/.done:
         @if test ! -d $(XPIDL_GEN_DIR); then echo Creating $(XPIDL_GEN_DIR)/.done; rm -rf $(XPIDL_GEN_DIR); mkdir $(XPIDL_GEN_DIR); 
fi
         @touch $@
+       @sleep 1

  # don't depend on $(XPIDL_GEN_DIR), because the modification date changes
  # with any addition to the directory, regenerating all .h files -> everything.






More information about the pkg-mozilla-maintainers mailing list