From owner-freebsd-current@FreeBSD.ORG Sat Nov 1 22:45:54 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 795A2EEC for ; Sat, 1 Nov 2014 22:45:54 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D2B1F8F for ; Sat, 1 Nov 2014 22:45:53 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id d1so3821270wiv.13 for ; Sat, 01 Nov 2014 15:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=shfWRixpKsx/AnYcRTz2gw29UiPxLW3JX6UJBy396y0=; b=gabMGUdoUIAL/MPhX8Jw9fea01iV20IfWS//OnCiVU2HMn+1nTb63ZhlV34ZvcZOkD 3c1rumGvSyPg3kJTh7vYdVw40wObLDmTg7ggKgvqe+y5Ih9iIa36aFGm/K7eFxc9YA/r 38m+EA0/8LA7UbFTK8HP1LSnErgNMYIh1DdTAPC24PzuwyiCEoIzLm+Nj4R5s6AWIYCF xh7WgPXn3ZnpC7QUMHM3On2xqfeLsHIS5HiHJYbtEZFVrth1KQMLIvRGm1p6k+saDZ21 8fPn7ZO46nkOO9BhBQfkQ08LIhIVvgre69T0wc/+HyvlAOfTzp/rMfxip3f0Nwvcx9fL gUFg== X-Received: by 10.180.76.199 with SMTP id m7mr6128951wiw.62.1414881952361; Sat, 01 Nov 2014 15:45:52 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id fx2sm16655930wjb.37.2014.11.01.15.45.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Nov 2014 15:45:51 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 1 Nov 2014 23:45:49 +0100 From: Baptiste Daroussin To: Marc UBM Subject: Re: pkg 1.4 freeze please test test test! Message-ID: <20141101224549.GG15967@ivaldir.etoilebsd.net> References: <20141028231933.GG26796@ivaldir.etoilebsd.net> <20141101161332.b9c8fc19bf9fc54f73bc5c00@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DWg365Y4B18r8evw" Content-Disposition: inline In-Reply-To: <20141101161332.b9c8fc19bf9fc54f73bc5c00@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 01 Nov 2014 22:45:54 -0000 --DWg365Y4B18r8evw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 01, 2014 at 04:13:32PM +0100, Marc UBM wrote: > On Wed, 29 Oct 2014 00:19:33 +0100 > Baptiste Daroussin wrote: >=20 > > Hi all, > >=20 > > We are starting the release process of pkg 1.4, we want to have a bette= r release > > process than with every single previous version of pkg. For that we wil= l need > > you help! > >=20 > > pkg-devel has been updated to the latest version of pkg as of alpha2. > >=20 > > Changes you can expect in pkg 1.4 are the following: > > - Loads of bug fixes > > - Stricter checking of the path passed via the plist > > - Removal of the bundled libyaml > > - new --raw-format to chose the output format for info -R and search -R > > - ABI is now follwing MACHINE_ARCH (freebsd:10:x86:64 become FreeBSD:10= :amd64) > > the old ABI is available as a fallback in ALTABI > > - pkg check now support a quiet mode > > - new 3 way merge code ("stolen" from the fossil-scm) to allow automerg= ing > > configuration files > > - new @config keyword to mark a file as a config file (during > > upgrade/reinstallation it will try to merge the configuration with th= e one the > > user may have modified) an option AUTOMERGE is available to prevent > > automerging if automerge fails a .pkgnew file will be created along w= ith the > > untouched user version of the configuration > > - The update procedure has been improved and speed up a lot (in particu= lar for > > machine with low resources) > > - The unique identifier has been modified to be pkgname meaning now por= ts can be > > moved in new categories without having to be considered a different p= ackage > > - Only libraries starting by lib* are added to the provided libraries > > - General speed up of all operations > >=20 > > We need help in testing, but we also need help in writing regression te= sts ! > > The more we have tests the more stable the releases will be. > >=20 > > The release will also allow to be able to package base! > >=20 > > regards, > > Bapt >=20 > The update is failing for me with: >=20 > .../usr/ports/ports-mgmt/pkg-devel# make all install clean > =3D=3D=3D> Installing for pkg-1.4.0.a3 > =3D=3D=3D> Checking if pkg already installed > pkg-static: sqlite error while executing DROP INDEX > packages_unique;CREATE UNIQUE INDEX packages_unique ON packages(name); > in file pkgdb.c:2246: UNIQUE constraint failed: packages.name *** Error > code 74 >=20 > Stop. > make[1]: stopped in /usr/ports/ports-mgmt/pkg-devel > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/ports-mgmt/pkg-devel >=20 >=20 >=20 > portmaster fails with: > root@ubm:/usr/ports/ports-mgmt/pkg-devel# portmaster -d pkg > =3D=3D=3D>>> No ORIGIN in /var/db/pkg/pkgconf-0.9.7/+CONTENTS >=20 >=20 > =3D=3D=3D>>> Cannot continue > =3D=3D=3D>>> Aborting update >=20 > =3D=3D=3D>>> Killing background jobs > Terminated > =3D=3D=3D>>> Exiting >=20 > make.conf related options: >=20 > #enable pkgng (might be superfluous) > WITH_PKGNG=3Dyes > #enable PKGNG devel > WITH_PKGNG=3Ddevel >=20 > Am I doing something wrong? You are doing nothing wrong but that probably means you have ancient packag= es that never got upgraded (in the old time it was allowed to have 2 packages installed with the same name) we have fixed that over the time and that is = why we had unicity set to origin as a hack for a while, we are now moving to un= ique name so you have to make sure that all your installed packages are up to da= te before moving to new pkg. At least make sure you do not have 2 packages with the same name. Concerning portmaster I have no idea why it now thinks you are not using pkg :( regards, Bapt --DWg365Y4B18r8evw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRVYp0ACgkQ8kTtMUmk6ExhlwCgj0RGIn1smg9i4S8/bQ0dr7OB K/IAn1BsI8+71zL4pzFy8BJxe+xaTnAS =4cvG -----END PGP SIGNATURE----- --DWg365Y4B18r8evw--