make reinstall does not work

Stefan Esser se at freebsd.org
Mon Dec 11 11:28:43 UTC 2017


Am 09.12.17 um 00:22 schrieb Kevin Oberman:
> On Fri, Dec 8, 2017 at 2:52 PM, Greg 'groggy' Lehey <grog at freebsd.org>
> wrote:
> 
>> [rearranged]
>>
>> On Friday,  8 December 2017 at 23:42:40 +0100, Jaap Akkerhuis wrote:
>>>> On Dec 8, 2017, at 22:35, Walter Schwarzenfeld <
>> w.schwarzenfeld at utanet.at> wrote:
>>>>
>>>> I had a strange error: Make reinstall does not work anymore in the port
>> (10.3-amd64) also FORCE_PKG_REGISTER.
>>>>
>>>> All other make commands works fine. I don't know if it is related to
>> FLAVORS.
>>>>
>>>> make reinstall ended up e.g. with:
>>>>
>>>>  Registering installation for gtk2-2.24.31
>>>> *** Error code 70
>>>>
>>>> Stop.
>>>
>>> When I see this Error code 70 I do a make deinstall and then a make
>>> install. That worked for me
>>
>> Yes, I've seen this too and used the same workaround.
>>
>> Has something changed?  Does 'make reinstall' still work for others?
>>
>> Greg
>>
> 
> I regularly use 'make reinstall'  and it still worked yesterday.
> 
> # cd /usr/ports/devel/py-setuptool
> # make FLAVOR=py27
> # make FLAVOR=py27 deinstall

This step removed the package from the system ...

> # make FLAVOR=py27 reinstall

This is now equivalent to a plain "make install"

I.e. you are always performing the "deinstall install" sequence that has
been mentioned as a work-around for when "make reinstall" fails with error
code 70 ...

> # make FLAVOR=py27 clean



More information about the freebsd-ports mailing list