IBM / ibmi-bob

A build system for creating IBM i-native objects using GNU Make.
https://ibm.github.io/ibmi-bob
Apache License 2.0
47 stars 20 forks source link

makei b recreates objects that don't need to be rebuilt #329

Open irfanshar opened 2 months ago

irfanshar commented 2 months ago

After doing a full build of https://github.com/IBM/bob-recursive-example, if you run makei b AGAIN (with no changes), the following rebuild

  1. SAMPLE.BNDDIR
  2. VAR300.MODULE
  3. FVAT.SRVPGM
  4. ORD100.PGM
  5. CRTORD.CMD
  6. ORD100C.PGM
  7. STREAMDTA.DTAQ
  8. ART200.PGM
  9. ART201.PGM
  10. ART202.PGM
  11. ORD700.PGM

All rebuild successfully except for STREAMDTA

irfanshar commented 2 months ago

Issue seems to be when using https://github.com/codefori/vscode-ibmi deploy feature. If your local machine's time is ahead of the IBM i to which you're deploying, those files will continue to be rebuilt. @edmundreinhardt not too sure what to do in this scenario

irfanshar commented 2 months ago

STREAMDTA.DTAQ not rebuilding successfully will be fixed by https://github.com/IBM/bob-recursive-example/pull/15

irfanshar commented 2 months ago

Issue could be resolved by following https://ibm.github.io/ibmi-bob/#/getting-started/prerequisites?id=use-an-internet-time-server-to-keep-timestamps-in-sync

AIforIBMi commented 2 months ago

Good work.