pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Heads Up: make install



"OBATA Akio" <obata%lins.jp@localhost> writes:

> On Thu, 25 Feb 2010 21:10:39 +0900, Joerg Sonnenberger 
> <joerg%britannica.bec.de@localhost> wrote:
>
>> On Thu, Feb 25, 2010 at 02:33:54PM +0900, OBATA Akio wrote:
>>> >Works the same as "make reinstall" for the non-DESTDIR case without
>>> >modifying /usr/pkg, e.g.
>>> >   - remove cookies for install and package phase
>>> >   - run stage-install
>>> >   - run package
>>> >   - run package-install
>>>
>>> Thanks to force to create and install (maybe) broken packages when
>>> testing package installation.
>>
>> I'm not sure I understand your problem. You want "make reinstall" to
>> only run stage-install for the DESTDIR case? I don't changing that, but
>> I should add that it only matters if the install stage does not fail.
>> This includes all the cecks.
>
> You are superman, so probably can't understand ordinary man's job.
> For me, to create/update packages, try to install, fix PLIST,
> and try to reinstall, fixes permissions, and try to reinstall, and so on.
> And also poor man, no highspeed machine, so I don't want to rebuild time 
> after time.
>
> Good-bye.

Since I was the original proponent, let me explain.

We're doing pkgsrc for users. Whether they're very advanced or not,
it doesn't matter, they are still users and it is their life we should
make easier at the first place. Even developers want things to just work.

Because we want to switch to staged installation by default, and for
developers it is already so, some time ago we've broken "install" target
in a way that requires answering user questions. Even developers ask them
from time to time.

We have heard enough complaints that targets do not behave as expected.
We have heard these complaints here on the list too. 

I am answering these questions and complains too frequently.
That's why I proposed to restore historical behaviour, the one behaviour
users expect when they type "make install." So that it has the same effect
even when USE_DESTDIR=yes.

This buys users benefits of using staged installation _preserving_
their previous experience with pkgsrc.

From developer side it doesn't make life any harder, your main target
becomes "package" now, if run manually, at least mine does.
While having built binary package doesn't mean the latter is correct,
it buys some warranty that you don't overwrite installed files and
you can deinstall it in more or less clean way.

To some extent we're repeating the way NetBSD went when it introduced
build.sh with building sets before installing them.


P.S. Honestly, I didn't expect that it is you who are so annoyed
by this change. I'm surprised.


-- 
HE CE3OH...



Home | Main Index | Thread Index | Old Index