From owner-freebsd-pkg@freebsd.org Sun Jul 2 21:00:17 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 336EADACE8F for ; Sun, 2 Jul 2017 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 22A90764AF for ; Sun, 2 Jul 2017 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 21F85DACE88; Sun, 2 Jul 2017 21:00:17 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 208F0DACE87 for ; Sun, 2 Jul 2017 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2E0A764AD for ; Sun, 2 Jul 2017 21:00:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v62L01m3057667 for ; Sun, 2 Jul 2017 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201707022100.v62L01m3057667@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 02 Jul 2017 21:00:16 +0000 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2017 21:00:17 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 212022 | ports-mgmt/pkg: Segfaults when installing sensu p Open | 211141 | ports-mgmt/pkg: pkg+pw: Doesn't run pwd_mkdb, may New | 193995 | [PATCH] ports-mgmt/pkg: floating point exception 3 problems total for which you should take action. From owner-freebsd-pkg@freebsd.org Tue Jul 4 11:11:07 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45DEBD8E13A for ; Tue, 4 Jul 2017 11:11:07 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from sonic307-12.consmr.mail.ne1.yahoo.com (sonic307-12.consmr.mail.ne1.yahoo.com [66.163.190.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1589277500 for ; Tue, 4 Jul 2017 11:11:06 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1499166659; bh=61eiMt5njAiMdCqOFl++5RTKvBzCUtKL9ceNAVLCCTo=; h=Date:From:Reply-To:To:Cc:Subject:References:From:Subject; b=OEbJtbk3jcDFeeKgv7peAASZ14K7EKOTEndyKT4Je7iW6AhOh5mO566HU305MstxiRqm7J0fwB/PCSsg3iKoY6De1tB9ahbUug0PbeidZMRQGAK+/9EW8mcSn0EZvxrIT10aF2aLPmmILMiPCHh/ZRwiw8pDP1ai0tJG5890NzOVfgmlDTd34cYoKmhhUZMHL6pSNjIXss+7AdIZrwZiZl8JIpTGWd2pfC7xKFnM/tnboZokypIwwFP5RkQsFLsmmPuTwnixO2n11xxDUWFBe05G1FjnXXVEgIsZB2OLp0So2iVQf2YbBKluLQ7PrRa4OabFXUkOLhc+jE/yOpRGAQ== X-YMail-OSG: rgGAHqwVM1kaMNUGsDc7W9GaJK9dOquaPaojfQj.EhiuzzvMZy4309MsGI9a9vZ f33.5EUHtiN0elJ4lu0sJGI5LOVuYA_cyJeyf3LOoQ4b4KZvnhHkq6WTcPf3.JZ5RnSJVwEp84o. qfUmOjeAzpznMdwg22SWM2.ZNtiImsyEr.tU0kABYubFwq5IxVHUsBhNteFH4JMAWOEWNLzxxVK. Glr9Fzj4gRPMFQlYebwvusNkUVvYozSYSM5D62i4yAXaJZ3NmC2_V9hYce.VIW4hepe5RDO7uj_G OJEC3LTBUTve9M5JPjKvhsGlVTon197txEpAisLKwIWTth9Z5XzI3zovAVOLB1uzbKcI5A12Ft9a kQ5ZkESkjTQCMTy1t_6kn9hQok1DXZ95GtoUVkH1eMPakPKlCZ5LQ2O3PqI4kc.DYFqs8INAKN_. zVpYbpbrcRwBYjQ2mwRgdwmdVxPHmGtA7lzn9yoeHFqkzq.F_d3Xb4y4tapvu5BhVOVky0XXn5sG i2MEX3lQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 4 Jul 2017 11:10:59 +0000 Date: Tue, 4 Jul 2017 11:10:59 +0000 (UTC) From: Jeffrey Bouquet Reply-To: Jeffrey Bouquet To: Cc: Message-ID: <1852056364.4983200.1499166659388@mail.yahoo.com> Subject: pkg install problem(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1852056364.4983200.1499166659388.ref@mail.yahoo.com> X-Mailer: WebService/1.1.9978 YahooMailBasic Mozilla/5.0 (X11; FreeBSD i386; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 Lightning/5.1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 11:11:07 -0000 pkgdb -u origins - not a string (NilClass) Cannot read the pkgdb! ............................................. That has just started happening. ............................................ pkg update Shared object 'libarchive.so.7' not found, required by "pkg" ............................................. that has just started happening [ so using pkg-static...] 12.0-CURRENT r313487 Feb 13 2017 i386 ............................................... On to the Subject: Which has plagued my principal method of twice weekly using pkg to upgrade going on 3? years now. For various reasons, I have to pkg install... only the majority of pkgs to be updated. For instance, not libxul as of now, cannot afford desktop breakage of seamonkey, for instance. nor ffmpeg, would prefer not to risk breakage of mplayer, for example So I begin typing the subset. pkg-static install p5-This p5-That... consisting of 40 or so ports. Upon the 30 typed in, Xorg freezers, reboot. TEDIOUS. a better solution, pkg install works like 'make config' and one checks off the ones to be updated. Then, 'is this what you want? presents a subset of the removed/new/upgrade/reinstall lists, rather than all-or-none brute-force install of all. ..................... Kindly prioritize that 'feature' into pkg...? .................... while I am presenting [re presenting ] q about pkg, ...................... make build-depends-list pkg-static: ignoring bad configuration entry in pkg.conf: "INDEX-12" ... it does not say why, what a preferred entry should be... make: "/usr/ports/Mk/Uses/ncurses.mk: line 67: warning: /usr/local/sbin/pkg-static info -g -ql devel/ncurses | grep -m 1 "^`pkg query "%p" devel/ncurses` /lib/libncurses.so."" returned non-zero status. .................................... I am totally perplexed by the above... ............................. At least I've workarounds for it all... Kudos to the developers etc. ........................... From owner-freebsd-pkg@freebsd.org Tue Jul 4 11:56:57 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD095D8F2E1 for ; Tue, 4 Jul 2017 11:56:57 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 469CE787B6 for ; Tue, 4 Jul 2017 11:56:57 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B3EE4C700 for ; Tue, 4 Jul 2017 11:56:54 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/B3EE4C700; dkim=none; dkim-atps=neutral Subject: Re: pkg install problem(s) To: freebsd-pkg@freebsd.org References: <1852056364.4983200.1499166659388.ref@mail.yahoo.com> <1852056364.4983200.1499166659388@mail.yahoo.com> From: Matthew Seaman Message-ID: Date: Tue, 4 Jul 2017 12:56:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1852056364.4983200.1499166659388@mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="l0iVPilUe4vMakVPqQB61j9vIKH7pTWdm" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 11:56:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --l0iVPilUe4vMakVPqQB61j9vIKH7pTWdm Content-Type: multipart/mixed; boundary="0Bprpwg5GX97qX5NPPCQSPPjgFraFAuI7"; protected-headers="v1" From: Matthew Seaman To: freebsd-pkg@freebsd.org Message-ID: Subject: Re: pkg install problem(s) References: <1852056364.4983200.1499166659388.ref@mail.yahoo.com> <1852056364.4983200.1499166659388@mail.yahoo.com> In-Reply-To: <1852056364.4983200.1499166659388@mail.yahoo.com> --0Bprpwg5GX97qX5NPPCQSPPjgFraFAuI7 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 07/04/17 12:10, Jeffrey Bouquet via freebsd-pkg wrote: > pkgdb -u > origins - not a string > (NilClass) > Cannot read the pkgdb! > ............................................. > That has just started happening. pkgdb is part of portupgrade(8) IIRC. Not sure why you care about that if you're installing things with binary pkgs? > ............................................ > pkg update > Shared object 'libarchive.so.7' not found, required by "pkg" > ............................................. > that has just started happening [ so using pkg-static...] > 12.0-CURRENT r313487 Feb 13 2017 i386 Yes. This indicates that the copy of pkg(8) you're using was compiled on an incompatible build of 12.0-CURRENT -- but that's the sort of thing that can happen when you're using HEAD I'm afraid. Looks like libarchive.so got upgraded and had its shlib version bumped sometime between when you last upgraded the OS and now, and you're using a precompiled copy of pkg(8) built after the libarchive bump. If you update to a more recent version of 12.0-CURRENT, this should sort itself out. > ............................................... > On to the Subject: > Which has plagued my principal method of twice weekly using pkg to > upgrade going on 3? years now. > For various reasons, I have to pkg install... only the majority of > pkgs to be updated. > For instance, not libxul as of now, cannot afford desktop breakage of > seamonkey, for instance. > nor ffmpeg, would prefer not to risk breakage of mplayer, for example = This procedure sounds inherently fragile and it certainly insn't the way pkg(8) is intended to work. Why exactly do you feel you have to upgade like that? > So I begin typing the subset. pkg-static install p5-This p5-That... > consisting of 40 or so ports. > Upon the 30 typed in, Xorg freezers, reboot. > TEDIOUS. You could, oh, write a pretty small shell script to do all the tedious stuff? Not that that will necessarily help you with the Xorg problems. > a better solution, > pkg install works like 'make config' and > one checks off the ones to be updated. > Then, 'is this what you want? > presents > a subset of the removed/new/upgrade/reinstall > lists, rather than all-or-none brute-force install of all. This is a fairly dangerous approach in general. Cherry-picking packages to be upgraded is not an easy thing to get right without a deep understanding of the dependency relationships between all the packages you have installed, and what that will transform into after upgrading. But that's exactly what pkg(8) handles for itself without requiring the end users to have such detailed knowledge when told to 'upgrade everythin= g'. So a patch to implement what you suggest is unlikely to be accepted I'm afraid. > ..................... > Kindly prioritize that 'feature' into pkg...? > .................... > while I am presenting [re presenting ] q about pkg, > ...................... > make build-depends-list > pkg-static: ignoring bad configuration entry in pkg.conf: "INDEX-12" > ... it does not say why, what a preferred entry should be... Please show us the output from 'pkg -vv' It looks like the INDEXFILE setting in pkg.conf is inconsistent with the rest of your system in some way. This is probably not a big deal though -- the INDEXFILE is only used by some invocations of 'pkg version', and then only if you have a checked out copy of the ports tree with an INDEX-12 file. Personally, I'd recommend using the -R option to pkg-version(8) so that it compares things to the repository catalogue. > make: "/usr/ports/Mk/Uses/ncurses.mk: line 67: warning: > /usr/local/sbin/pkg-static info -g -ql devel/ncurses | grep > -m 1 "^`pkg query "%p" devel/ncurses` /lib/libncurses.so."" returned > non-zero status. Yeah. probably related to the libarchive problem you talk about above -- which will break the `pkg query "%p" devel/ncurses` bit. > .................................... > I am totally perplexed by the above... > ............................. > At least I've workarounds for it all... Kudos to the developers etc. > ........................... Cheers, Matthew --0Bprpwg5GX97qX5NPPCQSPPjgFraFAuI7-- --l0iVPilUe4vMakVPqQB61j9vIKH7pTWdm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAllbgn4ACgkQAFE/EOCp 5Ocq+xAAtDBKfZ7hJdNjXPn6CYucuab5vw1mCoeQ35OcOhPk+MrymO/jff54NVSh gd/P9NzGcwyPCLeodAQCZY4udXT0/txOiE4vPpe9f7yAS/dL+9cq8Y+Ry8VOnb/f OBTEGOmyeUwu4l4lZzwc/0S4eEhk2h7tHCwecFCzGGagzAzTz51zxVfXzCS6vc97 86BwvC4HEIQWL3nN7n0+jibCcj7LdElZhOE8VuUN9ebdZKFh662uvOky/pSphKL+ ws1LrVExiEeouh13X6IRZWVkaNuEu7JtZbUHfO2RtPyeR0A1l1CuQsntVOHyxah8 61xQPu3gmN8YJSYcZA2KhE7GGR4w4c6wShsA2jZWUoV8Xr0TsXnLHsS4A6U9ue2k VoXFgi/3db1hC+ba7rMmFe1wyJjo+SszHQ9SgPjMX3HYTCezLV8m6HImCkj+/6n8 gIX3al4M+ap8zkB9Y6SYtE5vsS0L1C7Bhmn7sehQeMT5nn7w5BTr+JnUnndE5ngt EcGB5qrSZu+wSK11KQ01KLHtd6c2UwSOFvBMlonrQWRbi8tCoWMgS4MUH/6GH95G iNPxro6oNXEsoyyluMFOCNZ/tXo2Vk3Ilt9/pR8CDrAdW26dv2Usz86YzIQwmsTV OrOHXZ2wOO20ap/uM6gvyez7liDwkib+lv5Q8+tfi4fgHJhvJUI= =1X9M -----END PGP SIGNATURE----- --l0iVPilUe4vMakVPqQB61j9vIKH7pTWdm--