Date: Wed, 3 Dec 2014 07:16:24 -0800 From: David Wolfskill <david@catwhisker.org> To: freebsd-ports@freebsd.org Subject: Turbulence using portmaster to update linux_base-c6-6.6 to linux_base-c6-6.6_1 Message-ID: <20141203151624.GA26105@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I managed to get the update of linux_base-c6-6.6 to linux_base-c6-6.6_1 done, but it involved a couple of failed attempts along the way, and it looks to me as if portmaster didn't get the sequence of operations quite correct the first time through... and that the success appears to have been at least somewhat accidental (on my part). So I'm posting this in the hope that it will provide help to some folks. This morning, after updating my laptop to FreeBSD g1-253.catwhisker.org 10.1-STABLE FreeBSD 10.1-STABLE #1405 r27545= 6M/275456:1001503: Wed Dec 3 04:49:00 PST 2014 root@g1-253.catwhisker.= org:/common/S1/obj/usr/src/sys/CANARY i386 I issued "portmaster -ad" to perform my daily ritual to keep my installed ports in sync with my ports working copy (which, in turn, is in sync with my private mirror of the ports SVN repository). The ports working copy is: Path: /usr/ports Working Copy Root Path: /usr/ports URL: file:///svn/freebsd/ports/head Relative URL: ^/head Repository Root: file:///svn/freebsd/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 373807 Node Kind: directory Schedule: normal Last Changed Author: beat Last Changed Rev: 373807 Last Changed Date: 2014-12-03 03:20:51 -0800 (Wed, 03 Dec 2014) So... portmaster looked around abit, then said: 0;portmaster: All >> (9)^G =3D=3D=3D>>> The following actions will be taken if you choose to proceed: Upgrade linux_base-c6-6.6 to linux_base-c6-6.6_1 Upgrade mysql55-client-5.5.40 to mysql55-client-5.5.41 Upgrade perl5-5.18.4_9 to perl5-5.18.4_10 Upgrade at-spi2-core-2.14.0 to at-spi2-core-2.14.1 Upgrade glib-2.42.0 to glib-2.42.1 Upgrade bash-4.3.30 to bash-4.3.30_1 Upgrade gdk-pixbuf2-2.31.1 to gdk-pixbuf2-2.31.2 Upgrade gtk3-3.14.3_1 to gtk3-3.14.5 Upgrade linux-c6-devtools-6.6 to linux-c6-devtools-6.6_1 =3D=3D=3D>>> Proceed? y/n [y]=20 -- normal stuff; I gave the go-ahead. It started up, ran for a whlie, then: =2E.. =3D=3D=3D> Configuring for linux_base-c6-6.6_1 =3D=3D=3D> Building for linux_base-c6-6.6_1 =3D=3D=3D> Staging for linux_base-c6-6.6_1 =3D=3D=3D> Generating temporary packing list 346953 blocks =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D>>> Creating a backup package for old version linux_base-c6-6.6 Creating package for linux_base-c6-6.6 Updating database digests format: 0%^MUpdating database digests format: = 0%^M^MUpdating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: linux_base-c6-6.6 The operation will free 168 MB. You may need to manually remove /compat/linux/etc/krb5.conf if it's no long= er needed. You may need to do by hand: o unmount linprocfs if mounted o delete /compat/linux/proc if present o remove/comment linprocfs from /etc/fstab if present [1/1] Deleting linux_base-c6-6.6: 0%^M[1/1] Deleting linux_base-c6-6.6: = 0%^M^M[1/1] Deleting linux_base-c6-6.6: 1%^M[1/1] Deleting linux_base-c6= -6.6: 2%^M[1/1] Deleting linux_base-c6-6.6: 3%^M[1/1] Deleting linux_ba= se-c6-6.6: 4%^M[1/1] Deleting linux_base-c6-6.6: 5%^M[1/1] Deleting lin= ux_base-c6-6.6: 6%^M[1/1] Deleting linux_base-c6-6.6: 7%^M[1/1] Deletin= g linux_base-c6-6.6: 8% =2E.. [1/1] Deleting linux_base-c6-6.6: 99%^M[1/1] Deleting linux_base-c6-6.6: 1= 00% =3D=3D=3D>>> Starting check for runtime dependencies =3D=3D=3D>>> Gathering dependency list for emulators/linux_base-c6 from por= ts =3D=3D=3D>>> No dependencies for emulators/linux_base-c6 =3D=3D=3D> Installing for linux_base-c6-6.6_1 =3D=3D=3D> Registering installation for linux_base-c6-6.6_1 as automatic pkg-static: linux_base-c6-6.6_1 conflicts with linux-c6-devtools-6.6 (insta= lls files into the same place). Problematic file: /compat/linux/usr/lib/ss= e2/libgmp.so.3 This software is based in part on the work of the FreeType Team. See <URL:http://www.freetype.org/>. Installation of the Linux base system is finished. The Linux kernel mode, which must be enabled for Linux binaries to run, is now enabled. Linux mode can be enabled permanently with the linux_enable variable of rc.conf(5). ---------------------- You should enable Linux mode with the linux_enable variable of rc.conf(5)= =20 and use compat.linux.osrelease=3D2.6.18 in sysctl.conf(5). This is highly experimental! ---------------------- If you want to use shared memory in Linux applications, you need to set up a link from /dev/shm to a suitable place, e.g. by adding the following line to /etc/devfs.conf (takes effect on each boot): link /tmp shm To make use of NIS you have to adjust yp.conf and nsswitch.conf in /compat/linux/etc/ accordingly. For example: Set your yp-server and yp-domainname in yp.conf: domainname my.yp.domainname ypserver my.yp.server Let your lists for hosts, passwd and group be resolved via nsswitch.conf: passwd: files nis shadow: files nis group: files nis hosts: files dns nis WARNING: doing work which needs to chroot into the linux base may not work. In such cases (e.g. cross-development) you are better suited with a linux_d= ist port. *** Error code 70 Stop. make: stopped in /common/ports/emulators/linux_base-c6 =3D=3D=3D>>> A backup package for linux_base-c6-6.6 should be located in /usr/ports/packages/portmaster-backup =3D=3D=3D>>> Installation of linux_base-c6-6.6_1 (emulators/linux_base-c6) = failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for emulators/linux_base-c6 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> emulators/linux_base-c6 databases/mysql55-client = lang/perl5.18 accessibility/at-spi2-core devel/glib20 shells/bash graphics/= gdk-pixbuf2 x11-toolkits/gtk30 devel/linux-c6-devtools=20 Script done on Wed Dec 3 05:00:17 2014 That ("*** Error code 70") seemed .... odd (since I didn't see what the actual complaint was). =20 So, figuring that the failure might be an artifact of the prior installation of emulators/linux_base-c6, I tried the suggested command (since by this time, emulators/linux_base-c6 was no longer installed): Script started on Wed Dec 3 05:02:20 2014 command: portmaster -d emulators/linux_base-c6 databases/mysql55-client lan= g/perl5.18 accessibility/at-spi2-core devel/glib20 shells/bash graphics/gdk= -pixbuf2 x11-toolkits/gtk30 devel/linux-c6-devtools =2E.. which failed in the same way. So then I thought I'd put the old one back, then defer emulators/linux_base-c6 until later: Script started on Wed Dec 3 05:04:18 2014 command: pkg add /usr/ports/packages/portmaster-backup/linux_base-c6-6.6.txz =2E.. Script done on Wed Dec 3 05:04:34 2014 Script started on Wed Dec 3 05:04:48 2014 command: portmaster -d databases/mysql55-client lang/perl5.18 accessibility= /at-spi2-core devel/glib20 shells/bash graphics/gdk-pixbuf2 x11-toolkits/gt= k30 devel/linux-c6-devtools =3D=3D=3D>>> Working on: databases/mysql55-client lang/perl5.18 accessibility/at-spi2-core devel/glib20 shells/bash graphics/gdk-pixbuf2 x11-toolkits/gtk30 devel/linux-c6-devtools =3D=3D=3D>>> databases/mysql55-client 1/8 =2E.. =3D=3D=3D>>> devel/linux-c6-devtools 7/7 0;portmaster: devel/linux-c6-devtools 7/7^G =3D=3D=3D> Installing for linux-c6-devtools-6.6_1 =3D=3D=3D> Registering installation for linux-c6-devtools-6.6_1 as automa= tic =3D=3D=3D>>> Upgrade of linux-c6-devtools-6.6 to linux-c6-devtools-6.6_1 su= cceeded ^M=3D=3D=3D>>> pkg-message for bash-4.3.30_1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E.. =3D=3D=3D>>> Done displaying pkg-message files (END)^M=3D=3D=3D>>> The following actions were performed: Upgrade of mysql55-client-5.5.40 to mysql55-client-5.5.41 Upgrade of perl5-5.18.4_9 to perl5-5.18.4_10 Upgrade of glib-2.42.0 to glib-2.42.1 Upgrade of at-spi2-core-2.14.0 to at-spi2-core-2.14.1 Upgrade of bash-4.3.30 to bash-4.3.30_1 Upgrade of gdk-pixbuf2-2.31.1 to gdk-pixbuf2-2.31.2 Upgrade of gtk3-3.14.3_1 to gtk3-3.14.5 Upgrade of linux_base-c6-6.6 to linux_base-c6-6.6_1 Upgrade of linux-c6-devtools-6.6 to linux-c6-devtools-6.6_1 Script done on Wed Dec 3 05:26:58 2014 So it got emulators/linux_base-c6 done anyway... but using a different sequence of operations than originally specified. Peace, david --=20 David H. Wolfskill david@catwhisker.org Actions have consequences ... as do inactions. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUfylIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7VokQAIVVJAeaE2xPJxg0e4ank6OA u0sir8a4IZW21P70JiurNzMdfqYd97ZzSpdyeh/wG3pPhAuVjh8aeaC5nacnKzlk BE7mMPEmpMzgo6rhvG8YXDp73MGGLDV8HkZ5n8s5JGz3PM2LC+z8vP2TkzIg+vaZ Jy4m9Imz/id+40AWbOKbs3yIC2HBNy8lnDwyA+WX1z+4HBfhSwF1Nab4Vxj9Oc7S HycldLU/PZafXRkhbj0HACruBTzQFsjXA0OnJ+FINzfOhY6pBx11PFdqGqByS5Xa 0EjWMSuPglYzx8SEo+5t0qZNBvr41IhTufdocXNm4YqNaGgA5w7HpAZz7/QWkTRe rKomPGY25FU3Pi/lpJz2Pm6FcHOQJjzdcg9ZJtHcR59xO4AfVM5Y7V7+y8i3IPpV 27C5IB6Lcydj0bI7rmC+R7/eLLK3kGDN+r6nuu6H6/jkGTbe+o90DSRvDN0SvP6h GXDDuzl/UatSyevgXaOWB7jUXrEzuW+jl1pBX+ivMQqjO0oIv7I6KXBD5ER6gbQe qQgD4rlq51f1IL0XcKpLTtTV1SAmDkxYNkJfMRbdvhmOZCpZaHYhzJ7rZ4ljC5Tz cD0P/23NAkknLu49801mrNCk4rDVRd9Ydrow+P4C+geidgNJBDhfjT5qkn+kiQue 1rcBCWCxMiOJd2kz3z3I =kpKK -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141203151624.GA26105>