Date: Thu, 02 May 2024 07:33:03 +0000 From: "Baptiste Daroussin" <bapt@freebsd.org> To: "Alexander Leidinger" <Alexander@leidinger.net> Cc: ports@freebsd.org Subject: Re: pkg upgrade odity Message-ID: <d3d237d8ce6654d36a0575df397ed5ecffed76e9@freebsd.org> In-Reply-To: <47e4870228f0635644852b744c02d5f5@Leidinger.net> References: <6e8aea8cce83e0a82be430be1989980a@Leidinger.net> <f64b7244-5cb1-450d-8aad-525f8673410a@quip.cz> <zypr5fta76iochorlmqbikm5ygdzpk5vqq66yta5ulprgbtjwe@fmhgiee2ugte> <8fd2687ae88582ccc74ba6309056dbce@Leidinger.net> <5D2405B5-DE58-4CBB-84D7-86B41CB7AB5D@FreeBSD.org> <0038290a027cf550d18f6a93238c7da5@Leidinger.net> <DA38A82E-21E2-4886-B056-BAB64CD17256@FreeBSD.org> <2425e2453f6360647cbb97ffb13f9a53@Leidinger.net> <8E574326-FCDE-49F2-97E6-B6756AC94FD6@FreeBSD.org> <47e4870228f0635644852b744c02d5f5@Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2 mai 2024 =C3=A0 09:28 "Alexander Leidinger" <Alexander@leidinger.net> 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 > <Alexand= er@Leidinger.net> 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 >>> <Alex= ander@Leidinger.net> 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 >>>>> <Al= exander@Leidinger.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3d237d8ce6654d36a0575df397ed5ecffed76e9>