summary refs log tree commit diff
path: root/build-aux
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-11 18:07:21 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-11 18:09:45 +0200
commitd6f6b57766e95d2fa8af63d4460a2b303ca4d867 (patch)
tree62c2585b4b6bc073335a6645fe984f25837b39fe /build-aux
parentf43c0290416a25183304c2a6e3ff27babef2c03a (diff)
downloadguix-d6f6b57766e95d2fa8af63d4460a2b303ca4d867.tar.gz
tests: vnstat: Avoid call to 'getservbyname'.
This would break "make as-derivation" because /etc/services is
unavailable in the build environment:

  [ 38/ 80] loading...	 95.0% of 40 filesBacktrace:
  In guix/build/compile.scm:
      249:8 19 (compile-files "." "/gnu/store/s5nadqd6hkzivkxp33svwqslfn608ng5-guix-system-tests" ("gnu/tests/audio.scm" "gnu/tests/base.scm" "gnu/tests/ci.scm" "gnu/tests/cups.scm" "gnu/tests/d…" …) …)
  […]
  In unknown file:
	     0 (getserv "discard" "tcp")

  ERROR: In procedure getserv:
  In procedure getserv: no such service discard
  builder for `/gnu/store/…-guix-system-tests.drv' failed with exit code 1

* gnu/tests/vnstat.scm (run-vnstat-test): Hard-code 'guest-port' instead
of calling 'getservbyname'.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions