From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vCiYu7d8E2PhNCxHk0wVEkrurTa9YfcMf0jOKbkbtR8=; b=S3ZOeQsGPO5oCRDE7sFqp1QxkfJdxS3M9mVVzsTgaBW0nmAG61T5av2hwkIkGaZw9z athtPyeSRnyZEuE6FSCdWqQJwDAlsyYc99J9cbzyVbu0PO1nhcQRPs14e+Udxag5Cfm5 YQ1sYPwL+pL+nuoqz97CSwb81/cr7cMjp/d3IkkS7UKhOENw9J7zFnqCCDs6WTFAWWUi OxJvwUUNEE0B/OhbnM7mfvtuawHGflc5JbfyCbVKo8Y6/zKRSZ11FwhG/oTgLNKwXCh+ JV0SreZwSlTeHFMwaiq/Z53yOxhzVcu2nLsSSRvPHDW1CzlsHFnZ0wxgeH3M7nwQoLJr CXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vCiYu7d8E2PhNCxHk0wVEkrurTa9YfcMf0jOKbkbtR8=; b=jcaiyKji59fQ88hirJFCJbBRWkSmrhAL5ozIa9n6DH4njtxUWwqhoTxViQMnLD0g+v ZEepmO5riIFp7gYHvARCaR2QGBG1rvCOOFM4TKXn+1WFGNerEOY72c1GRQpTWBbYePwS cmEi8+pc+lIPWFVdSd3JtLK58MnL3PmzBWuwx2xZVJlFgk+eaTC3mgDr11f3HBxdAGf/ ef0Xmd7X88etX7NjemJg2EmGlOURjA/PMSe1B0+ouGuqQnDGX2xFouiwCKtaUKfMSCQL tk3b/mtHMs8UEJRu94alPOAo5LRFPdGh50solrQwdiASnOzE1gS1sJcsPth04n8Mk7eT JpVg== X-Gm-Message-State: AGi0PuaZDi3pJkUmDGeVkrxtUXKzkn0hdyRGefBCCopM731uMx+M6GqP vbrAPHHqSVHFcc2NzPRbj3bEaGBlHo3HsLUy2cAIOw== X-Google-Smtp-Source: APiQypJ9hZbE8tBu8X3S2UI5oHlkkYrAFMUDR/nr+YYmKUK6vX+PDFwhyc7H2urNFU74IN2soK7AzFBZ17FaYlijqOo= X-Received: by 2002:a92:91d7:: with SMTP id e84mr2444131ill.255.1587968733902; Sun, 26 Apr 2020 23:25:33 -0700 (PDT) MIME-Version: 1.0 From: Alexey Tourbin Date: Mon, 27 Apr 2020 09:25:23 +0300 Message-ID: To: ALT Linux Team development discussions Content-Type: text/plain; charset="UTF-8" Subject: [devel] synchronized subtask rebuild & disttags way too strict X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2020 06:25:36 -0000 Archived-At: List-Archive: List-Post: On Thu, Apr 23, 2020 at 10:21 PM Vladimir D. Seleznev wrote: > > I think we already have this problem: the decision to rebuild a > > subtask is made locally (or rather remotely), per architecture. So > > occasionally we've seen unmet dependencies due to disttag mismatch. > > Has the problem been addressed? > > Hmm, I'll think about that. For mixed-arch packages, with both arch and noarch subpackages, you need a two-phase subtask rebuild. There will be two interactions with the remotes. The first phase is, "tell me if there is no need to rebuild". You gather the answers for all architectures / from all remotes. If all architectures report "no need to rebuild", there will be no phase two. Otherwise, if at least one remote wants to rebuild, then you ask all the remotes, "rebuild irregardless". This all could have been avoided if you disttags were not so strict. It can be argued that repo+task.subtask is just strict enough, at least from the end user's point of view. (On the other hand, it can also be argued that repo+task.subtask.iter.subiter is the only "sure way" to prevent mixing subpackages from different rebuilds.)