From owner-freebsd-ports@freebsd.org Wed May 22 12:11:08 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B3ED15AA342 for ; Wed, 22 May 2019 12:11:08 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A5EC782969 for ; Wed, 22 May 2019 12:11:07 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from [10.70.7.24] ([10.70.7.24]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id x4MCB5Zq092545 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 22 May 2019 12:11:05 GMT (envelope-from list1@gjunka.com) Subject: Re: Reinstalling with dependencies To: freebsd-ports@freebsd.org References: <20190522115101.tl36hg2wmclev3oq@ivaldir.net> From: Grzegorz Junka Message-ID: Date: Wed, 22 May 2019 13:11:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190522115101.tl36hg2wmclev3oq@ivaldir.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: A5EC782969 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-6.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com]; MX_GOOD(-0.01)[cached: gjunka.com]; NEURAL_HAM_SHORT(-0.95)[-0.946,0]; IP_SCORE(-3.64)[ip: (-9.53), ipnet: 88.98.192.0/18(-4.77), asn: 56478(-3.81), country: GB(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 12:11:08 -0000 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? >> >> >> I am getting the following error: >> >> root@someserv:~ # pkg check -d >> Checking all packages: 100% >> elinks is missing a required shared library: libjs.so >> >> > 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 spidermonkey17 as a > direct dependency of elinks when the option is checked (bug 2) > > I have checked the case 1 and yes libjs.so is buggy I haven't yet checked the > case 2, but I quite sure there is a bug there as well, resulting in a package > that does not have the proper dependencies registered at the creation > > Best regards, > Bapt Are you saying that even if elinks was reinstalled with dependencies that wouldn't help? We have two issues here: 1. How to reinstall a package with dependencies (as stated in the subject) 2. Would reinstalling elinks with all dependencies fix the issue mentioned in the email 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: 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 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). So now I have two questions: Is it possible to reinstall a package with it's dependencies? And what to do with those broken packages above, should I report a bug?