From owner-freebsd-questions@freebsd.org Tue Jan 19 06:35:56 2016 Return-Path: Delivered-To: freebsd-questions@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 F34C5A88DC3 for ; Tue, 19 Jan 2016 06:35:56 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id AF58F15CF for ; Tue, 19 Jan 2016 06:35:56 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from cage0 (OTWAON234VW-LP140-05-1176444850.dsl.bell.ca [70.31.31.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 6A1192900243; Tue, 19 Jan 2016 04:35:49 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1453185354; bh=lQPT3ULEd8D63UZaEtd0sNetToAhmGWdNx7RI8w5uzI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fpwnNAUNUpoFQ7DvUyQ4L1zTUbXnyN79dX6wgM3dMyyhF5JIlGW7oDjfnpf0LBHeO u/2x6Zmavik/bmLmDKNy4BVKMOD4k3W3l8aiOKYHoIpWx13jgUi00jRtsCqWXD9Dwb RjTpCv3NOiwtyzBUP6u7B2kKlPcqwVNMlaDFnmeg= Date: Tue, 19 Jan 2016 06:34:38 +0000 From: =?ISO-8859-1?Q?Lu=EDs?= Fernando Schultz Xavier da Silveira To: Polytropon Cc: kpneal@pobox.com, freebsd-questions@freebsd.org Subject: Re: Unexpected dependencies of graphics/libGL Message-Id: <20160119063438.ca57c8a3bd8ba6781a58b040@ime.usp.br> In-Reply-To: <20160119062345.5402e98b.freebsd@edvax.de> References: <20160117031923.ce1f36547351bf07b6fff9a0@ime.usp.br> <20160117070715.1c33732b.freebsd@edvax.de> <20160117162018.964db3b1f2f2133242773e78@ime.usp.br> <20160117220247.69e6774f.freebsd@edvax.de> <20160118161235.GA92637@neutralgood.org> <20160119050806.cd08ca0687e76a4b09a701e3@ime.usp.br> <20160119062345.5402e98b.freebsd@edvax.de> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2016 06:35:57 -0000 Hello, > But this is not different from how ports are being built in > the regular ports tree: Compilation tools could be compromized > or package content could be affected. The typical "make install" > will generate a package which is then installed via pkg. Indeed, it is not different, and that is my point. > It's easier to revert a jail than a whole system. Additionally, > the jail is separated from the system so no harm can be done > there. If the extra dependencies break the jail, the output packages can be malformed and, when installed, break the host system. > This also applies to regular port usage - unless, of course, > you are forcing non-standard behaviour (like keeping an old > library via "pkg lock"). I do not think so. With regular use, build dependencies are only rebuilt when updated. To be fair, I never used Poudriere and do not know how it handles this, so please disregard my comment. > In this case, check "pkg lock" and "pkg unlock". Maybe a custom > solution is possible for you: First lock all packages except > those that you really want to be affected by an upgrade, then > run "make configure" and "make install" (which, as I said, causes > a "pkg install" step), and then unlock things again if you wish. > If your system contains lots of software installed from ports, > and you're not planning to install from packages, this is not > a big problem, I think. Only the case "mixing ports and packages" > is still something where you need to pay attention to several > side effects. Indeed. I avoid mixing ports and packages. In each jail I choose one method. But for the host I prefer ports.