From owner-freebsd-questions@freebsd.org Mon Apr 5 03:53:08 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 839845C0628 for ; Mon, 5 Apr 2021 03:53:08 +0000 (UTC) (envelope-from steve@watt.com) Received: from ns.watt.com (ns.watt.com [96.95.204.250]) (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 (2048 bits) client-digest SHA256) (Client CN "*.watt.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDGw34cMgz4vJr for ; Mon, 5 Apr 2021 03:53:06 +0000 (UTC) (envelope-from steve@watt.com) Received: from neko (c-24-130-199-94.hsd1.ca.comcast.net [24.130.199.94]) (authenticated bits=0) by ns.watt.com (8.16.1/8.16.1) with ESMTPSA id 1353r2j2030135 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 4 Apr 2021 20:53:04 -0700 (PDT) (envelope-from steve@watt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watt.com; s=mail21wn12; t=1617594785; h=from:from:reply-to: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=niQpQ5js+jdqW3g7qHW71OlmGfCCfu9Iz3jQfBkWgTc=; b=skKdE99Dg+wWqU7Oc+2rPDu8uPB1RunLb8G7V5HC10jcl14SV2nZOpcF3O8UoxdKNfdWKn blmMiKTjuxXOcMwZ6ZaWnDhqfN7c9D8dexodOx8+YJaQ760C0vAM49T9p0ywf7N7enqggC Ecuiy0w6aripCBBEEzDjUSyhCUwMs+z/e8J92ZwFNZ2fm7JCizYBRHMMbz6kElAxq4I9H6 laLX2FrEjj3vMcgpkv3gD1bI9hSjfIywqgm1EbirMYYe3ubiw46YwJYSTOPwbCX5xVtUmm xVC41v+MCt8cF/9009nEF16lKhCXRgdf4rwF68HztyVyAsNUUTa6Ovm2sya6Jw== Reply-To: From: "Steve Watt" To: "'Paul Procacci'" Cc: "'FreeBSD Questions'" References: <064801d7208a$91844760$b48cd620$@watt.com> <8005b6a88e993756821d85593bfab598@webmail.watt.com> In-Reply-To: Subject: RE: Bizarre dependency on gnatcross-sysroot-aarch64? Date: Sun, 4 Apr 2021 20:52:55 -0700 Organization: Watt Consultants Message-ID: <018401d729cf$2d9a3950$88ceabf0$@watt.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQI+uDdwsUCoucalQTdph0brqUD5YAKr0p72AefcMKCpsZBSsA== Content-Language: en-us X-Archived: 1617594784.734074737@rivendell.watt.com X-Rspamd-Queue-Id: 4FDGw34cMgz4vJr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=watt.com header.s=mail21wn12 header.b=skKdE99D; dmarc=pass (policy=none) header.from=watt.com; spf=pass (mx1.freebsd.org: domain of steve@watt.com designates 96.95.204.250 as permitted sender) smtp.mailfrom=steve@watt.com X-Spamd-Result: default: False [-3.70 / 15.00]; HAS_REPLYTO(0.00)[steve@watt.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[96.95.204.250:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[watt.com,none]; DKIM_TRACE(0.00)[watt.com:+]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[24.130.199.94:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[watt.com:s=mail21wn12]; FREEFALL_USER(0.00)[steve]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2021 03:53:08 -0000 Nice thought! Unfortunately, pkg.conf is an exact duplicate of = pkg.conf.sample. =20 --=20 Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. =20 From: Paul Procacci =20 Sent: Sunday, April 4, 2021 20:46 To: Steve Watt Cc: FreeBSD Questions Subject: Re: Bizarre dependency on gnatcross-sysroot-aarch64? =20 I have FBSD 12.2-p4 as well and don't have this problem. Shot in the dark, but do you happen to have anything defined in pkg.conf = that would alter the behavior of pkg? ABI is something that _could_ effect it though I'm not entirely sure it = would in this case. Looking at the source code it appears pkg doesn't slurp in any = environment variable that I would consider "altering" in this case; so = that's out of the question. I obviously don't know why this is happening to you, but some alteration = in pkg.conf is really the only thing that comes to my mind. =20 ~Paul =20 On Sun, Apr 4, 2021 at 11:15 PM Steve Watt > wrote: [ Originally sent to freebsd-pkg, but it appears that nobody really=20 reads that list... ] Greetings! I have a puzzle. I've got a 12.2-RELEASE-p4 amd64 system, and pkg seems = to be fixated on installing gnatcross-sysroot-aarch64. I don't do any=20 Arm development on this system, never have. And certainly not Ada=20 (because it's one of the few I've never bothered to learn). Here's some output from "pkg -ddd install -n p5-Astro-SunTime" with=20 rather a lot of trimming to look about for that package: - - - 8< - - - [ ... ] DBG(3)[50731]> Pkg: add a new dependency origin: archivers/liblz4,=20 name:liblz4 DBG(2)[50731]> Pkg> adding options: LZ4 =3D on DBG(2)[50731]> Pkg> adding options: LZO =3D on DBG(2)[50731]> Pkg> adding options: NETTLE =3D off DBG(2)[50731]> Pkg> adding options: OPENSSL =3D on DBG(2)[50731]> Pkg> adding options: ZSTD =3D off DBG(3)[50731]> added shlib deps for libarchive on liblzo2.so.2 DBG(3)[50731]> added shlib deps for libarchive on liblz4.so.1 DBG(3)[50731]> added shlib deps for libarchive on libexpat.so.1 DBG(3)[50731]> added shlib provide libarchive.so.13 for libarchive DBG(2)[50731]> universe: add new remote pkg: libarchive,=20 (libarchive-3.4.3,1:2$2$eozraqhwoj3freut9a5phsxgyz3dyubeu6czec67qnnjaozxw= h1mgzmuheun8oxokj8irkur9r44m5pnz8dwq56huk553on5hxgz65y) DBG(2)[50731]> Pkg> adding options: DOCS =3D on DBG(3)[50731]> added shlib provide libexecinfo.so.1 for libexecinfo DBG(3)[50731]> added shlib provide libzpool.so.2 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libzfs_core.so.2 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libzfs.so.2 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libz.so.6 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libypclnt.so.4 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libxo.so.0 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libwrap.so.6 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libwind.so.11 for=20 gnatcross-sysroot-aarch64 DBG(3)[50731]> added shlib provide libuutil.so.2 for=20 gnatcross-sysroot-aarch64 [ ... ] DBG(3)[66243]> added shlib provide lib80211.so.1 for=20 gnatcross-sysroot-aarch64 DBG(3)[66243]> added shlib provide lib4758cca.so for=20 gnatcross-sysroot-aarch64 DBG(2)[66243]> universe: add new remote pkg: gnatcross-sysroot-aarch64,=20 (gnatcross-sysroot-aarch64-1_1:2$2$u89mzc46i3ip13r9afgyu7xayub1yg7nqqbonw= akkfiu9rjjwdbnpiqd8jhfowp136zwp8d5rdy9j67zhacxbz3unhj7gfyd1dz1hsn) [ ... ] DBG(2)[66243]> set automatic flag for gnatcross-sysroot-aarch64 [ ... ] DBG(2)[66243]> require rule: package cmake(l) depends on a requirement=20 provided by: gnatcross-sysroot-aarch64(r) - - - >8 - - - Ok, so maybe cmake is somehow calling for it? But: 1325# pkg info -B cmake cmake-3.19.6: librhash.so.0 libexpat.so.1 libarchive.so.13 libuv.so.1 libexecinfo.so.1 libjsoncpp.so.24 libcurl.so.4 Maybe it's libarchive? 1326# pkg info -B libarchive libarchive-3.5.1,1: liblzo2.so.2 libexpat.so.1 libcrypto.so.11 liblz4.so.1 libzstd.so.1 On sniffing around in /var/db/pkg, I can tell that it's mentioned in=20 local.sqlite (and, of course, in repo-FreeBSD.sqlite), but I run out of=20 clue to figure out where and in what table(s). Utterly puzzled. Thoughts? -- Steve Watt PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. _______________________________________________ freebsd-questions@freebsd.org = mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org = " --=20 __________________ :(){ :|:& };: