From nobody Thu May 02 07:33:03 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 4VVQdY6y80z5JV5Q for ; Thu, 2 May 2024 07:33:05 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4VVQdY6CTzz4Sv3; Thu, 2 May 2024 07:33:05 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714635185; 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=IOBd1rr59rdVKA/X8D44tGMTmJqM5i2cCezcsZ9yWls=; b=s7kG/SjOlo/E3TloGLZIdZWIAv3RFSNKh1VDUmiETCTefPYLA2Y0oselg2dULQfn9xBL08 WU5MzkS9hsXdcQT/6zM372p6VexhzA9VhQJ4W29NhnGqTJTLpWNM7qaVFbmQiMLuOeW4TV /tNpoKVnRMXr9s5m3EWqY/WQLVja6nQWxyP47b81/r+dg0ogiIoxIolY0rMapSmtJn6TDz IgKTQNEEjPu51w+vN/3qhhDWpUNG0Ep4KLjaBVVQKt4Rei7CZHH+7VH7jlZCSAX2ZkZsiQ BGlY/1H2h6LUwZ54Fj1mHAFml4U2pIk/MdW9qaXHiDcsNHqL9Sx3i+45+hnSFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714635185; a=rsa-sha256; cv=none; b=apJG8yMATPr3pmaKVLpTG84fLgolJv5nASeVUJaL0h8IjhFz/7ovMSFXb/CZTFXWCbxrIg YsKsw5OskSrpfbYD+DHqhEhU56sYc815OkuIGIWQZhhkQdcmmqvWy3fLr8XiffbIuyW6Tt CQORtOV5yzIC7wM5IqUAInV82J5ftB0tlVSQxdTdPco7Ucf5jwsWateOcEQeNRJRQjgxcX KNk5MOyfvcf6rXuEmbrpPt6O2cCul4GJ8OlgaDpiCYIfVyZwHCOhga26QC8jPiNDCW2ZSj hwmHI5wJgv0BbaalPuNRwUHon6C6oKzf2w+TTvxVZcInFpbGM2Jh+RtY5EaQDA== 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=1714635185; 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=IOBd1rr59rdVKA/X8D44tGMTmJqM5i2cCezcsZ9yWls=; b=KdgNhAk08EbNbaPcAnhHqQ3yASoD516FveNDCeuqQ8hpVNYtiHPDav2iC1U5QCCNloML0S DsEqH1AAWhhiyllcE6Wjp17uJeZ6kDY4q9ek09fxVJ9EpBgp7UthWuL6BQbV24ZJEZ7Y3i Z9F9gcZiJ9p4FS9wKktNDXUxHzUia+UPSIukca/Az6eMVqWXIp4mBwh5VVAqmY/NuBOPj/ +S1LqzPLSVo++MQzX3MukgENn4r+sM/ur2HcqT1snkWAMn2GPLTnvLpPuaBfs4vg1x/jiq SHQZy3Km/FqPZKN1mMMUhBvfWuI9hcnSXQp4ft3PKhNF/gbnBtzukoMW7MD6qA== 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 4VVQdY58Lgz182g; Thu, 2 May 2024 07:33:05 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from mail.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 (2048 bits) server-digest SHA256) (No client certificate requested) by aniel.nours.eu (Postfix) with ESMTPSA id 9FF05A51F3; Thu, 2 May 2024 09:33:03 +0200 (CEST) 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 Date: Thu, 02 May 2024 07:33:03 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Baptiste Daroussin" Message-ID: TLS-Required: No Subject: Re: pkg upgrade odity To: "Alexander Leidinger" Cc: ports@freebsd.org In-Reply-To: <47e4870228f0635644852b744c02d5f5@Leidinger.net> 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> 2 mai 2024 =C3=A0 09:28 "Alexander Leidinger" a= =C3=A9crit: >=20 >=20Am 2024-05-01 09:52, schrieb Baptiste Daroussin: >=20 >=20>=20 >=20> Le 30 avril 2024 23:30:16 GMT+02:00, Alexander Leidinger > a =C3=A9crit=C2=A0: > >=20 >=20> >=20 >=20> > Am 2024-04-30 23:11, schrieb Baptiste Daroussin: > > >=20 >=20>=20 >=20> Le 30 avril 2024 22:51:19 GMT+02:00, Alexander Leidinger >>> a =C3=A9crit=C2=A0: > >=20 >=20> Am 2024-04-30 22:21, schrieb Baptiste Daroussin: > >=20 >=20> Le 30 avril 2024 13:18:41 GMT+02:00, Alexander Leidinger >>>>> a =C3=A9crit=C2=A0: > >=20 >=20> >>>>>> Does this sound like "pkg check -B" would help here? > >=20 >=20> >>>>>> Bye, > >=20 >=20> Alexander. > >=20 >=20> >>>>> >>>>> Not at all! I need the output of pkg info -R --raw-for= mat ucl >>>>> abseil > >=20 >=20> >>>> Output attached. > >=20 >=20> >>>>> This is a real issue on your system, which usually comes fro= m local >>>>> building, is it your case? > >=20 >=20> >>>> It is my own build with poudriere-devel on another system, no= t build >>>> form ports on the system where the package was installed. Th= e 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). > >=20 >=20> >>>> Bye, > >=20 >=20> Alexander. > >=20 >=20> >>> >>> So pkg is right your package does not provide anymore the = libraries >>> mosh requires! > >=20 >=20> >>> libabsl_strings is not in the provides. > >=20 >=20> >=20 >=20> > >> On the poudriere builder: > > >=20 >=20> > # tar -tvf >> /space/poudriere/data/packages/poudriere-bastille-= default/All/abseil-20230125.3.pkg >> | grep libabsl_strings > > >=20 >=20> > lrwxr-xr-x 0 root wheel 0 10 Apr. 00:22 >> /usr/local/lib/libabs= l_strings.so -> libabsl_strings.so.2301.0.0 > > >=20 >=20> > -rwxr-xr-x 0 root wheel 99600 10 Apr. 00:22 >> /usr/local/lib/li= babsl_strings.so.2301.0.0 > > >=20 >=20> > lrwxr-xr-x 0 root wheel 0 10 Apr. 00:22 >> /usr/local/lib/libabs= l_strings_internal.so -> >> libabsl_strings_internal.so.2301.0.0 > > >=20 >=20> > -rwxr-xr-x 0 root wheel 9536 10 Apr. 00:22 >> /usr/local/lib/lib= absl_strings_internal.so.2301.0.0 > > >=20 >=20> > >> Bye, > > >=20 >=20> > Alexander. > > >=20 >=20> > > > > The thing it means it is that some of the .so files from d= evel/abseil > are not generated in a way that prevents pkg from extractin= g the SONAME > properly which has a big change to come from one of your n= on default > option (unrelated to x11 because the port has no x11 option) > > >=20 >=20>=20 >=20> So it highlights a real problem > >=20 >=20 > I've rebuild the abseil package and reinstalled it on the system in que= stion. It was rebuild with an updated poudriere-devel (poudriere-git-3.4.= 99.20240424). Now pkg check -d doesn't complain about missing stuff anymo= re, and the raw pkg info output lists libabsl_strings. >=20 >=20Bye, >=20 >=20Alexander. >=20 Great,=20now 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 ei= ther on the .so files themselves, or what potential bug of pkg was trigge= r 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. Best regards, Bapt