From nobody Fri Nov 25 21:12:10 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NJncg7559z4hTF4; Fri, 25 Nov 2022 21:12:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NJncg6X31z3M1V; Fri, 25 Nov 2022 21:12:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669410739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GoClF6G42GClxuuI4MpDDfeq+/CgoK1G3ipkGpYhlkE=; b=QqyxTtoeuZxgPWzS5UKhX4tqfsggO674BxuBnGyQPsOkiPUxafeNTwu5HxVhSBsC5cPtRA Y+Mh6viQLMvhbOJQKsBrFJj0ZD6Bq0VNb0UFIJul6F+P5OzkbyFpP0RWpktSKYT/cRoRL5 vX3xtuzbNKBKUDeqjYJIejhFC5r0CeritJjuTvrVj6CIYShTgs/WPd90PFFEjn6XzHmlDT jDzzRSP/sL/8QK/voFT6IsN+507NwQMKo9t5KhZLlk4u9qArCSOnz2C+i9C42AcwLLw6O2 2RODEk1hTmL7o+/sp7I4mTI864ez0dcVpFMY7ew3+IenkHc37qzToYr+dk+ylg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669410739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GoClF6G42GClxuuI4MpDDfeq+/CgoK1G3ipkGpYhlkE=; b=YAl2UEP9Wna6bg3vCETnZG7QnaNNI5CGY60YYJ2koIlpsOQvVbSe8PHrz+V5cB3NL5I+uq HCaswHykZ+nOZNgLRHYKDu2XLrVyEe4Ioh4TRq2Dez8UF4CH25PYcopTDM4xPI9A+Gvpla jTulv4AeyxJg35sd+HQFVkt2ym+465pUXJvDYTVVqw/o/ErP8Sp2j4IgTIDtQd1vetJz2+ MXX2mQ5bSyeV/8b37OvGSfHE5Gq/GA4UW8MPxi39v8+dvyrZZGStV4Ez188o4qulstWr5Q kDD1/2dyrbh4Rfncfw467IUFq36rsBKZ8kj4cx3qJuTFFeyayHtkO80AnnbAgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669410739; a=rsa-sha256; cv=none; b=ETZCYpvPgK+oHzRHvo9L0VFN+sfUM9bS/W66WBCRVw3BbSR5hUmojixeBcqe8jJD+TSVSa B6B8DdPzrCl0VIzkjNqAquvKYBEujRfxJ0fvveyzEqzur95BBnlbW8CXDtNzFUDzl6/p5N 2ehPRc1WFTRcA/vsfpGhyNC924lHOUO+x7jfKGkwE6r1i2pxT0GV8LleFEgh/57Rp1KKtc 1LHss5cZ33pthGa8gK47A9I00M5xvJ+P2gQEBkMJYDruCluWZlkxGAqsKelo55H56giL7w f80RGLdnj2d0cVV1pAwxRjj2oGvj+g28Z+0QA63rnQDTr8JV646pIPfsgHsXbg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id D131012713; Fri, 25 Nov 2022 21:12:19 +0000 (UTC) From: Jan Beich To: Dima Panov Cc: Alexey Dokuchaev , Baptiste Daroussin , Gleb Popov , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 6a5b2121a0ad - main - graphics/libimagequant: update to 4.0.4 In-Reply-To: <2e05d6b8-09e4-9053-bb6e-f77b206a953b@FreeBSD.org> (Dima Panov's message of "Fri, 25 Nov 2022 22:17:36 +0300") References: <202211021359.2A2DxrBH094375@gitrepo.freebsd.org> <20221123124550.uxesmrgrd6ewbx2r@aniel.nours.eu> <2e05d6b8-09e4-9053-bb6e-f77b206a953b@FreeBSD.org> Date: Fri, 25 Nov 2022 22:12:10 +0100 Message-ID: <5yf2-spqt-wny@FreeBSD.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Dima Panov writes: > On 25.11.2022 20:55, Jan Beich wrote: >> Dima Panov writes: >> >>> Moreover, hard requirement of rust automagically kills any future to build >>> huge bunch of packages under emulation, because rust fails under qemu-user-static. >>> This situation lead to impossibility to have any package depended on graphics/gd >>> (with IQU enabled) in cross-builded repos. >> No different from graphics/librsvg2-rust. The package cluster builds >> aarch64 natively and armv7 emulated on aarch64, so use prebuilt package >> via "poudriere bulk -b latest". > > Nope. It's different -- we have a CHOICE between old librsvg and > modern librsvg-rust. librsvg2-rust is an unconditional dependency of many ports while libimagequant is an optional dependency in few ports (only in one it's unconditional). Either way user has to take action by adjusting make.conf or disabling port option. > Hardcoded rust via libimagequant leaves us with no choice at all. Feel > the difference? librsvg2 vs. librsvg2-rust split happend back when lang/rust had few supported architectures. Not because of qemu-user-static which was always fragile and partially side-stepped via native-xtools. If you want libimagequant-norust or similar the onus on creating and supporting that is on you. Beware, security/py-cryptography will also require lang/rust to build soon (bug 254853). > And second point -- many advanced users have own poudriere repo to > build tree with own set of options. In this case prebuilded rust > often cannot be handled because of different dependency tree. Port options can be fine-tuned to satisfy poudriere criteria. lang/rust has few RUN_DEPENDS and mainly used as BUILD_DEPENDS, so only global stuff like DEFAULT_VERSIONS+=ssl=libressl affecting ftp/curl may pose a problem. > Please keep all users avoid of rust buildind burden at least until > rust issue with emulation will be fixed. There's currently no consistency how to treat qemu-user-static (e.g., librsvg2-rust is default) and requires time to QA workarounds. Another option is repackaging lang/rust as cross-compiler (similar to devel/binutils) and hooking into poudriere. Even if qemu-user-static is fixed build of rust consumers is going to be very slow, like when non-base Clang is used.