summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-25 17:33:12 +0100
committerErich Eckner <git@eckner.net>2021-03-25 17:33:12 +0100
commit63cefda412db1351ebe3c6e21249711100e84ec6 (patch)
tree11e2ed4e8c428c288348f8a42e319b33b8628578 /bin
parent4d554fb634b4f4c16bc5912af697476595326986 (diff)
downloadbuilder-63cefda412db1351ebe3c6e21249711100e84ec6.tar.xz
bin/return-assignment: find gold linker errors regarding haskell, too
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index a0cbbbb..cc70da7 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -299,6 +299,7 @@ if [ "$6" = 'ERROR' ]; then
printf '%s\n' \
'The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.' \
'mismatched interface file versions (wanted ' \
+ ': error: cannot find -lHS' \
)" {} \; \
-printf '%p\n' | \
sed '
@@ -340,6 +341,8 @@ if [ "$6" = 'ERROR' ]; then
t
s@^\s*It is a member of the package ‘\(\S\+\)\(-[^-]\+\)\{2\}’\s*$@\1@
t
+ s@^\S\+: error: cannot find -lHS\(\S\+\)\(-[^-[:space:]]\+\)\{2\}-ghc\S\+\s*$@\1@
+ t
d
' | \
tr ' ' '\n' | \