Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 09:24:40 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, Bryan Drewery <bdrewery@freebsd.org>
Subject:   Re: devel/gmake-lite: fails on CURRENT r 268535 to build: @itemx must follow @item
Message-ID:  <CAN6yY1uiB%2BFhNGXx5uftejthTh2j-MOCcW9VhpJxXeohPd_Xww@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 13, 2014 at 11:51 PM, O. Hartmann <ohartman@zedat.fu-berlin.de>
wrote:

> Am Sun, 13 Jul 2014 22:16:39 -0500
> Bryan Drewery <bdrewery@FreeBSD.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uiB%2BFhNGXx5uftejthTh2j-MOCcW9VhpJxXeohPd_Xww>