From owner-freebsd-current@freebsd.org Tue Jul 7 17:37:22 2015 Return-Path: Delivered-To: freebsd-current@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 048D0AA83 for ; Tue, 7 Jul 2015 17:37:22 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C4301B7C for ; Tue, 7 Jul 2015 17:37:21 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t67HbD9P005829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 7 Jul 2015 19:37:13 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t67HbDDE005826 for ; Tue, 7 Jul 2015 19:37:13 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 7 Jul 2015 19:37:13 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD current Subject: Problems with building rescue are solved Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 17:37:22 -0000 Hi, I guess both the instructions for enabling DTrace, https://wiki.freebsd.org/DTrace/KernelSupport and r284356 are to blame. I suggest the wiki be amended with: STRIP=: or some other innocuous command like 'echo --'. Otherwise, "$(STRIP) rescue" in /usr/obj/usr/src/rescue/rescue/rescue.mk will expand to simply " rescue", and thus halting make buildworld by trying to run a command not normally found in $(PATH). "make -C /usr/src/rescue/rescue -d e" came to the rescue, hah! -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@freebsd.org Tue Jul 7 17:38:21 2015 Return-Path: Delivered-To: freebsd-current@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 67FCFAAD2 for ; Tue, 7 Jul 2015 17:38:21 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 49DF51CA6 for ; Tue, 7 Jul 2015 17:38:21 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 46ECFAACE; Tue, 7 Jul 2015 17:38:21 +0000 (UTC) Delivered-To: current@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 2C60DAACC; Tue, 7 Jul 2015 17:38:21 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1F921CA4; Tue, 7 Jul 2015 17:38:20 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by laar3 with SMTP id r3so205512752laa.0; Tue, 07 Jul 2015 10:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sqr7aiVmYklUXtAjyFZdV1l3UGO2W2BW7+YVjTua8v8=; b=dldkl7Lb0yX+RuNd7KeFnqkd0aLxZqN0mupqnernMz9tY/DmHm7GqKXJoYmHVB7KmM 4vjybkPV9nIFV5ICVZTo5BbunqEU8kpx/YutH+kb5p+cRJfhwzrJ4C2wxdeh6kAr3mg6 hSNwQAky3495A7RoD7eKfGd61qj4RHKvuVi0st/IDd93Ibe1EUNodDhXzOHyKlnzV5yk YnD/iPvwwesx2ruuRcsXLNdaknKKFADP+WQTKa++Np5KFNBejGoqFrypY1TkJOKxm9p8 zrTKY3YhKAgLQ5w+W4IahD77NR9kQLMK5PW5AXGllMjghby886ZdoLe+TC7YjBnMKYsp Bl8w== MIME-Version: 1.0 X-Received: by 10.152.178.229 with SMTP id db5mr5144684lac.55.1436290698825; Tue, 07 Jul 2015 10:38:18 -0700 (PDT) Received: by 10.112.20.202 with HTTP; Tue, 7 Jul 2015 10:38:18 -0700 (PDT) In-Reply-To: <20150701113847.GA15161@ivaldir.etoilebsd.net> References: <20150414200459.GE39658@ivaldir.etoilebsd.net> <20150421103454.GR1394@zxy.spb.ru> <5593D0AE.2010205@selasky.org> <20150701113847.GA15161@ivaldir.etoilebsd.net> Date: Tue, 7 Jul 2015 19:38:18 +0200 Message-ID: Subject: Re: pkg 1.5.0 is out From: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= To: Baptiste Daroussin Cc: ports@freebsd.org, stable@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Tue, 07 Jul 2015 17:46:14 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2015 17:38:21 -0000 2015-07-01 13:38 GMT+02:00 Baptiste Daroussin : > > On Wed, Jul 01, 2015 at 01:36:14PM +0200, Hans Petter Selasky wrote: > > On 04/21/15 12:34, Slawa Olhovchenkov wrote: > > > On Tue, Apr 14, 2015 at 10:05:00PM +0200, Baptiste Daroussin wrote: > > > > > >> Hi all, > > >> > > >> Final pkg 1.5.0 has been released. > > > > > > > Hi, > > > > Is there a way the external SAT solver functionality can be memory > > optimised? When trying to use this feature having +750 packages > > installed, the memory usage starts growing and growing beyond 4GBytes > > until PKG segfaults, even before the CNF export has started. > > > > env SAT_SOLVER=mysolver pkg upgrade > > Probably, but given the little amount of time pkg developers has we will greatly > appreciate patches :) > > AKA this would be greatly appreciated, but very low on the priority list :( > > Best regards, > Bapt Hijacking this, I managed to mess up my local pkg repo somehow. I build my own set of packages, and typically do pkg upgrade on the clients. This time, I tried pkg upgrade -F, which went and downloaded everything and that's fine. But now when I run "pkg upgrade" it claims everything is already updated? root@coyote:~# pkg --version 1.5.4 root@coyote:~# pkg upgrade Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. Checking for upgrades (68 candidates): 100% Processing candidates (68 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. So let's try brute forcing this: root@coyote:~# pkg install `pkg info -aqo` Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. databases/db48 has no direct installation candidates, change it to db5? [Y/n]: Y Assertion failed: (0), function pkg_jobs_try_remote_candidate, file pkg_jobs.c, line 821. Child process pid=60776 terminated abnormally: Abort trap Exit 250 Using more force: root@coyote:~# pkg upgrade -f db48 Updating acme repository catalogue... acme repository is up-to-date. All repositories are up-to-date. db48 has no direct installation candidates, change it to db5? [Y/n]: y pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1658: UNIQUE constraint failed: packages.name The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: db5: 4.8.30.0_2 -> 5.3.28_2 The process will require 37 MiB more space. 12 MiB to be downloaded. Proceed with this action? [y/N]: y Fetching db5-5.3.28_2.txz: 100% 12 MiB 6.4MB/s 00:02 Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 368. Child process pid=60922 terminated abnormally: Abort trap Exit 250 the -debug output has nothing of interest that I can see. What's up?