From nobody Fri Aug 30 18:19:53 2024 X-Original-To: freebsd-ports@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 4WwRJm398mz5PTHF for ; Fri, 30 Aug 2024 18:20:08 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 4WwRJm1718z4NDb; Fri, 30 Aug 2024 18:20:08 +0000 (UTC) (envelope-from jdavidlists@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-7cf6641765dso1621903a12.1; Fri, 30 Aug 2024 11:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725042006; x=1725646806; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cukcf62/M7+KNBdCECJYzvHoCM+UHXnPI5K2wkQoB8I=; b=L4WwhzfqQkj7ubjSpRHgBPwHgqedS1Hjb4GMJSDCsLb9FsZVKWot18OwtIY6Qh0ltz 5QWzA+U9bPmCUZ4RCN1D3gaBpXgr7MU3hvvUtLoFi/EB4mMLpSTCd8EJYe+sT56Q3ALc U46/IAQ2AVSWeZNoERw1H7CQncYuezdvcAJXWOcv9FbbSfaYjrYn+Eoj5wcaWr3fMeDn rPD4WxXMduICCYIj8UwbXemkO7qpTfupHbgBqChjXWn9AGhyCvNRx83mK55sBOEJVqKb 0SWninZt5ZFZBINrH0/kmLEP4/EJ193pgTC3YJ5YHst7qIoN6m+zTD8B1mS6Og92b3fs tIWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725042006; x=1725646806; 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=cukcf62/M7+KNBdCECJYzvHoCM+UHXnPI5K2wkQoB8I=; b=gp1ptwQZK3NXhvGY1mqjqGLm9ZV7f6brmYTzvibVMqQKUMd33CgyavszUi1kTuYKSU 3tK1OA5VWm3tdniFlrHhRGeEuAcO+NQWZ4KavW5kzfi8yAZnRB82XzZ745+8KVtIeRPA 7fBF4SBQGlbsQ7Rf5Q86qVxh50e9gh37lmq2CxzNU4CiY7sfJxT0FUNljglFV5MO9G7Q e8YBZ7tibJE49LbxpHh0j7kRGmykAak3ABze3l4Df4FrqaXFuaEYfzEvmWjAoAL75PUI LSGc90K6bO4eLFpgGLCn+LD97g1g4MGXltyHhyk1ZQYJYdPnjdp4vPmJmi2WKOtWKnC0 ueyQ== X-Gm-Message-State: AOJu0YyxZC5xvN1kBrSN6wzSvQaQ2dJD03pAzp8umiHmIpsRzxK9zuCQ nke+hkY3i1AcbgUNsL3CmxyVyi6gH8mimIyUgyyyHtNaRBsK38j+KHsfTRe+srtbtNdriPoE1gc rEdi659s5twtJ6EpBWPHswHYR7IZHuL58 X-Google-Smtp-Source: AGHT+IFqEmEJIDiD1vOW//sNIlXYfXM2Dma/Cn+hz0p+jMknw6OzAuhVhlVF3rt7Pq5YxakKwJ9y59a1bl+Em/WtxIU= X-Received: by 2002:a17:90a:3ea6:b0:2c9:5a87:f17c with SMTP id 98e67ed59e1d1-2d8561a14a1mr7173274a91.15.1725042006522; Fri, 30 Aug 2024 11:20:06 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 References: <2B2BB530-202A-4359-BFC9-A608A8FC66FE@FreeBSD.org> In-Reply-To: <2B2BB530-202A-4359-BFC9-A608A8FC66FE@FreeBSD.org> From: J David Date: Fri, 30 Aug 2024 14:19:53 -0400 Message-ID: Subject: Re: Building certain ports fails with errors in system C++ libraries To: Dimitry Andric Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4WwRJm1718z4NDb On Fri, Aug 30, 2024 at 1:54=E2=80=AFPM Dimitry Andric wr= ote: > This is the problem: do not redefine identifiers like this, as it leads > to problems. Try renaming this macro to "my_hex", "le_hex" or anything > but "hex". :) /usr/include/c++/v1/ios is the system C++ standard library include file for streams. The "edit.h" file in this case comes from the port. Which the automated infrastructure for official FreeBSD packages is (somehow) able to build. But how?! There is literally nothing here that is custom, tweaked, changed, or created by us. It's a port build on a newly installed system.