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, Nov 14, 11:01 PM
Unknown Object (File)
Thu, Nov 7, 12:50 PM
Unknown Object (File)
Thu, Nov 7, 12:48 PM
Unknown Object (File)
Thu, Nov 7, 2:54 AM
Unknown Object (File)
Mon, Nov 4, 6:47 PM
Unknown Object (File)
Sat, Nov 2, 4:52 PM
Unknown Object (File)
Oct 3 2024, 12:35 AM
Unknown Object (File)
Sep 23 2024, 6:47 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 Not Applicable
Unit
Tests Not Applicable

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.