From nobody Tue Apr 30 21:15:44 2024 X-Original-To: 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 4VTXzj2jv8z5Jwn9 for ; Tue, 30 Apr 2024 21:15:45 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTXzj26Pzz4VVv; Tue, 30 Apr 2024 21:15:45 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714511745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Im0HuePVNwCH3SsIbCUh3OYOMrkulScnEWxDOKKtmJw=; b=YHayRzSQrR0j1QgH7y82Gwxe44T6D15m3V0rxzgLHaXefMS4FBaOdjb/UStt86q6FUVH3M 7OaP8yLyXq903kJ4nFSSUrxuoTI4PxILR/fcevI5UohRPzp727Dbcq6veLjd1DM/7h2I/c IiKIT0bmDs/DiwwIdg0pfIf7nQnKzciMlX21V3o7WhvaoquGas9iBrcYgayDa/wWOnFXAv zsn6QUlUgKbmlCLHNlsV5fjjXcxbVkjYT72FSviC0fAH2rg/vQ83G3mOg5j/UzpZ3YQmY0 p7dq3fdDqISyjAiO5ZQl11YUut1izeKAo39IbMuUdCk+iG3IQUblVIxwXBExeg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714511745; a=rsa-sha256; cv=none; b=T+elmIlTRHaHNjX+Y+Kb3PGQ7/xBOeUylx5cQC1SWmMJITxkIVA1iHQmrtqtIGoUySQoh8 TOhj+7AwG0SFvFMRiVn+gAN5Xl7lSFsvx0dJRTKt6b4wYNbFYNt1d9OG5+ZSnJ5NWkH3We 3I6sOziwh5toNGI4zYZknO609LRhksX68e1/UUf6a30dPxXYVPaYBLDbWrVEaRsIRF1ssR d1bwS7qck24tM1bk+3COjtGz5pz/21yfCPGp6SUXF+L1oc6YjqZnVXGCKvlBJlBb/IzDzq pIyegxj8oma74EJ7kYs2vvKy0cjX79oQjHTUQ/KR9O0cooeDAPVSXF10AVFFJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714511745; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Im0HuePVNwCH3SsIbCUh3OYOMrkulScnEWxDOKKtmJw=; b=JfRduhMfKmRAGBL063DBkrizQ3Qb0+6sO6E+iwQxO+aZtYIlKS/p80AM0ULx0KQXYvyC3z WBGZhOHwYiTMEgJFnJIo3xNemL7uoLfhoSU7E8xVr20udBFSPypPpJ9eiS8tqdBQnnA5oc h1UbLIYp3n5rl9UmV0Zfn6JkyTd83nt+wO9SCnOeMZ5DV8TZd4GpjNdHhWpbHqsYf+eNOM WwOz4kTDGa1OQCq8uE7nqUaOXw4Ihcz0hACUFr8qHImJcJS7rGQ7keg+zf191x+mSsAL9X zjo+eWcuNdVXpTkreQC+SviA3H8p8sHAOuH0s6Hf0b5ZPxA0xwqaD14CWMsoYA== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (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 did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VTXzj0zmFz1PRj; Tue, 30 Apr 2024 21:15:45 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from [IPv6:::1] (2a02-8428-078f-2200-cb90-33b9-3d7a-2cbd.rev.sfr.net [IPv6:2a02:8428:78f:2200:cb90:33b9:3d7a:2cbd]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 7E6C01E94CA; Tue, 30 Apr 2024 23:15:43 +0200 (CEST) Date: Tue, 30 Apr 2024 23:15:44 +0200 From: Baptiste Daroussin To: Tatsuki Makino , Alexander Leidinger CC: ports@freebsd.org Subject: Re: pkg upgrade odity User-Agent: K-9 Mail for Android In-Reply-To: References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <8fd2687ae88582ccc74ba6309056dbce@Leidinger.net> <5D2405B5-DE58-4CBB-84D7-86B41CB7AB5D@FreeBSD.org> Message-ID: 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 30 avril 2024 23:05:49 GMT+02:00, Tatsuki Makino a =C3=A9crit=C2=A0: >Baptiste Daroussin wrote on 2024/05/01 05:21: >> Le 30 avril 2024 13:18:41 GMT+02:00, Alexander Leidinger a =C3=A9crit=C2=A0: >>> In my case it complains about missing shared libs for exactly those po= rts which it wants to deinstall, but they are present in the system=2E=2E= =2E >>> ---snip--- >>> # pkg check -da >>> Checking all packages: 100% >>> mosh is missing a required shared library: libabsl_time_zone=2Eso=2E23= 01=2E0=2E0 >(omit) >>> netdata is missing a required shared library: libabsl_time_zone=2Eso= =2E2301=2E0=2E0 >(omit) >>> protobuf is missing a required shared library: libabsl_time_zone=2Eso= =2E2301=2E0=2E0 >(omit) >> >> Not at all! I need the output of pkg info -R --raw-format ucl abseil >> This is a real issue on your system, which usually comes from local bui= lding, is it your case? > >In this case, the libraries usually have relative rpath=2E >For example, $ORIGIN and =2E=2E/ are included, but do not start with /=2E >To find the library that is causing the problem, we can use the following= command > >pkg info -b -q protobuf | xargs -J % -n 1 find /usr/local/lib/ -name % -p= rint -exec readelf -d {} \; | grep -e ^/ -e RUNPATH > >This causes problems with the base library, which is Bugzilla 261550=2E >This time it seems that the library cannot be found because the file was = placed in a different location than the library path of the ldconfig=2E > >Regards=2E > pkg is not supposed to play with such case, provides/requires are only the= re for libraries on the regular path from ldconfig! Not to deal with runpat= h it would be fragile=2E For them we have bundle_libs=3Dyes in ports to be = set by the maintainer so they are not exposed=2E Best regards, Bapt