Page MenuHomeFreeBSD

`make installworld' should display the install time
ClosedPublic

Authored by wosch on Jul 8 2024, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 8:12 PM
Unknown Object (File)
Nov 14 2024, 11:01 PM
Unknown Object (File)
Nov 7 2024, 12:50 PM
Unknown Object (File)
Nov 7 2024, 12:48 PM
Unknown Object (File)
Nov 7 2024, 2:54 AM
Unknown Object (File)
Nov 4 2024, 6:47 PM
Unknown Object (File)
Nov 2 2024, 4:52 PM
Unknown Object (File)
Oct 3 2024, 12:35 AM

Details

Summary

For years we display the time in seconds how long it takes to run `make buildworld' (see PR 224433).
We should do the same for "installworld" and "installkernel"

e.g.:

Installing everything completed on Sun Jul  7 16:11:37 UTC 2024
Install world completed in 110 seconds, ncpu: 2, make -j2


Test Plan

make -j $(nproc) buildworld
make -j $(nproc) buildkernel installkernel
make -j $(nproc) installworld
make -j $(nproc) packages

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wosch requested review of this revision.Jul 8 2024, 9:30 AM
This revision is now accepted and ready to land.Jul 12 2024, 5:59 PM

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

And, indeed, reverting this commit locally fixes it. Please can it be reverted and re-landed after testing with make packages?

wosch edited the test plan for this revision. (Show Details)
wosch added reviewers: emaste, theraven.

Updated diff with more specific make targets

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

There is an entry for that in build.7 now.

If nobody objects I will commit the updated patch next week.

A report on the pkg-base list suggests that this broke make packages. I am seeing the same breakage, which indeed does look like it's dying in the place modified by this commit:

>>> Installing everything completed on Mon Jul 15 13:31:16 UTC 2024
/tmp/install.wghTiNRH3L/sh: arithmetic expression: expecting primary: "1721050276 - "

@theraven: I'm wondering where I can find a documentation about make packages. I looked at /usr/src/Makefile, /usr/src/README.md and build(7) without success.

There is an entry for that in build.7 now.

Thank you!

This revision was not accepted when it landed; it landed in state Needs Review.Sep 2 2024, 9:56 AM
This revision was automatically updated to reflect the committed changes.