From owner-freebsd-ports@FreeBSD.ORG Mon Jul 14 16:24:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF7ADF30; Mon, 14 Jul 2014 16:24:41 +0000 (UTC) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (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 A88DE28F9; Mon, 14 Jul 2014 16:24:41 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id fp1so2654197pdb.13 for ; Mon, 14 Jul 2014 09:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=9krU8j/aqqJRTF/7jZkvcAJw4ZR8HZuRgly1p9YFmPY=; b=UK/KOjprMAVufXAvWp9oUxDpwDcbmE14sDF7NmSJy5Y2U/2eK1YwHc4FdqU+NFgjrt a3wz9Ujwk+s6HPfM42DH96yvjgrga5c0n1bC09Tyvii7G6ABmz77zMvyCrNmDP6s2BY3 gVsCacOpWPr95CE55TyuoKRq6ndyW4GytwqZZXERvL+iHdmVf4qdMOFobscNXC9EoTS0 i/J14tZpSDN/d1asHjJ3z4/J3FGjLBuPeaZq/hgdXrAwTj5VBRiurRu56VZou8BnLrTy CPUDZAVsnxz8rouT07xadocUSYRX1PcAUqI+2wP8rNETaTNuuDZ8y1oHMuNjEaGvwdXV VPuQ== MIME-Version: 1.0 X-Received: by 10.70.34.228 with SMTP id c4mr17451886pdj.76.1405355080930; Mon, 14 Jul 2014 09:24:40 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Mon, 14 Jul 2014 09:24:40 -0700 (PDT) In-Reply-To: <20140714085148.2f04071a.ohartman@zedat.fu-berlin.de> References: <20140711225310.4c356e6c.ohartman@zedat.fu-berlin.de> <20140712001930.GM93051@ivaldir.etoilebsd.net> <53C34B97.7090001@FreeBSD.org> <20140714085148.2f04071a.ohartman@zedat.fu-berlin.de> Date: Mon, 14 Jul 2014 09:24:40 -0700 X-Google-Sender-Auth: gAJS1qni3tBuirKScQKUhPZr7Ug Message-ID: Subject: Re: devel/gmake-lite: fails on CURRENT r 268535 to build: @itemx must follow @item From: Kevin Oberman To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Baptiste Daroussin , FreeBSD Ports , Bryan Drewery X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 16:24:42 -0000 On Sun, Jul 13, 2014 at 11:51 PM, O. Hartmann wrote: > Am Sun, 13 Jul 2014 22:16:39 -0500 > Bryan Drewery schrieb: > > > On 7/11/2014 7:19 PM, Baptiste Daroussin wrote: > > > On Fri, Jul 11, 2014 at 10:53:10PM +0200, O. Hartmann wrote: > > >> > > >> On FreeBSD 11.0-CURRENT #2 r268535: Fri Jul 11 22:09:39 CEST 2014 > amd64 the port > > >> devel/gmake-lite fails to build with the following error, shown > below. The port is > > >> prerequisite and needed for lang/gcc4[89] which has been updated > recently. > > >> > > >> The box failing has recently been "cleaned up" via make > delete-old-libs in /usr/src. > > >> Is there anything I can do or fix? > > >> > > >> Please CC me. > > >> > > >> oh > > > > > > Can you provide the config.log that goes with the failure? > > > > > > because I'm not able to reproduce for now with the same env. as you > describe. > > > > > > regards, > > > Bapt > > > > > > > Check on package23, it just happened there. > > > > > > I fugured out that my systems are "polluted" by orphaned libraries and > binaries. I guess > pkg and/or portmaster's pkg-distfiles isn't always working properly or it > is due to the > fact my system's OS is a moving objekct, always sliding from one CURRENT > to the next. > > So, this said, I removed a bunch of really outdated binaries (find -ctime > +100w). After > this done, the port has been installed correctly. > > At the very moment I run sysutils/libchk and it reports a lot of strange > things. > > Is there a way to clean-up those lost and unnecessary libraries, binaries > and other files > or remnants in general without installing the system from scratch? > Deleting all ports and > installing them again is no option, the box in question is a little bit > outdated and slow > and is needed (i can not wait 72 hours to finish ~1300 ports). > > Thanks for looking into this. > > Kind regards, > Oliver > Hopefully someone has a better plan, but what I have done in the past is to re-build all ports, but in an alternate location on a USB disk (/media/disk1) and saving packages of all of them Follow the directions in the EXAMPLES in portmaster(8) to re-build all ports. Afterthe first step, scan over the list and delete orphaned dependencies. Remember that only ports on which no other port is dependent should be listed, so if you see a port listed that you are not using internally, it can be deleted. Continue following the procedure described in portmaster(8), but define LOCALBASE to point to a directory on the USB drive and add '-g' to save packages for all ports so that You now have a poor-man's repository. Delete all ports, clean up /usr/local being careful to not overwrite customized files in /usr/local/etc, and install all of the ports from the packages you just built. You will still have downtime, but far, far less than the time to build everything as the system remains up and available during the time required for the build. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com