From owner-freebsd-pkgbase@freebsd.org Mon Apr 6 14:22:59 2020 Return-Path: Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FF9C2B1E35 for ; Mon, 6 Apr 2020 14:22:59 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48wt6n6rmBz483b for ; Mon, 6 Apr 2020 14:22:57 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 48wt6m3qjmz6ddk; Mon, 6 Apr 2020 16:22:56 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id MmrMsPj4-OQN; Mon, 6 Apr 2020 16:22:54 +0200 (CEST) Subject: Re: FreeBSD-base and poudriere To: Grzegorz Junka , freebsd-pkgbase@freebsd.org References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com> <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com> <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net> From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= mQENBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf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bof2 /KPgGie9/ToFZfJXH8zE5GefqkKvHZbYssWilFvkI90F9n138kG205NB/2zlaQb74/v9ZMXJ XcipnIx+T2tOMCBgHJU41IMJmB+NfRt5A6CDytJdhWxqppsEo5jjy/7tJM1Nn47G87tAV8qV NUtzbS6zdnbHB4W2BJwCObbVv8epL3hu/L5efV2j2tSbVTmyvK/ClYMBqdtUo3uPX75GF/Ku YDCOP1BTA5zzmzp4PMVd+gmHcMgCZKY6lvcEtdi5FLI0we2kcY8ffPvM2d6MNhFsGLaVI95J 0oqJAR8EGAECAAkFAk+G+l0CGwwACgkQGuaGDlbL0pM18Qf9HTNNhu8N0ISKtmR8lgPhJuu8 9rOEa8KKEatr4fQ7gL+hmYOEqZ/yHLcPQvGxbAlLR7F0SheKvAEk4B1aFwGULPo0SzuO0d/W tVMEbGa95JTm/6mfiymWMlWf8UifD1MDKzzPR7Om0ybeoPM8S/RQTboUU1WLpwd4mg9pVJlK 0xr55GOSHNf4m7S+P1kvl3xgmEj14zVMq9yJBNWFlsQK5ciifh7sFpfuxWdEVbtgIdxpzImK LXSLA0vOroKAvxFTGBrBq3vxV6eUmaKyd5HbbWejmafY1ua5dcnew9lxpWKLdqkC27Vt0Cku +LtTY3325V+BChncwNcJJS7IMmBz6w== Message-ID: Date: Mon, 6 Apr 2020 16:22:53 +0200 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48wt6n6rmBz483b X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.09)[ip: (-8.72), ipnet: 159.69.0.0/16(-0.13), asn: 24940(-1.57), country: DE(-0.02)]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 14:22:59 -0000 On 06/04/20 13:49, Grzegorz Junka wrote: > >>>> I'm doing a similar thing on head. What I do is run normal svn up; make >>>> buildworld; make buildkernel; make packages on the poudriere machine. I >>>> the upgrade that machine with the new base packages. >>>> >>>> After that I perform: >>>> >>>> poudriere jail -j ${j} -u -t 359154 >>>> >>>> where 359154 is the subversion revision I have just compiled in >>>> /usr/src. >>>> >>>> So I get packages for that exact head revision. >>>> >>>> Hope this answers your question. >>>> >>>> BTW I have found no way to create a jail with a fixed svn revision from >>>> the get go. When I need to do that, I resort to temporarily modifying >>>> poudriere code at jail.sh:563, adding -r option. I then revert >>>> the >>>> change. >>>> >>> Thanks, that's interesting. So, poudriere will build the jail from >>> sources from that specific revision? >> Yes, since it will "svn up -r " it's source tree for that jail. >> >> It will also invalidate and remove all packages if __FreeBSD_version has >> changed. >> >>> But I think it still won't solve the problem where the base packages >>> have been build with modified kernel configuration. Can you supply a >>> custom kernel configuration in your method? >> No I can't, but really a modified kernel configuration should not impact >> on ports, do you have a specific scenario? >> >> At most ports interact with kernel sources, whatever the configuration. > > > Yes, I do have a specific scenario of building drm-fbsd12.0-kmod. As I > was told on the -ports group this package has to be compiled with EXACT > same sources and kernel configuration as the kernel modules. I don't > know if that also means building using the kernel compiled from that > configuration, or if it's enough that the custom kernel configuration is > active when compiling the port, but definitely it would not be enough to > just have the kernel sources without the configuration. Unless I > misunderstood. I'm not sure that's the case for drm-fbsd12.0-kmod. I think it only needs the same exact kernel sources. The to actually use drm you will need a running kernel with the required parts, but that should not change how the package is built. -- Guido Falsi