From owner-freebsd-ports@freebsd.org Sun Dec 10 17:59:50 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 4D35CE9316B for ; Sun, 10 Dec 2017 17:59:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a]) (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 02B6D7A3B5; Sun, 10 Dec 2017 17:59:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x22a.google.com with SMTP id q13so10507645uaq.8; Sun, 10 Dec 2017 09:59:49 -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=aDsOC7jLh4VXls/3k9JrWQuvRe1P0l8OC2a10bz40/0=; b=tnm09LnLXJsfkV35jk8Nfl8Bipip8xKMtuTB98r1Tgec/kXVOuwBmlfrWyUO298PwW N0oXw9zKFl03ue57lXqc3xdmfNA3tj8ysUqy78dbsywVsUeJila28JLars8+Q5yEXoH7 Yh0tdzPg+RR83KdAT6ITwrJg1IgM6AdD60IKN2OtU37G41+Zz1PsRXwuhyX1qgivH5JR FK9dy4h6o4/Pb5ZDvZ0W1Yow9LeZPODnThbnla0HvbH49x7guqUvs3bIbjdG1sWxM2OX YyexLWo+/dSPdSJvcu/IUgnhmpY8m2iyNDqc5npFwkBVNd+wf9UgWw3/j7WiTOrUl3zW OYMg== 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=aDsOC7jLh4VXls/3k9JrWQuvRe1P0l8OC2a10bz40/0=; b=bOk695BaN/B6k0s0Q+z6wbanP6zrVORrxdNDEo3BXgzzVnOF1MS/neT6MZd0fCZduq BfyO9DljJB69ijjVM3uFaZgUCjs2ZgbZJOrk9barLle6CKKhXZZfWZOU66X8UohKzMQE 22uA2Dn/UnZNZMun3qezNNDh2hVa+IF+kkD+dqC4TK+fVE3GPRMfnxFpv3gQH5vGvZGA SNDVGej0AW1th0eFooNjuvOJgdy9d42IlVW2pumuBtXmSPBif23o5yvjeNRguRpE5ktQ 94Wl80/PAf9CWEWSf6FeRRK8jsXKJpJ8XA7znt7Ag97Dx6p/S/z2OZsLtBFjyTNC7yKF LJhw== X-Gm-Message-State: AKGB3mI+R7ZTvJRF+X7+M36n2QHDzLCShm5WOQEFnHrO8fKok4j7sSqc 945CH6+8mnJFAeFeYdLX3s/bjvKnJBTQwu0NlZCq5Q== X-Google-Smtp-Source: AGs4zMb7DPiC1CFyEo3p/cZngi+6+gUzEIhaQn1DiCOprgjv6nGEqOhg9NCqEhY/abPp5ui5LTWP6mt8ufTThyNHb5k= X-Received: by 10.176.2.2 with SMTP id 2mr24276300uas.20.1512928788763; Sun, 10 Dec 2017 09:59:48 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.147.156 with HTTP; Sun, 10 Dec 2017 09:59:48 -0800 (PST) In-Reply-To: <20171210071936.GL78437@eureka.lemis.com> References: <20171208232925.7rhetilzhoxc26dh@mutt-hbsd> <20171210071936.GL78437@eureka.lemis.com> From: Kevin Oberman Date: Sun, 10 Dec 2017 09:59:48 -0800 X-Google-Sender-Auth: zSGnwq2O-FQ1U0NJb9d1nTrmXVM Message-ID: Subject: Re: make reinstall does not work To: "Greg 'groggy' Lehey" Cc: Walter Schwarzenfeld , FreeBSD Ports ML 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: Sun, 10 Dec 2017 17:59:50 -0000 On Sat, Dec 9, 2017 at 11:19 PM, Greg 'groggy' Lehey wrote: > On Saturday, 9 December 2017 at 12:04:02 +0100, Walter Schwarzenfeld > wrote: > > Thanks, this explains and solved the problem. > > What? And how? > > Greg > Good question. "make reinstall" is, indeed, broken. I have been looking at bsd.ports.mk and reinstall simply deletes the .install_done and .package_done files from the work directory and than attempts to do a "make -DFORCE_PKG_REGISTER install" and that used to work. Now the install target is looking at the pkgdb and finding that the package is already installed, even with the FORCE_PKG_REGISTER, throws an error that is not handled. I think this is a bug as it is simply not properly handled. I'm not sufficiently good at make scripting to be sure of this, but that appears to be what going on. I am not sure if this can be safely fixed or if the 'reinstall' target should be removed. I should also note that reinstall has changed drastically since pkgng came on the scene, so my prior look at this was totally obsolete. Sorry. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683