pkgsrc-Bugs archive

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

Re: pkg/57272: devel/cmake: incorrect ps(1) command selected on sparc



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

From: Niclas Rosenvik <nros%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/57272: devel/cmake: incorrect ps(1) command selected on
 sparc
Date: Wed, 17 May 2023 12:03:24 +0200

 Here is my analysis on this problem:
 KWSYSPE_PS_COMMAND is used to recursively
 kill the children of a process, as can be
 seen in the function kwsysProcessKill in
 Source/kwsys/ProcessUNIX.c .
 CMake on NetBSD does not try to kill the
 children of a process since CMake does
 not define KWSYSPE_PS_COMMAND on NetBSD.
 So I think that this bug report has stumbled
 across a runtime bug in CMake when running
 on NetBSD.
 Regarding Valery:s question, "I'm don't know
 if adding NetBSD to the same branch as
 FreeBSD is enough". The output from
 "ps axo pid,ppid" is the same on FreeBSD as
 on NetBSD. So adding NetBSD to the same branch
 as FreeBSD should be safe.
 CMake problems have happend before with NetBSD
 and Sparc, see CMake issue 10362.
 OK to file an issue on the CMake issue tracker
 with uwe's fix? and apply it to pkgsrc?
 


Home | Main Index | Thread Index | Old Index