Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2019 14:17:43 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Reinstalling with dependencies
Message-ID:  <20190522121743.biw6c5niia5tspr4@ivaldir.net>
In-Reply-To: <c11701e0-6808-e864-0ff7-8d178bf458b8@gjunka.com>
References:  <dc938265-c181-f8e6-9a4d-1e9214497be1@gjunka.com> <20190522115101.tl36hg2wmclev3oq@ivaldir.net> <c11701e0-6808-e864-0ff7-8d178bf458b8@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--h5oxbropjg5lyj5q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 22, 2019 at 01:11:05PM +0100, Grzegorz Junka wrote:
>=20
> On 22/05/2019 12:51, Baptiste Daroussin wrote:
> > On Wed, May 22, 2019 at 12:43:33PM +0100, Grzegorz Junka wrote:
> > > Is there any way to reinstall a package with all its dependencies?
> > >=20
> > >=20
> > > I am getting the following error:
> > >=20
> > > root@someserv:~ # pkg check -d
> > > Checking all packages: 100%
> > > elinks is missing a required shared library: libjs.so
> > >=20
> > >=20
> > 2 reasons may happen for that to happen:
> > 1/ spidermonkey17 does not have a proper SONAME for the libjs.so file it
> > provides (bug 1)
> > 2/ somehow the linked port seems to not register properly spidermonkey1=
7 as a
> > direct dependency of elinks when the option is checked (bug 2)
> >=20
> > I have checked the case 1 and yes libjs.so is buggy I haven't yet check=
ed the
> > case 2, but I quite sure there is a bug there as well, resulting in a p=
ackage
> > that does not have the proper dependencies registered at the creation
> >=20
> > Best regards,
> > Bapt
>=20
>=20
> Are you saying that even if elinks was reinstalled with dependencies that
> wouldn't help?
>=20
> We have two issues here:
>=20
> 1. How to reinstall a package with dependencies (as stated in the subject)
>=20
> 2. Would reinstalling elinks with all dependencies fix the issue mentioned
> in the email
>=20
> I have a couple more packages broken like elinks. I didn't include them
> because I only wanted to post an example and assumed they would be fixed =
if
> I reinstalled them properly. But here we go:

No I do mean the elinks packages is probably broken when build with the opt=
ion
that brings in spidermonkey as a dependency
>=20
> root@someserv:~ # pkg check -d
> Checking all packages: 100%
> elinks is missing a required shared library: libjs.so
> fireflies is missing a required shared library: libgfx.so
> py27-exiv2 is missing a required shared library: libexiv2.so.26
>=20
> There was also virtuoso but I deinstalled it assuming it's an old version
> (the new version doesn't build due to openssl 1.1.0 issue).
>=20
> So now I have two questions: Is it possible to reinstall a package with i=
t's
> dependencies? And what to do with those broken packages above, should I
> report a bug?


I don't know for the specific case of the broken packages above, pkg check =
will
try to reinstall the missing dependency if any is found. If not, it just re=
port
the broken packages and one has to figure out why those packages are broken.

I could easily guess for the elinks case. there might be similar reasons for
other packages.

For example reading at the MOVED file I can easily figure out that py27-exi=
v2 is
a package that no longer exists.

For fireflies I don't know, one has to check.

Best regards,
Bapt

--h5oxbropjg5lyj5q
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlzlPdkACgkQY4mL3PG3
PlpGpxAAtfCVAHQzSrVZrgrDnfGmek6rOIHrbwR6QrIJztqe83vXiTBb8gTqLfOs
WJ0kDN3CinmoH7yqUIXgnBvtbR0ifUc8wgKAOCjrqwCzhyW2tkZuxl5ii2OVmdE4
hVutfYxomgWbQqEzh0VIX/5GpAbHd/nNdjwO1rDIOCTPLAt7kbt2BWUsQofCPD9N
coOSpeLn8N8HC+LBcW/YPQG9R/bp/PwmsLdaSIlzpxmYYAkjGFb4mOWGnw53u+P2
7Q3eMxNPNNmP8bYO1xuj64rRHJG0MteT3uVwlTwi7mh8Hejoqti5t+Tx2vV2SgtO
TliiEN8DHB45+x2Voh93T+PCegrXMqLeU7buXG0hlNuoeUMUrUOlelrM5tKJ2voy
nOqiaZS5szLi1KMjt31iXP+eDl2qQZEyedYqKtwC6+GaeqC47BNqnli9/o7JiEqn
6ibSlWRrp38heEZmAJMBo5EjuqRU6Avg3dVs28J/kOgy2DsTwZdDBAtbpDSu8zAy
G1HIuF7lsf/sYVQthrG5ptazdAhvdFMpt7QhOZ9j02ecXnx4eb2W5Z6+skVYuyOt
yB16TlBCSAzg8DBsi0/1Yl4dDMZ1hNay4a0w5NmxJR8zj0PuH+5CvhBCgPVjqlGT
UcCtMb9b5G4HpOCEo1PDt+Du3HYqzH9HeK2XbpXupoVMy7xhYHc=
=0sCY
-----END PGP SIGNATURE-----

--h5oxbropjg5lyj5q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190522121743.biw6c5niia5tspr4>