From owner-freebsd-ports@FreeBSD.ORG Fri Sep 6 17:05:45 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3337A725; Fri, 6 Sep 2013 17:05:45 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 686B92F94; Fri, 6 Sep 2013 17:05:44 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj3so1186528wib.1 for ; Fri, 06 Sep 2013 10:05:42 -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=DPOq8NxhHrQqFzwEVoO18hnJMmQNXl7Ff9pO1bzpx4k=; b=RzkcOM0EEzh9yEBoizn8dlzNDtEOS/9gKJ/D55nh67541A/dcaLkQfkvVRZCm1clVE ezJuieA7pMqKaoBcUHJMoV+oDqN75+0nGl3VXQfLixVFr0rss7TCXHWePNTr/XnEVXXZ L0vamh5h7q0OENVDvRpattdxQnwiyJPtBjdR2YItw3yYYZJCQcX+h67bWzPYAyGMY41E WKkghOCTHq5jyziRetHS9gjDbaTtrAHTUX8LGkzmMH/9NlAd/0+p2RDXN1Zuk09XXvxC SSdFyZHvktuB9JoFKgWgYhLcBeBNrzXeXlDe3k/maZ98eKqkomVVNpe8frP2uzBR6uU/ 08Kg== X-Received: by 10.194.249.97 with SMTP id yt1mr2216202wjc.49.1378487142491; Fri, 06 Sep 2013 10:05:42 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id d11sm13351955wic.4.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 06 Sep 2013 10:05:41 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 6 Sep 2013 19:05:39 +0200 From: Baptiste Daroussin To: "O. Hartmann" Subject: Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv Message-ID: <20130906170539.GE59360@ithaqua.etoilebsd.net> References: <522985C7.2010303@passap.ru> <20130906170449.64439c27@munin.geoinf.fu-berlin.de> <5229F63F.7070704@FreeBSD.org> <20130906175942.6c829f15@munin.geoinf.fu-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="19uQFt6ulqmgNgg1" Content-Disposition: inline In-Reply-To: <20130906175942.6c829f15@munin.geoinf.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: AN , Boris Samorodov , Guido Falsi , FreeBSD ports list , freebsd-current@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 17:05:45 -0000 --19uQFt6ulqmgNgg1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 06, 2013 at 05:59:42PM +0200, O. Hartmann wrote: > On Fri, 06 Sep 2013 17:35:27 +0200 > Guido Falsi wrote: >=20 > > On 09/06/13 17:04, O. Hartmann wrote: > >=20 > > > Using portmaster, I'm higly adviced to use option -f, otherwise > > > every second port I try to update gets interrupted due to missing > > > libiconv.so.3. It is impossible to update a system unattended and > > > this is a mess with 200 or even 680 ports to be updated. A waste of > > > time. > > > > > > Some ports still rely on methusalem gcc 4.6. But gcc 4.6.3 relies on > > > some gnuish tools in the port and the compilation fails if those > > > prerequisits aren't updated first. The description I found > > > in /usr/ports/UPDATING is quick and dirty - too dirty for being > > > useful, in my opinion. Did the maintainer ever tried this command > > > sequence on a "used" machine and not in a clean vbox environment? > >=20 > >=20 > > I have tested it on my two machines at home. Both "lived" ones. On > > one I had problems, but I did not follow that procedure exactly. > >=20 > > On the laptop everything went definitely smoother. > >=20 > > > There must be a description of a fallback in UPDATING! I took the > > > whole day to update on one machine less than the half of the > > > installed ports and huge ports like libreoffice are still dropping > > > out of the build and I restart after fixed the missing port that > > > relies on being recompiled. I hope that reinstalling > > > converters/libiconv will give me X11 back on my boxes! I can not > > > stay with them 48 hours non stop until they have completed the > > > messy update. > >=20 > > The first backup things that comes to mind is, one can always > > reinstall libiconv (removing IGNORE), that should allow old binaries > > to run. I don't suggest updating the other ports while libiconv is > > installed though, since the include files will conflict and ports > > could link to the por5ts libiconv instead of the base one. > >=20 > > As I told AN, preserving libiconv.so in /usr/local/lib/compat/pkg and= =20 > > then removing the package could help, by allowing the machine to work > > in a "mixed world". Can you try that? >=20 > How should I when I already within the procedure of updating? I > followed the minimalistic instruction in UPDATING. >=20 > >=20 > > The biggest problem is usually libtool, pulling in old .la files > > still referencing the non existing libiconv.la file. I don't know of > > any solution to that. I had to resort to manually listing offending > > la files and recompiling the owning package. Not optimal :( > >=20 > > I am willing to add further information to the UPDATING entry, but I=20 > > need people with different scenarios to test and report the success > > of the strategies. > >=20 > > Obviously the last resort strategy is deinstalling all ports and=20 > > reinstalling them, which I agree is terrible. >=20 > This is the worst suggestion ever. People do work with their FreeBSD > boxes, even when they run cutting edge OS versions. Deleting and > installing around 1000 ports on an average desktop workstation isn't > funny! That is, why I do updates. >=20 > Every thing else would degrade this system into the state of an > annoying toy operating system and that is definitely not what I believe > others intend it to be. >=20 > The time of M$ DOS and Windows 95 and their strategy "if something goes > wrong, install the whole OS new" is gone and has never been for people > having choosen UNIX over the M$ crap and the silly dirty strategy=20 > >=20 >=20 We are just trying to catch up the activation of iconv in base which is resulting a complete mess in ports. We do understand how problematic this can be for you and We are sorry about that. In you special use case, I would strongly recommand you to change the way y= ou are managing you setup to change it into a a package building server and wh= en everything is ok deploy you packages on all your serveurs/desktops. Poudriere can do that fairly easily, you can prepare different package buil= ding destination (that fits all your need, with special patches, special options= in src.conf etc). That way you can follow head, and not get annoyed by such changes. In you case what I would do is: $ Rebuild world WITHOUT_ICONV $ reinstall libiconv $ portmaster all that depends on libiconv Here you got back to the old situation. Now on a decicated machie I machine I would install poudriere, create a jail matching the server specification (without libiconv) build all my packages on it If everything is ok. Rebuild my server WITH_ICONV Make my server use the built repository $ pkg upgrade (This should catch up everything) and you system is clean and usable. Next time you have to upgrade first upgrade the package building jail and packages, if this is ok, then upgrade world/kernel on your server, pkg upgr= ade and you are done, updating the box (in term of packages) will cost you a co= uple of minutes, you will be sure that everything has properly build. regards, Bapt --19uQFt6ulqmgNgg1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlIqC2MACgkQ8kTtMUmk6Ey3mgCbBEaZCAUtWO3NuHHSFJYyRqxc 29AAoK9Li7cDHoCh30IDDxuwfWxZP73t =QxhW -----END PGP SIGNATURE----- --19uQFt6ulqmgNgg1--