From nobody Tue Apr 30 03:17:32 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 4VT54R2YrTz5J0r9 for ; Tue, 30 Apr 2024 03:18:15 +0000 (UTC) (envelope-from junho.choi@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VT54Q002xz4mFn for ; Tue, 30 Apr 2024 03:18:13 +0000 (UTC) (envelope-from junho.choi@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Z9gjayyT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of junho.choi@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=junho.choi@gmail.com Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-51d20472133so3330116e87.3 for ; Mon, 29 Apr 2024 20:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714447090; x=1715051890; 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=LQwOEKqtvslu2HauD46ycaKSSBHmjGHMBHfDNpYr1pU=; b=Z9gjayyTPwUcIj1LcxEPNkbZjhHpVYkTLZDIPggBjmRFAsB8XOpUVpZEAG+Qoa4+VN a/fSJ5Niv3K3hhTq9dkyZoWez3VzfY8UAnk1YIavVmhi7diopy9/mPGzEeI2Oln4KeF2 oAiukZKHhIBWQvhMtjkYWU8O1mqBeV5nRc1JFr1XKpzbZSKa6aP7/3qnnEAe0ERpJsu2 Cef+zUUbrQtcD45GJUctPACf+vDz0eldSOD+JK0+qRIKxzrjxEyIevn6Hl1CL+6sQ9KF hw0uC5q8aR1d7HeYAmcpBuoPlUNR1x5Vs2aFQp/mkwf2emp5xLsxGLoeb8mCUrznQbg2 QRqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714447090; x=1715051890; 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=LQwOEKqtvslu2HauD46ycaKSSBHmjGHMBHfDNpYr1pU=; b=VF8m3L2SttcZWfdTjGZVynzCC2SbpP9Kchmfk4G9akQFYViXqmHpWzteDUtwi4nqPM TKsU1CdtoJe3PQhVOHaKwDr+xdQqSe0P4pOx0E1RQwQzvi/deIjL8m0qm0Oz+GY7YBKx TbTSLAUmWGq3wKd47cCxakALY5HwIfJNYAD/wl1P931ZgBP6ajGzcqBUQCjS+MATFAlA EMPxLAOAqQ6YNe5iYgeUSzhQ2kFNpuaHK8UkuYUak97M3Oq41tzeeziIv/JFxc2G2JiS yY5BrEDSEma/2XlSIZZC6B5javrkYUESxKA8l3AjVbuoAgQn3G5w6CAz4pN/m6d80JEH q0og== X-Gm-Message-State: AOJu0YxAFt04mbrQWj/WLCpHGPxQQjMroPUTVxOl1CQPjeWeTGCSHn8U W28aP19KTZI4qBfPH7ckJ7HZSCazVzd/LWvSUThAKTWlhd7PU6QTTlsez3jzXhM9ggM2h+wR5Nt BQ8og5SPTMbYpqeQRJe3rQ/KLbwRTtvgAnYw= X-Google-Smtp-Source: AGHT+IEp7rCyDRldBmIPIjfSMIOBJWe1rTOHePKmKnNcQitPMUI3cwO3BXcUynW7C8UYOSUe2VqPmWjz5FafJ18DN1s= X-Received: by 2002:a19:8c09:0:b0:51b:214c:5239 with SMTP id o9-20020a198c09000000b0051b214c5239mr8228850lfd.62.1714447090220; Mon, 29 Apr 2024 20:18:10 -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: In-Reply-To: From: Junho Choi Date: Tue, 30 Apr 2024 12:17:32 +0900 Message-ID: Subject: Re: quiche dependency issue in FreeBSD To: =?UTF-8?Q?Yann_Kerherv=C3=A9?= Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::129:from] X-Rspamd-Queue-Id: 4VT54Q002xz4mFn (Cross posting to ports@) Yann - yes I can reproduce it but have no idea why. It seems quiche doesn't have a "Shared Lib provided" section like other libs. (see below) Other than USE_LDCONFIG, what affects it? Any advice from committers? % pkg info quiche quiche-0.20.1 Name : quiche Version : 0.20.1 Installed on : Tue Apr 30 03:14:32 2024 UTC Origin : net/quiche Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : net Licenses : BSD2CLAUSE Maintainer : junho.choi@gmail.com WWW : https://crates.io/crates/quiche Comment : Savoury implementation of the QUIC transport protocol and HTTP/3 Options : DOCS : on QLOG : on Annotations : FreeBSD_version: 1400097 build_timestamp: 2024-04-04T20:02:03+0000 built_by : poudriere-git-3.4.1-1-g1e9f97d6 port_checkout_unclean: no port_git_hash : 0e1153d3a5 ports_top_checkout_unclean: no ports_top_git_hash: f5d16d08a6 repo_type : binary repository : FreeBSD Flat size : 48.2MiB Other example (libnghttp2 has "Shared Lib Provided" section) % pkg info libnghttp2 libnghttp2-1.61.0 Name : libnghttp2 Version : 1.61.0 Installed on : Sun Apr 21 12:06:36 2024 UTC Origin : www/libnghttp2 Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : www net Licenses : MIT Maintainer : sunpoet@FreeBSD.org WWW : https://nghttp2.org/ Comment : HTTP/2.0 C Library Shared Libs provided: libnghttp2.so.14 Annotations : FreeBSD_version: 1400097 build_timestamp: 2024-04-11T01:12:38+0000 built_by : poudriere-git-3.4.1-1-g1e9f97d6 cpe : cpe:2.3:a:nghttp2:nghttp2:1.61.0:::::freebsd14:x64 port_checkout_unclean: no port_git_hash : 2b3fb39407 ports_top_checkout_unclean: no ports_top_git_hash: 2910ff97e7 repo_type : binary repository : FreeBSD Flat size : 801KiB On Fri, Apr 26, 2024 at 11:32=E2=80=AFAM Yann Kerherv=C3=A9 wrote: > > Hello, > > I have an issue with `pkg check` reporting a dependency missing: > > root@dev:~ # pkg check -d -a > Checking all packages: 100% > dnsdist is missing a required shared library: libquiche.so > > (in FreeBSD 13.3 and 14.0) > > This is bogus: > root@dev:~ # ldd /usr/local/sbin/dnsdist | grep quiche > libquiche.so =3D> /usr/local/lib/libquiche.so (0x3af8e91e0000) > > It seems like the package build missed that dependency and doesn't report= as a shared lib provided by quiche? > > # pkg info -b quiche > quiche-0.20.1: > > Should there be a shared lib provided there: > > quiche-0.20.1: > libquiche.so > > I thought that the USE_LDCONFIG=3D yes in the Makefile was taking care of= that automatically. And this is correctly set in the Makefile... > > Thanks! > > Yann > > > --=20 Junho Choi | https://saturnsoft.net