Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 May 2023 08:35:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271293] ports-mgmt/portmaster: recompiles ports multiple times
Message-ID:  <bug-271293-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271293

            Bug ID: 271293
           Summary: ports-mgmt/portmaster: recompiles ports multiple times
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: se@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: se@FreeBSD.org
             Flags: maintainer-feedback?(se@FreeBSD.org)

Scenario:
- FreeBSD 13.1 latest
- About 1750 installed ports, latest
- Upgraded FreeBSD to 13.2 latest
- Want to recompile all installed ports
  . Find the current date:
    cutoff=3D`date +%s`
  . Run portmater:
    portmaster --no-confirm `pkg query -e "%t < $cutoff" %n-%v`
  . Keep restarting this last command until success (after errors, delibera=
te
interrupting, etc.)

Result:
- On the first run of the command above, all ports are selected for rebuild
(obviously)
- It seems that the solver does not correctly consider ports that have alre=
ady
been built as a dependency of a previous port
- This means that many ports are built often or very often, e.g., meson, or
llvm15.

Expected result:
- Each port should be rebuilt only once

Notes:
- If I remember correctly this was working correctly some time ago.

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271293-7788>