Skip Menu |

This queue is for tickets about the Proc-ProcessTable-Colorizer CPAN distribution.

Report information
The Basics
Id: 127908
Status: open
Priority: 0/
Queue: Proc-ProcessTable-Colorizer

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.2.0
Fixed in: (no value)



Subject: BSD::Process dependency is problematic
BSD::Process does not compile for newer FreeBSD versions (11 and newer) and fails tests with older FreeBSD versions or a reasonably recent perl. See - http://matrix.cpantesters.org/?dist=BSD-Process+0.07 - https://rt.cpan.org/Dist/Display.html?Name=BSD-Process I wonder whether there's a reason to use BSD::Process at all --- maybe all necessary information is already available in Proc::ProcessTable also on bsd systems?
On Tue Dec 04 16:06:29 2018, SREZIC wrote: Show quoted text
> BSD::Process does not compile for newer FreeBSD versions (11 and > newer) and fails tests with older FreeBSD versions or a reasonably > recent perl. See > - http://matrix.cpantesters.org/?dist=BSD-Process+0.07 > - https://rt.cpan.org/Dist/Display.html?Name=BSD-Process > > I wonder whether there's a reason to use BSD::Process at all --- maybe > all necessary information is already available in Proc::ProcessTable > also on bsd systems?
sysutils/p5-BSD-Process builds with out issue. Unfortunately there is a patch that has not been committed upstream for it. https://rt.cpan.org/Ticket/Display.html?id=122947 As to Proc::ProcessTable, unfortunately there are some fields that on BSD systems it does not properly return. If you take a look at where $bproc is used in the module, those are the fields with issues. If you know of any work arounds thought, it would be appreciated. :)
On Wed Dec 05 00:38:09 2018, VVELOX wrote: Show quoted text
> On Tue Dec 04 16:06:29 2018, SREZIC wrote:
> > BSD::Process does not compile for newer FreeBSD versions (11 and > > newer) and fails tests with older FreeBSD versions or a reasonably > > recent perl. See > > - http://matrix.cpantesters.org/?dist=BSD-Process+0.07 > > - https://rt.cpan.org/Dist/Display.html?Name=BSD-Process > > > > I wonder whether there's a reason to use BSD::Process at all --- > > maybe > > all necessary information is already available in Proc::ProcessTable > > also on bsd systems?
> > sysutils/p5-BSD-Process builds with out issue. > > Unfortunately there is a patch that has not been committed upstream > for it. > > https://rt.cpan.org/Ticket/Display.html?id=122947 > > As to Proc::ProcessTable, unfortunately there are some fields that on > BSD systems it does not properly return. If you take a look at where > $bproc is used in the module, those are the fields with issues. > > If you know of any work arounds thought, it would be appreciated. :)
Howdy! Just uploaded 0.3.0 which completely removes it as a dependency. Spent some time doing some research. Also worth nothing that some procs will return improper size values till a bug in Proc::ProcessTable is fixed. https://rt.cpan.org/Ticket/Display.html?id=128189 has more info on that. Also there is a patch for the portstree submitted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234688 .