pkgsrc-Bugs archive

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

Re: pkg/52561: devel/npth broken



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52561: devel/npth broken
Date: Mon, 25 Sep 2017 05:02:38 +0000

 On Fri, Sep 22, 2017 at 11:20:00AM +0000, J?rn Clausen wrote:
  > [very bizarre behavior]
 
 First thought: try MAKE_JOBS_SAFE=no. Thanks to the wonders of
 automake the makefile is about 20x the size of the build log... and it
 includes rules that affect npth-config... and automake output is
 frequently not jobs-safe.
 
 Second thought: check for clock skew or other things that might
 confuse make into running rules it shouldn't.
 
 Third: the build log with one job is only a couple screenfuls long, so
 inspecting it for things that oughtn't to be there, like rerunning
 configure or config.status, isn't a big task.
 
 And, if you run out of other ideas, try running the whole thing (or
 rather, the smallest separable part of the build that exhibits the
 failure) under ktrace, that is,
 
    make clean
    make configure
    ktrace -i -t+a make
    kdump | less
 
 The dump file will be full of crap but it should reveal what's editing
 the script, and that plus the build log ought to allow figuring out
 what happened.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index