From nobody Thu May 02 07:54:16 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 4VVR7S71wbz5JX08 for ; Thu, 2 May 2024 07:55:32 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VVR7S3K1Jz4WVP; Thu, 2 May 2024 07:55:32 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1714636507; 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: in-reply-to:in-reply-to:references:references; bh=H4CfO4fhvtfqyP+5iMApVJZ0R4C9whymDI9UJ3cfjvE=; b=tSBn7/ZNbhONoUvixPHr5TtFOz2EqG4q5WNkT+QBq8vNm/rC+jCbzMzO90WtrVKwKt/MDR xqht361hcHBeRydoKOm1iEaxEFebBZsSIzCXZIbI1oqBUa6QeRTX5/+tmzTpnzJcC8TdN7 aTH78zaSqU/dFbPYm7WBbic4gYWRqyUQ3xqOZsGEH1mdYaMrS7Lm9c33uY7Er+QLonlNbW CVnVKRFPtGEmcI0GGddWp3020bx5H/50LhVnVOYZny1tNjx6Ld3+XyNXY/mNUlU/PfgPRk V5W7xalXQwFxxOyMhT6+6QcnNEMm3voswk7D6f7lWy30TOdXSoPk7FJKI1YUrQ== Date: Thu, 02 May 2024 09:54:16 +0200 From: Alexander Leidinger To: Baptiste Daroussin Cc: ports@freebsd.org Subject: Re: pkg upgrade odity In-Reply-To: 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> <47e4870228f0635644852b744c02d5f5@Leidinger.net> Message-ID: <5c9bf134b49d9b93ccde23a3a1a916a4@Leidinger.net> Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_9bf95c8b848e753507a2e6c226159477"; micalg=pgp-sha256 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:34240, ipnet:89.238.64.0/18, country:DE] X-Rspamd-Queue-Id: 4VVR7S3K1Jz4WVP This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_9bf95c8b848e753507a2e6c226159477 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2024-05-02 09:33, schrieb Baptiste Daroussin: > 2 mai 2024 à 09:28 "Alexander Leidinger" a > écrit: > > > >> >> Am 2024-05-01 09:52, schrieb Baptiste Daroussin: >> >> > >> > 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 >> > >> >> I've rebuild the abseil package and reinstalled it on the system in >> question. It was rebuild with an updated poudriere-devel >> (poudriere-git-3.4.99.20240424). Now pkg check -d doesn't complain >> about missing stuff anymore, and the raw pkg info output lists >> libabsl_strings. >> >> Bye, >> >> Alexander. >> > > > Great, now the interesting part would be to know why the abseil package > had to be rebuilt in the first place, aka what was caussing the issue > either on the .so files themselves, or what potential bug of pkg was > trigger which made it unable to analyse properly those file. > > Do you have a copy of the abseil package with the wrong > shlibs_provides? > If yes I would love to be able to analyse it. Uh, oh.... no. I used rm, not mv before rebuilding. And no zfs snapshot of packages or a backup of /var/cache/pkg or poudriere-builds. And given that I see strange socket behavior on the -current system I could imagine (depending on how the package building is handled) that it may or may not be an issue inside pkg. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_9bf95c8b848e753507a2e6c226159477 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmYzRrgACgkQEg2wmwP4 2IZZfg//VMW8zNxeviBv3DpzORIRbzZbaS5X+Y2X9uaE0M6ymRkFMtBx98uvhFeT kQpvUx6ubN+2VChyjgQplRaPFaV/pO2JTji6aNuV/74UlKP9UpV9InImqLNUqgaB flhXJOFzKjT3+RZWD9azIqXhdZEFwbzvj8grViwEXBCzD6PA0YtIWvtWbDT2lBcB ISkgzQIXVS0H6ppUPlpvJcKt54RYngnjPHkEU2Qaj6fgFcoI4nuPHVp8teA8VBrR SYHzyJinalszYrBTr3JEg8mj+jJXIBstIQKiRRt9Ldy4F9cq5G6h2Zr0OvQcxfvk 3A1p2v9oh915Nj80Xfk/eRsPrwOr9AMwkw30AAmcGMN2f6pub69HEbY0XYPAdsV6 cM+u/8/6zztoS2vkQVnaOIpFXciMjTpZwNkhOcHmWueAFXe/4VVE/KnMEUmys5mC haT0Wjv1i84upaoWco1tB29g3PThug3Sjw4a4tBwim2AQ+dcl9oU4UUZddrzH0zK 5Uu5gsVzk7WI6IjFtcm1hhHTyoNVjCautRhOwP2EYq1b6x9J9Zt9wSjk19ynfEjT 4QqYdKBT9QRI57zL17/3f32769YqweP0Wz2GIWZMRZ/7RqMe5D3WFs7sfzUmkUFk mytGF8u63kxc3dr7aq40IbKWqvSumsnBakgG++cdHjBFq8VMeOo= =KHsh -----END PGP SIGNATURE----- --=_9bf95c8b848e753507a2e6c226159477--