From nobody Mon Jan 06 14:38:49 2025 X-Original-To: freebsd-hackers@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 4YRcJQ0BMBz5kdpf for ; Mon, 06 Jan 2025 14:39:18 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRcJP149Wz4n2F for ; Mon, 6 Jan 2025 14:39:17 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=6yearold@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-e46ebe19368so18110216276.0 for ; Mon, 06 Jan 2025 06:39:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736174356; x=1736779156; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CBuXGDz3mG6LrsUOkH3VhJfQc0K8r7Y6KQxTHdMGCkU=; b=mRwOOKMVYhpYqP1xLoxIB9FhfQAi0wgo327cyfvO8pk/8UtDZcVS5UaDit7twFbe2D R01nLQk4RSpSRIflHHg/s/Idu/GkOfeGmMXC6a4TQQ+HykCq7Jukkakyr8P7jqSsc6q2 bb7kShs2+mES9LlVlTZCnrqTSZE/eCmlGY3MPklcNC0l0TDtb5nU11/pIs0WR7ei8K2j QpluFSnSNYWs43mA8RNlg/7Zp8CCX3AAHefGl5GOJGy/z+t1Fm3D1V10SH4mUNFxi1rL Zny9ffZBPJDdDLPcygXcvYgJwr7L5LOZyG86uWLtS47gg6G385xUuL1Tnm0TZ1tONq+3 MWSQ== X-Gm-Message-State: AOJu0YwG1epqOwjmq87kZmuTXhNn92YQL7hG0quiq2O2yt4Pi8uIY03m TwpkcM9dgwv4CtNAmYC09yMVPekVYvYqEC8BmoMoawNPJtjpSx50AeRUNd3h X-Gm-Gg: ASbGncvKGFkpQQPW1ow8JzUWNdzYUunTT/eMpHecYLAB1zSMFAZIYcCumHNDAR4GsHd 7wpOgAHX1hm/+Rp77zEeRomHK9i+wvVJu81G5zB3zXevbY7qrI4zdeq5manb5jm7Xaldvq1T7Pn XR4JFjFaunegLQligxP2bh0S+6Fq2P28BAqh3gnJUfQuXSoNKcQSQ8v8ZB3LIy1aOCAbqkUsdFF qwuY68zjyLtdzo7PJyrXHzHZzResDezwQgZ+3ZKoBxoRtzj3+hLcp6YJ/B/bNn343ibAilhgDAg +6nS2adpTDusyhdTf7+E X-Google-Smtp-Source: AGHT+IHskQUfQKcKO7cD9WlAJswwvGg53aI38XrVHDcI/lWJngfe65JYc45jts8br2PwOvIRHkz2uA== X-Received: by 2002:a05:690c:7007:b0:6ef:6536:bb8c with SMTP id 00721157ae682-6f3f8141cc8mr396803767b3.21.1736174355595; Mon, 06 Jan 2025 06:39:15 -0800 (PST) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com. [209.85.219.178]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6f3e74996e1sm84149347b3.63.2025.01.06.06.39.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jan 2025 06:39:15 -0800 (PST) Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-e3983426f80so19780385276.1 for ; Mon, 06 Jan 2025 06:39:15 -0800 (PST) X-Received: by 2002:a05:690c:6487:b0:6ef:70ae:ca16 with SMTP id 00721157ae682-6f3f823f0camr444629717b3.39.1736174355171; Mon, 06 Jan 2025 06:39:15 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <6c7932c3-bc9a-4e64-a069-ca9619b4a04b@m5p.com> In-Reply-To: From: Gleb Popov Date: Mon, 6 Jan 2025 17:38:49 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Arcana of the ports build system To: George Mitchell Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4YRcJP149Wz4n2F X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.84 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.94)[-0.940]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; TAGGED_RCPT(0.00)[freebsd]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.169:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.169:from,209.85.219.178:received] On Mon, Jan 6, 2025 at 5:18=E2=80=AFPM George Mitchell wrote: > > On 1/6/25 09:00, Gleb Popov wrote: > > On Mon, Jan 6, 2025 at 4:05=E2=80=AFPM George Mitchell wrote: > >>[...] > >> Now in fact I have net/asio installed, and /usr/local/include/asio.hpp > >> exists. But attempting to build abiword stops and complains: > >> Does not build with asio from system > >> As far as I can tell, no such thing as "asio from system" even exists. > > > > The "system" term here means "installed into system-wide prefix" or in > > other words "coming from pkg install". > > The antonym to "system" in this context is "bundled". I presume that > > Abiword has an option to build with asio that comes together with > > Abiword itself. > > > So ... do I understand that the way to solve this problem is, > counterintuitively. to UNINSTALL asio?? According to the pkg database, > asio was only installed because abiword depends on it!! I'll try it, > though. The COLSERVICE_BUILD_DEPENDS=3D ${LOCALBASE}/include/asio.hpp:net/asio makes Abiword depend on asio if the COLSERVICE option is turned on. > Guess what happened. There was no "BROKEN" complaint to begin with, > but the first thing that happened was that building editors/abiword > caused net/asio to be built and reinstalled. At that point, the build > returned to editors/abiword, and now it said: > > abiword-3.0.5_11 is marked as broken: Does not build with asio from > system Does not build with asio from system. > *** Error code 1 > > So something is wrong with the Makefile as it stands, and I have no > clue on how to fix it. Thanks for your attention. -- George In the same vein, the COLSERVICE_BROKEN=3D Does not build with asio from system works just like plain BROKEN=3D knob, but only when COLSERVICE option is en= abled. You need to turn this option off (or just remove COLSERVICE_BROKEN and see what exactly breaks in this case).