From nobody Thu Jun 06 01:18:30 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 4VvmgH3Tl4z5MWh1 for ; Thu, 06 Jun 2024 01:18:35 +0000 (UTC) (envelope-from njqashat@gmail.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4VvmgG141fz4R8k for ; Thu, 6 Jun 2024 01:18:34 +0000 (UTC) (envelope-from njqashat@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=WPPXKOP2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of njqashat@gmail.com designates 2607:f8b0:4864:20::82a as permitted sender) smtp.mailfrom=njqashat@gmail.com Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-44015f7b07dso1951901cf.2 for ; Wed, 05 Jun 2024 18:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717636712; x=1718241512; darn=freebsd.org; h=content-transfer-encoding:message-id:references:in-reply-to:subject :to:from:date:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=9o2Tu/q2jDGbFPj+lnKGdNw4MgtOhb5O9vTv7WF96LM=; b=WPPXKOP2BcAkmfZgHa70qQ8uor8p8MWILE/HXjA+z1P4qAYEtieYlYAdN77/QjDLQe U35mLsC5nP3rqZGD3epCQl8x5xAuS4dgcvF80FGckh8ePoN8Sd7MPqqhp51nAxXqM6/J WMOljOxrJsv3N5iSCqvAGtc3GJT+3WgzNYG8eGTnMNNrjFO4HBzOjCzRl0Uqb8TU/krk 5akQOysp2RZ4cE+QgiiDORmnHBKz1mRREYoDjAhnHDVVtjKDgQnpZnB1ZrjCZjabvAao s4igGFodgrRU4+On7wc44/8HjADb674SjguRp74B/mjmnhr/h3iDnZCChEY7SuTr8SnA tixw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717636712; x=1718241512; h=content-transfer-encoding:message-id:references:in-reply-to:subject :to:from:date:mime-version:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=9o2Tu/q2jDGbFPj+lnKGdNw4MgtOhb5O9vTv7WF96LM=; b=FU6Gcm6SSqLFEjG6l/5ZUv0kdnJer+y2MPiuJs/CVXsKMUq6goX1yPmI9MCOLXYqsb 0AHzLl7ObzG9nZZnDlcVwX78ck4cjij8qipVpj42bfZHOwVlek0NzUHtorNlHbhJgyHy HLJu8XAxLsnL5gQHRlvbNtX9qthI0KOerE031Ad36NX3nQsHKiJKOFWktUJar02WRqBI p7ZlnigMBk8Ghs5Yjtj1+6kiHuMgDO1zBXFpuIIzu1tA/k6c7fB0sPYfz4yEkjtCttpi Ph+pHTLPenInicLGzSXKG3OzNZMnnAu9N52CZHmF6TyWzzVyHAl2xw0EW4hnX8jGF/6F TiUg== X-Gm-Message-State: AOJu0YxcAPBgQmAcfEE5bUGFlRaEhcDMMeUIc6VpcQDaRmq1O0/k4Tyj 8maPpiEj89rS4v2Na5IhbwLAyd4SnITSUhXybmrhLvRC4LkKfNMMlg90pqji X-Google-Smtp-Source: AGHT+IGQRSGAEWp/BaHYd+xH9lxYiEu9VuQ2Chb3plHgPKWX091VMQUeVlGxBZMagpbTzd/gq76+tA== X-Received: by 2002:a05:622a:4cc:b0:43e:e6e:21bf with SMTP id d75a77b69052e-4402b463c05mr52444681cf.1.1717636712348; Wed, 05 Jun 2024 18:18:32 -0700 (PDT) Received: from www.cyberbotx.com (c-68-62-69-208.hsd1.mi.comcast.net. [68.62.69.208]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44038b3dda1sm1149061cf.72.2024.06.05.18.18.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 18:18:31 -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 Date: Wed, 05 Jun 2024 21:18:30 -0400 From: Naram Qashat To: Freebsd Ports Subject: Re: Unable to build lang/dotnet for aarch64 in amd64 poudriere In-Reply-To: References: Message-ID: <7f222d2def480e3f262cf884240f9788@gmail.com> X-Sender: njqashat@gmail.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.951]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82a:from] X-Rspamd-Queue-Id: 4VvmgG141fz4R8k On 2024-06-05 16:35, Naram Qashat wrote: > I wanted to build a copy of dotnet from lang/dotnet for my Raspberry Pi > 4 and I use poudriere on my amd64 machine to cross-compile aarch64 > ports for the Pi. Both systems are currently running 13.2-RELEASE-p2. > But when I try to build lang/dotnet in poudriere this way, the build > fails. It twice gives the error of: > > Failed to create CoreCLR, HRESULT: 0x8007FF06 > > I couldn't find a proper answer online for why this happens. I found a > close answer with a slightly different HRESULT that suggested having > allow.mlock in the jail configuration, but even adding that to my > global /etc/jail.conf doesn't solve the problem, so I think that mlock > isn't my issue. > > The full build log is here: > https://poudriere.cyberbotx.com:8766/data/local_aarch64-default/2024-06-05_10h53m44s/logs/errors/dotnet-8.0.0.log So, slight update, I think this is a qemu-user-static issue. I tried to build on the Pi itself and it actually proceeds to build. I know very little about how things work with using qemu-user-static to crossbuild arm64 on amd64, but this seems to be the culprit at least. I also don't know how to fix this so I can use poudriere to build dotnet for arm64 on an amd64 machine.