[Freeciv-tickets] [freeciv] #43995: generate_packets.py get run on every build

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Mar 1 20:00:16 JST 2022


#43995: generate_packets.py get run on every build

  Open Date: 2022-03-01 09:49
Last Update: 2022-03-01 12:00

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/43995
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43995

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-03-01 12:00 Updated by: alienvalkyrie

Comment:

Reply To cazfi
But my initial thought was option (3) that even with lazy-overwrite we would still refresh the timestamp (touch the generated files).
At that point, lazy-overwrite would do essentially nothing (except leave the originaly untouched when there's an error in the generation process, in which case the build fails anyway, so it barely matters). The whole point of lazy-overwrite – at least for me – is that the generated files, particularly the headers, don't get touched, to avoid having to rebuild approximately the entire codebase. Especially right now, when I'm refactoring the generation script (which should leave the generated files unchanged), that saves a lot of time.

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.2.0
     Component: Bootstrap
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Current master: even when I run 'make' twice in a row, without changing absolutely anything, the output shows that generate_packets.py gets run. Don't understand why. I've checked timestamps of both generate_packets.py and packets.def, and neither has any weird in-future timestamp.
This is probably mostly harmless in a development branch, but if the same happens (haven't tested) in a build from a release tarball, that breaks a build without python.


-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/43995
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43995



More information about the Freeciv-tickets mailing list
Back to archive index