guix-play/guix/build
Chris Marusich 341dfe7eda
syscalls: mounts: Fix a matching bug.
On some systems, the columns in /proc/self/mountinfo look like this:

23 28 0:21 / /proc rw,nosuid,nodev,noexec,relatime shared:11 - proc proc rw

Before this change, the mounts procedure was written with the assumption that
the type and source could always be found in columns 8 and 9, respectively.
However, the proc(5) man page explains that there can be zero or more optional
fields starting at column 7 (e.g., "shared:11" above), so this assumption is
false in some situations.

* guix/build/syscalls.scm (mounts): Update the match pattern to use ellipsis
to match zero or more optional fields followed by a single hyphen.  Remove the
trailing ellipsis, since multiple ellipses are not allowed in the same level.
The proc(5) man page indicates that there are no additional columns, so it is
probably OK to match an exact number of columns at the end like this.
2021-03-15 21:22:43 -07:00
..
maven build/maven: Fix typo. 2020-10-28 21:11:11 -07:00
android-ndk-build-system.scm
android-repo.scm android-repo-download: Use parallel-job-count instead of hard-coding job 2020-09-03 00:09:38 +02:00
ant-build-system.scm
asdf-build-system.scm build-system: asdf: Improve install phase for CL source packages. 2020-09-15 22:00:29 +02:00
bournish.scm bournish: Prevent inlining of run-time support procedures. 2020-04-02 16:07:08 +02:00
bzr.scm
cargo-build-system.scm build-system/cargo: Don't clobber packaged crates while building. 2021-03-15 15:53:11 +02:00
cargo-utils.scm build/cargo-utils: Use all allocated threads to generate checksums. 2020-07-15 10:26:35 +03:00
chicken-build-system.scm build-system: Add chicken-build-system. 2020-12-03 16:18:33 +01:00
clojure-build-system.scm
clojure-utils.scm clojure-utils: Avoid use of '@@'. 2020-01-15 23:48:33 +01:00
cmake-build-system.scm build-system/cmake: Specify C++ compiler when cross-compiling. 2020-01-26 13:39:18 +01:00
compile.scm compile: Build gnu/{packages,tests}/* with '-O1'. 2020-06-22 15:42:55 +02:00
copy-build-system.scm build-system: copy-build-system: Keep symlinks symbolic. 2020-02-28 09:39:31 +01:00
cvs.scm
debug-link.scm
download-nar.scm Use guile-zlib extension in build-side code. 2020-08-24 10:41:06 +02:00
download.scm download: 'tls-wrap' returns an unbuffered custom port. 2021-03-11 23:19:52 +01:00
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm build-system/emacs: Hide the 'delete' binding from (guix build utils). 2020-05-07 15:14:46 +02:00
emacs-utils.scm build: emacs-utils: Add an option to select scoping for batch eval. 2020-03-22 21:17:38 -04:00
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-bootstrap.scm Add (guix build gnu-bootstrap). 2020-02-17 23:21:04 +01:00
gnu-build-system.scm build: gnu-build-system: Adjust NOCONFIGURE variable. 2020-02-16 18:45:37 +02:00
gnu-dist.scm build-system/gnu: Fix 'install' phase of 'gnu-dist'. 2020-06-18 14:48:17 +02:00
go-build-system.scm build-system/go: Install license files. 2020-10-15 11:13:25 +03:00
graft.scm
gremlin.scm
guile-build-system.scm
haskell-build-system.scm build-system/haskell: Do not pass "--bindir" during configure. 2020-08-13 16:44:56 +02:00
hg.scm svn-download, hg-download: Use 'report-invoke-error'. 2020-10-10 22:37:45 +02:00
java-utils.scm guix: java-utils: Add Maven-related phases. 2020-07-17 04:10:28 +02:00
json.scm
julia-build-system.scm build-system/julia: Don't rely on file name to set module name. 2021-01-30 15:36:56 +01:00
linux-module-build-system.scm build-system: linux-module: Allow passing #:make-flags argument. 2020-06-02 14:22:32 +02:00
lisp-utils.scm build-system: asdf: Switch from bundles to regular compilation. 2020-09-12 11:18:56 +02:00
make-bootstrap.scm
maven-build-system.scm build/maven-build-system: Return #t in fix-pom-files phase. 2020-10-26 21:36:09 +01:00
meson-build-system.scm
minify-build-system.scm build: minify-build-system: Fail to install empty files. 2020-05-18 09:52:47 +03:00
node-build-system.scm guix: node-build-system: Do not symlink /bin. 2020-02-25 00:27:09 +01:00
ocaml-build-system.scm
perl-build-system.scm
po.scm po: Micro-optimize 'read-po-file'. 2020-06-23 00:03:08 +02:00
profiles.scm profiles: Fix typo in manifest comment. 2021-02-22 23:42:08 +01:00
python-build-system.scm
qt-build-system.scm guix: qt-build-system: Add phase check-setup. 2020-01-28 13:03:08 +01:00
qt-utils.scm guix: Fix wrap-qt-program. 2019-11-26 12:31:39 +01:00
r-build-system.scm
rakudo-build-system.scm
renpy-build-system.scm guix: renpy-build-system: Quote data directory. 2021-02-24 00:37:37 +01:00
rpath.scm
ruby-build-system.scm
scons-build-system.scm
store-copy.scm guix system: 'init' copies, resets timestamps, and deduplicates at once. 2020-12-15 17:32:11 +01:00
svn.scm svn-download, hg-download: Use 'report-invoke-error'. 2020-10-10 22:37:45 +02:00
syscalls.scm syscalls: mounts: Fix a matching bug. 2021-03-15 21:22:43 -07:00
texlive-build-system.scm
union.scm
utils.scm utils: Change 'patch-shebang' to not try to patch Rust source files. 2020-02-17 16:52:55 +01:00
waf-build-system.scm