Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2016 20:13:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210393] ports-mgmt/pkg Unnecessary compilation
Message-ID:  <bug-210393-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 210393
           Summary: ports-mgmt/pkg Unnecessary compilation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: leeb@ratnaling.org
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Port A was v1.0 now is v1.1
Port B lib-depends only Port A.

Poudriere recompiles Port A because it's version has bumped.
Poudriere recompiles Port B because it depends on Port A.

Client fetching new packages gets the new Port A, but Port B has not change=
d.
Therefore I see no need to recompile Port B.

Here's a real-world example
---------------------------
Poudriere
=3D=3D=3D=3D=3D=3D=3D=3D=3D
[00:01:15] =3D=3D=3D=3D>> Starting jail 101amd64-head-RL_WS
[00:01:15] =3D=3D=3D=3D>> Logs:
/usr/local/poudriere/data/logs/bulk/101amd64-head-RL_WS/2016-06-19_04h03m58s
[00:01:15] =3D=3D=3D=3D>> Loading MOVED
[00:01:20] =3D=3D=3D=3D>> Calculating ports order and dependencies
[00:02:39] =3D=3D=3D=3D>> Sanity checking the repository
[00:02:39] =3D=3D=3D=3D>> Checking packages for incremental rebuild needed
[00:02:42] =3D=3D=3D=3D>> Deleting faad2-2.7_5,1.txz: new version: 2.7_6,1
echo: write error on stdout
[00:02:58] =3D=3D=3D=3D>> Deleting libxine-1.2.6_7.txz: missing dependency:
faad2-2.7_5,1
[00:02:59] =3D=3D=3D=3D>> Deleting vlc-2.2.4,4.txz: missing dependency: faa=
d2-2.7_5,1
[00:03:00] =3D=3D=3D=3D>> Deleting eaglemode-0.89.1_1.txz: missing dependen=
cy:
libxine-1.2.6_7
[00:03:02] =3D=3D=3D=3D>> Deleting stale symlinks
[00:03:02] =3D=3D=3D=3D>> Deleting empty directories
[00:03:02] =3D=3D=3D=3D>> Cleaning the build queue
[00:03:09] =3D=3D=3D=3D>> Recording filesystem state for prepkg... done
[00:03:18] =3D=3D=3D=3D>> Building 4 packages using 4 builders
[00:03:18] =3D=3D=3D=3D>> Starting/Cloning builders
101amd64-head-RL_WS-job-02: removed
101amd64-head-RL_WS-job-04: removed
101amd64-head-RL_WS-job-01: removed
101amd64-head-RL_WS-job-03: removed
[00:04:06] =3D=3D=3D=3D>> Hit CTRL+t at any time to see build progress and =
stats
[00:04:06] =3D=3D=3D=3D>> [01][00:00:00] Starting build of audio/faad
[00:05:00] =3D=3D=3D=3D>> [01][00:00:54] Finished build of audio/faad: Succ=
ess
[00:05:00] =3D=3D=3D=3D>> [01][00:00:00] Starting build of multimedia/libxi=
ne
[00:05:00] =3D=3D=3D=3D>> [02][00:00:00] Starting build of multimedia/vlc
[00:07:40] =3D=3D=3D=3D>> [01][00:02:40] Finished build of multimedia/libxi=
ne: Success
[00:07:41] =3D=3D=3D=3D>> [01][00:00:00] Starting build of x11/eaglemode
[00:09:40] =3D=3D=3D=3D>> [01][00:01:59] Finished build of x11/eaglemode: S=
uccess
[00:11:55] =3D=3D=3D=3D>> [02][00:06:55] Finished build of multimedia/vlc: =
Success
[00:11:56] =3D=3D=3D=3D>> Stopping 4 builders

Client
=3D=3D=3D=3D=3D=3D
Installed packages to be UPGRADED:
        xfce4-session: 4.12.1_2 -> 4.12.1_3
        python34: 3.4.4_2 -> 3.4.4_3
        python27: 2.7.11_2 -> 2.7.11_3
        libgpg-error: 1.22 -> 1.23
        libgcrypt: 1.7.0 -> 1.7.1
        gettext-runtime: 0.19.7 -> 0.19.8.1
        faad2: 2.7_5,1 -> 2.7_6,1

Installed packages to be REINSTALLED:
        pinentry-0.9.7 (options changed)

You will see that faad2 was compiled and vlc has it as a library dependency.
faad2 was installed on the client machine, but vlc was unchanged.

--=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-210393-13>