Date: Sun, 19 Jun 2016 20:13:35 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 210393] ports-mgmt/pkg Unnecessary compilation Message-ID: <bug-210393-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210393 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 changed. Therefore I see no need to recompile Port B. Here's a real-world example --------------------------- Poudriere ========= [00:01:15] ====>> Starting jail 101amd64-head-RL_WS [00:01:15] ====>> Logs: /usr/local/poudriere/data/logs/bulk/101amd64-head-RL_WS/2016-06-19_04h03m58s [00:01:15] ====>> Loading MOVED [00:01:20] ====>> Calculating ports order and dependencies [00:02:39] ====>> Sanity checking the repository [00:02:39] ====>> Checking packages for incremental rebuild needed [00:02:42] ====>> Deleting faad2-2.7_5,1.txz: new version: 2.7_6,1 echo: write error on stdout [00:02:58] ====>> Deleting libxine-1.2.6_7.txz: missing dependency: faad2-2.7_5,1 [00:02:59] ====>> Deleting vlc-2.2.4,4.txz: missing dependency: faad2-2.7_5,1 [00:03:00] ====>> Deleting eaglemode-0.89.1_1.txz: missing dependency: libxine-1.2.6_7 [00:03:02] ====>> Deleting stale symlinks [00:03:02] ====>> Deleting empty directories [00:03:02] ====>> Cleaning the build queue [00:03:09] ====>> Recording filesystem state for prepkg... done [00:03:18] ====>> Building 4 packages using 4 builders [00:03:18] ====>> 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] ====>> Hit CTRL+t at any time to see build progress and stats [00:04:06] ====>> [01][00:00:00] Starting build of audio/faad [00:05:00] ====>> [01][00:00:54] Finished build of audio/faad: Success [00:05:00] ====>> [01][00:00:00] Starting build of multimedia/libxine [00:05:00] ====>> [02][00:00:00] Starting build of multimedia/vlc [00:07:40] ====>> [01][00:02:40] Finished build of multimedia/libxine: Success [00:07:41] ====>> [01][00:00:00] Starting build of x11/eaglemode [00:09:40] ====>> [01][00:01:59] Finished build of x11/eaglemode: Success [00:11:55] ====>> [02][00:06:55] Finished build of multimedia/vlc: Success [00:11:56] ====>> Stopping 4 builders Client ====== 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. -- 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-32340>
