From owner-freebsd-ports@freebsd.org Thu Nov 23 04:32:55 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAC30DDB255 for ; Thu, 23 Nov 2017 04:32:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B451F7AF3C for ; Thu, 23 Nov 2017 04:32:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B3AAEDDB253; Thu, 23 Nov 2017 04:32:55 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3216DDB252; Thu, 23 Nov 2017 04:32:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x22e.google.com (mail-ua0-x22e.google.com [IPv6:2607:f8b0:400c:c08::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 692687AF3B; Thu, 23 Nov 2017 04:32:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x22e.google.com with SMTP id e10so12021876uah.10; Wed, 22 Nov 2017 20:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sUtP/u5jeuLMPn0iyax5n7tZu0ASMqsaBPIlPeqKD7g=; b=GPAkxl7vsnvUCqgjo+BKqyEkUNTTUXmP0MjLPY31buik91ogNG9GiHGYvZp2oURrCr /WYQOVw0J+94om28xkc2O9qnz1KgI4Nr/+6OdhPLEfx0ttRWLzG3imMwA1wrQf84ONHJ YIOlVjbnbz+MrmM94XXotu2Pypw/tGD9aksKZTrRQg75uAUxTY/hmZ3jEXtZ20Hl/VLB 5VPtp/m3SddYZ/jab07fmMsdxldKQt1bn04/V0ZM/FXnubfapWzdtIBHsKvBDgkb6Gcv AyqQPShDzn9lMNmkF7m/ZwIdN9AXcQnt04688Mrt3+/bu+JN8JKKZ5iaK1rlKYgg/LRR ms8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=sUtP/u5jeuLMPn0iyax5n7tZu0ASMqsaBPIlPeqKD7g=; b=CLhpRLQ0MTxwPBVpw0GJkNAkNPNNtEoK47HTVaSbhjgaNelgEpIhML7K0nRe9vkz2s tB6yEYpb/3ATDzzrOv19gz05IoaCj3tSHPM26GndEW18DhD/YPiqLiZKIh8qsOyI50CM yWWzv57R3L/Sxas09mZsXlgAjyUDMibx3OiWHXnXpp7bYQX8dIJ90/GR7XAUO1NST8l/ UA5UhDsdjAa4SGy+LnuK/U76JLStKUh8UoH2o+QfI5rU+6Cs6qkFTLnRsx0DU5I1lO48 yAyFnR9pbP5CQa0QBIEKKLPoFK8zNP/9ugu4uNPWQyaoCU5zTIrSKHUtGhQW9ffLG6/H oAwg== X-Gm-Message-State: AJaThX4qoWXdtViiyD7h217ySgLxMGB2/yIX7OH3k52W9Lx75ez3oeB0 hryG3j4pNggPjWqNRRe6GmK8yrVj1FOb+mx9IqpESHrf X-Google-Smtp-Source: AGs4zMa14X1bxSzQXwOMiTTGEvhHe1592awhsJ1+urm+mKAiRoovHMfQQy+GnPF3TDjREDSnOm1oa7kEjDeht38xhNM= X-Received: by 10.176.8.71 with SMTP id b7mr14336579uaf.168.1511411574182; Wed, 22 Nov 2017 20:32:54 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.147.156 with HTTP; Wed, 22 Nov 2017 20:32:53 -0800 (PST) In-Reply-To: <20171123041836.GA64420@www.zefox.net> References: <20171122232836.GB63801@www.zefox.net> <20171123041836.GA64420@www.zefox.net> From: Kevin Oberman Date: Wed, 22 Nov 2017 20:32:53 -0800 X-Google-Sender-Auth: 0RGNkzpMpeNx02YHaKPGtuVNOUA Message-ID: Subject: Re: Dependencies satisfied, build stops anyway. To: bob prohaska Cc: "ports@FreeBSD.org" , freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2017 04:32:55 -0000 On Wed, Nov 22, 2017 at 8:18 PM, bob prohaska wrote: > On Wed, Nov 22, 2017 at 05:12:16PM -0800, Kevin Oberman wrote: > > On Wed, Nov 22, 2017 at 3:28 PM, bob prohaska > wrote: > > > > > > > > Attempts to compile a number of ports on RPI2, in this case > dns/bind910, > > > often > > > stop with an error along the lines of: > > > > > > /bin/mkdir -p '/tmp/mountpoint.f1jbPw/devel/ > gettext-tools/work/stage/usr/ > > > local/share/gettext' > > > install -m 555 ../build-aux/config.rpath > '/tmp/mountpoint.f1jbPw/devel/ > > > gettext-tools/work/stage/usr/local/share/gettext' > > > ====> Compressing man pages (compress-man) > > > ===> Installing for gettext-tools-0.19.8.1 > > > ===> Checking if gettext-tools already installed > > > ===> gettext-tools-0.19.8.1 is already installed > > > You may wish to ``make deinstall'' and install this port again > > > by ``make reinstall'' to upgrade it properly. > > > If you really wish to overwrite the old port of gettext-tools > > > without deleting it first, set the variable "FORCE_PKG_REGISTER" > > > in your environment or the "make install" command line. > > > *** Error code 1 > > > > > > In case it isn't obvious, I'm confused. The version sought is found, > > > so what's the error? > > > > > > Thanks for reading, > > > > > > bob prohaska > > > > > > > The problem is that you have two tools with different means of > determining > > if a port is present. When the ports system installs a port, it olls at > the > > pkgdb an makes sure the port is not installed. Unfortunately, pkgdb > thinks > > it is. > > > > the easiest fix is to "pkg delete -f gettext-tools" followed be a > > re-install. Go to /usr/ports/devel/gettext-tools and make install. If you > > are using portmaster, "portmaster -C devel/gettext-tools" will do the > job, > > as well, but you always need to delete the port. > > -- > > Is there a simple way to force deletion and reinstallation? The number > of stale dependencies seems to be vast, and this is on a relatively > simple port, dns/bind910. Being on an ARM platform there are no > precompiled binaries. > > Thanks very much! > > bob prohaska > Stale ports SHOULD not be an issue. Normally old ports are updated automatically. It is important that your ports tree is consistent and, usually that it is current. Assuming yours is, the only issue is the oddball case like this one. You won't hit them often. Usually it is when a file that is tested for is missing. Usually a library. pkgdb says that the port is installed, but the make looks for the actual library and triggers an install, as opposed to a reinstall, when it is not found. Unled this systm has been massively mangled, it is a very unusual development, at least in my experience. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683