From nobody Wed May 01 09:24:40 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 4VTs8w15jJz5JWgZ for ; Wed, 1 May 2024 09:24:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::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) by mx1.freebsd.org (Postfix) with ESMTPS id 4VTs8v4CZhz4dxT; Wed, 1 May 2024 09:24:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 4419Oes9009430; Wed, 1 May 2024 12:24:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 4419Oes9009430 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 4419Oemr009429; Wed, 1 May 2024 12:24:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 1 May 2024 12:24:40 +0300 From: Konstantin Belousov To: Baptiste Daroussin Cc: Alexander Leidinger , ports@freebsd.org Subject: Re: pkg upgrade odity Message-ID: References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <8fd2687ae88582ccc74ba6309056dbce@Leidinger.net> <5D2405B5-DE58-4CBB-84D7-86B41CB7AB5D@FreeBSD.org> <0038290a027cf550d18f6a93238c7da5@Leidinger.net> <2425e2453f6360647cbb97ffb13f9a53@Leidinger.net> <8E574326-FCDE-49F2-97E6-B6756AC94FD6@FreeBSD.org> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8E574326-FCDE-49F2-97E6-B6756AC94FD6@FreeBSD.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on tom.home 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)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4VTs8v4CZhz4dxT On Wed, May 01, 2024 at 09:52:30AM +0200, Baptiste Daroussin wrote: > Le 30 avril 2024 23:30:16 GMT+02:00, Alexander Leidinger a écrit : > >Am 2024-04-30 23:11, schrieb Baptiste Daroussin: > >> Le 30 avril 2024 22:51:19 GMT+02:00, Alexander Leidinger a écrit : > >>> Am 2024-04-30 22:21, schrieb Baptiste Daroussin: > >>>> Le 30 avril 2024 13:18:41 GMT+02:00, Alexander Leidinger a écrit : > >>> > >>>>> Does this sound like "pkg check -B" would help here? > >>>>> > >>>>> Bye, > >>>>> Alexander. > >>>>> > >>>> > >>>> Not at all! I need the output of pkg info -R --raw-format ucl abseil > >>> > >>> Output attached. > >>> > >>>> This is a real issue on your system, which usually comes from local building, is it your case? > >>> > >>> It is my own build with poudriere-devel on another system, not build form ports on the system where the package was installed. The main differences to the official FreeBSD packages are WITH_PIE, WITH_BIND_NOW and WITH_RELRO (at least for abseil, some other ports may have some options like WITHOUT_X11). > >>> > >>> Bye, > >>> Alexander. > >>> > >> > >> So pkg is right your package does not provide anymore the libraries mosh requires! > >> > >> libabsl_strings is not in the provides. > > > >On the poudriere builder: > ># tar -tvf /space/poudriere/data/packages/poudriere-bastille-default/All/abseil-20230125.3.pkg | grep libabsl_strings > >lrwxr-xr-x 0 root wheel 0 10 Apr. 00:22 /usr/local/lib/libabsl_strings.so -> libabsl_strings.so.2301.0.0 > >-rwxr-xr-x 0 root wheel 99600 10 Apr. 00:22 /usr/local/lib/libabsl_strings.so.2301.0.0 > >lrwxr-xr-x 0 root wheel 0 10 Apr. 00:22 /usr/local/lib/libabsl_strings_internal.so -> libabsl_strings_internal.so.2301.0.0 > >-rwxr-xr-x 0 root wheel 9536 10 Apr. 00:22 /usr/local/lib/libabsl_strings_internal.so.2301.0.0 > > > >Bye, > >Alexander. > > > > > The thing it means it is that some of the .so files from devel/abseil are not generated in a way that prevents pkg from extracting the SONAME properly which has a big change to come from one of your non default option (unrelated to x11 because the port has no x11 option) > > So it highlights a real problem Note that DT_SONAME is optional. If soname is identical to the file name, it is not needed.