Yavor Doganov
2018-05-19 09:55:23 UTC
URL:
<http://savannah.gnu.org/bugs/?53941>
Summary: NSProcessInfo -systemUptime test sometimes fails on
GNU/Hurd
Project: GNUstep
Submitted by: yavor
Submitted on: Sat 19 May 2018 12:55:21 PM EEST
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On GNU/Hurd, procfs is optional -- the system works just as well without it.
Debian's hurd-i386 buildds are configured with procfs but for some reason from
time to time the test (as well as the configure test for procfs) fails. See
https://lists.debian.org/debian-hurd/2018/02/msg00017.html for details.
As this method is a no-op if neither procfs nor sysctlbyname are available I'd
suggest to not compile/run the test if these conditions are not met. Patch
attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 19 May 2018 12:55:21 PM EEST Name:
conditional-systemUptime-test.patch Size: 1KiB By: yavor
<http://savannah.gnu.org/bugs/download.php?file_id=44178>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53941>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
<http://savannah.gnu.org/bugs/?53941>
Summary: NSProcessInfo -systemUptime test sometimes fails on
GNU/Hurd
Project: GNUstep
Submitted by: yavor
Submitted on: Sat 19 May 2018 12:55:21 PM EEST
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On GNU/Hurd, procfs is optional -- the system works just as well without it.
Debian's hurd-i386 buildds are configured with procfs but for some reason from
time to time the test (as well as the configure test for procfs) fails. See
https://lists.debian.org/debian-hurd/2018/02/msg00017.html for details.
As this method is a no-op if neither procfs nor sysctlbyname are available I'd
suggest to not compile/run the test if these conditions are not met. Patch
attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 19 May 2018 12:55:21 PM EEST Name:
conditional-systemUptime-test.patch Size: 1KiB By: yavor
<http://savannah.gnu.org/bugs/download.php?file_id=44178>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53941>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/