pkgsrc-Bugs archive

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

Re: pkg/34470 (pkgsrc 'make replace' broken)



The following reply was made to PR pkg/34470; it has been noted by GNATS.

From: Roland Illig <rillig%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/34470 (pkgsrc 'make replace' broken)
Date: Sun, 24 Sep 2006 09:20:45 +0200

 There is also a timing problem:
 
 When "make replace" is called once, it leaves an .install_done cookie in 
 the WRKDIR. When "make replace" is called once again, that cookie still 
 exists when the Makefiles are loaded, and since there is some code like:
 
      .if exists(${_COOKIE}.install)
      install:
          ${DO_NADA}
      .else
      ...
      .endif
 
 the second "make replace" will not install anything since "the package 
 is already installed".
 
 I think there are many more of these problems only waiting to be discovered.
 
 Roland
 



Home | Main Index | Thread Index | Old Index