From owner-freebsd-pkg@freebsd.org Sun Jun 19 20:13:36 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5492BA7989C for ; Sun, 19 Jun 2016 20:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC3F1E00 for ; Sun, 19 Jun 2016 20:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3E26DA79898; Sun, 19 Jun 2016 20:13:36 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DDBDA79897 for ; Sun, 19 Jun 2016 20:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E30C1DFF for ; Sun, 19 Jun 2016 20:13:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5JKDZfx052473 for ; Sun, 19 Jun 2016 20:13:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 210393] ports-mgmt/pkg Unnecessary compilation Date: Sun, 19 Jun 2016 20:13:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: leeb@ratnaling.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 20:13:36 -0000 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.=