pkgsrc-Users archive

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

Re: pkgsrc-2013Q2 randomly not creating packages for me. What can be wrong?



On Tue, 30 Jul 2013 23:24:30 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:


"OBATA Akio" <obache%netbsd.org@localhost> writes:

On Tue, 30 Jul 2013 20:17:59 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:


"OBATA Akio" <obache%netbsd.org@localhost> writes:

Please describe use cases of binary packages in ${PACKAGES} after
installation, for over 50% users and not rare case.

`make package' and a binary package will be created in ${PACKAGES}.
It is not changed.

My point  is that changing replace introduced a regression, and
dicussion/review should have (sorry if I missed it) led to creating
replace-package at the same time.

Should I explain it again?

"binary package in ${PACKAGES} will be overwritten unconditionally"
is the regression introduced at changed to USE_DESTDIR=yes by default.
  http://mail-index.netbsd.org/tech-pkg/2011/04/21/msg007034.html

So you are saying that "make replace" will store the (new) binary
package in ${PACKAGES} if there is not already a package of the same
name?  Or that 'make replace' never used to store binary packges?  My
perception (a fuzzy perception; I've not been paying as close attention
to netbsd/pkgsrc over the last few months) is that there was a
relatively recent change where 'make replace' (in the USE_DESTDIR=yes
case) stopped storing binary packages in ${PACKAGES}, and instead left
them in WRKDIR.

I did not understand that from reading the mail you referenced the first
time, and I still can't understand that from reading it now.

For example, you are using net/bind99, and want to try mysql support.
so `make replace' with mysql option.
It is not worked as expected, so `make undo-replace'.
If `make replace' create binary package in ${PACKAGES} additionally,
you will noticed that binary package in ${PACKAGES} is unwanted one for you.
It was not happened before switched to USE_DESTDIR=yes by default,
because binary package in ${PACKAGES} was created only when you really want it.

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index