|
Lines 105-111
Link Here
|
| 105 |
elif grep -qE 'chown:.*invalid argument' $1; then |
115 |
elif grep -qE 'chown:.*invalid argument' $1; then |
| 106 |
reason="chown"; tag="chown" |
116 |
reason="chown"; tag="chown" |
| 107 |
elif grep -q 'install: .*: No such file' $1; then |
117 |
elif grep -q 'install: .*: No such file' $1; then |
| 108 |
reason="install_error"; tag="install" |
118 |
if grep -q 'install: /usr/local/www/cgi-bin.*No such file or directory' $1; then |
|
|
119 |
reason="cgi-bin"; tag="cgi-bin" |
| 120 |
else |
| 121 |
reason="install_error"; tag="install" |
| 122 |
fi |
| 109 |
elif grep -q "/usr/.*/man/.*: No such file or directory" $1; then |
123 |
elif grep -q "/usr/.*/man/.*: No such file or directory" $1; then |
| 110 |
reason="manpage"; tag="manpage" |
124 |
reason="manpage"; tag="manpage" |
| 111 |
elif grep -q "pkg_create: make_dist: tar command failed with code" $1; then |
125 |
elif grep -q "pkg_create: make_dist: tar command failed with code" $1; then |
|
Lines 128-136
Link Here
|
| 128 |
reason="stdio"; tag="stdio" |
142 |
reason="stdio"; tag="stdio" |
| 129 |
elif grep -q "structure has no member named" $1; then |
143 |
elif grep -q "structure has no member named" $1; then |
| 130 |
reason="struct_changes"; tag="struct" |
144 |
reason="struct_changes"; tag="struct" |
|
|
145 |
|
| 146 |
elif grep -q "Error: alignment not a power of 2" $1; then |
| 147 |
reason="alignment"; tag="alignment" |
| 148 |
elif grep -qE "bin.apxs:(.)(not found|No such file or directory)" $1; then |
| 149 |
reason="apxs"; tag="apxs" |
| 150 |
elif grep -q "failed to exec .*bin/apxs" $1; then |
| 151 |
reason="apxs"; tag="apxs" |
| 152 |
elif grep -qE "autoconf(.*): not found" $1; then |
| 153 |
reason="autoconf"; tag="autoconf" |
| 154 |
elif grep -qE "autoconf(.*): No such file or directory" $1; then |
| 155 |
reason="autoconf"; tag="autoconf" |
| 156 |
elif grep -q "autoheader: not found" $1; then |
| 157 |
reason="autoheader"; tag="autoheader" |
| 158 |
elif grep -q "awk: empty regular expression" $1; then |
| 159 |
reason="awk"; tag="awk" |
| 160 |
elif grep -qE "(mv:|mv: rename|cannot open) y.tab.c(.*): No such file or directory" $1; then |
| 161 |
reason="bison"; tag="bison" |
| 162 |
elif grep -q "sorry, cannot determine the header file bison generates" $1; then |
| 163 |
reason="bison"; tag="bison" |
| 164 |
elif grep -qE "make.*: (don.t know how to make|.*No rule to make target).*built-in" $1; then |
| 165 |
reason="built-in"; tag="built-in" |
| 166 |
elif grep -q "/usr/local/www/cgi-bin does not exist" $1; then |
| 167 |
reason="cgi-bin"; tag="cgi-bin" |
| 168 |
elif grep -qE "chown: .*\..*: Invalid argument" $1; then |
| 169 |
reason="chown"; tag="chown" |
| 170 |
elif grep -q "Cannot open /dev/tty for read" $1; then |
| 171 |
reason="DISPLAY"; tag="DISPLAY" |
| 172 |
elif grep -q "RuntimeError: cannot open display" $1; then |
| 173 |
reason="DISPLAY"; tag="DISPLAY" |
| 174 |
elif grep -q "You must run this program under the X-Window System" $1; then |
| 175 |
reason="DISPLAY"; tag="DISPLAY" |
| 176 |
elif grep -q "ld: unrecognised emulation mode: elf_i386" $1; then |
| 177 |
reason="ELF"; tag="elf" |
| 178 |
elif grep -q "fetch: transfer timed out" $1; then |
| 179 |
reason="fetch_timeout"; tag="fetch-timeout" |
| 180 |
elif grep -q "strings.h:.* previous declaration of .int ffs" $1; then |
| 181 |
reason="ffs_conflict"; tag="ffs_conflict" |
| 182 |
elif grep -qE "cc: ndbm\.so: No such file or directory" $1; then |
| 183 |
reason="linker_error"; tag="ld" |
| 184 |
elif grep -q "error: The X11 shared library could not be loaded" $1; then |
| 185 |
reason="linker_error"; tag="ld" |
| 186 |
elif grep -q "cc: .*libintl.*: No such file or directory" $1; then |
| 187 |
reason="linker_error"; tag="ld" |
| 188 |
elif grep -q "Error: mtree file ./etc/mtree/BSD.local.dist. is missing" $1; then |
| 189 |
reason="mtree"; tag="mtree" |
| 190 |
elif grep -qE "cp:.*site_perl: No such file or directory" $1; then |
| 191 |
reason="perl"; tag="perl" |
| 192 |
elif grep -q "Perl .* required--this is only version" $1; then |
| 193 |
reason="perl"; tag="perl" |
| 194 |
elif grep -q "pod2man: not found" $1; then |
| 195 |
reason="pod2man"; tag="pod2man" |
| 196 |
elif grep -q "python: not found" $1; then |
| 197 |
reason="python"; tag="python" |
| 198 |
elif grep -qE "sed: illegal option" $1; then |
| 199 |
reason="sed"; tag="sed" |
| 200 |
elif grep -qE "sed: [0-9]*:.*(RE error:|not defined in the RE|bad flag in substitute command|unescaped newline inside substitute pattern|invalid command code)" $1; then |
| 201 |
reason="sed"; tag="sed" |
| 202 |
elif grep -q "Your STL string implementation is unusable" $1; then |
| 203 |
reason="stl"; tag="stl" |
| 204 |
elif grep -q "/usr/bin/ld: cannot find -lXThrStub" $1; then |
| 205 |
reason="threads"; tag="threads" |
| 206 |
|
| 131 |
else |
207 |
else |
| 132 |
reason="???"; tag="unknown" |
208 |
reason="???"; tag="unknown" |
| 133 |
fi |
209 |
fi |
|
|
210 |
|
| 134 |
broken="no" |
211 |
broken="no" |
| 135 |
if grep -q "Trying build of .* even though it is marked BROKEN" $1; then |
212 |
if grep -q "Trying build of .* even though it is marked BROKEN" $1; then |
| 136 |
broken="broken" |
213 |
broken="broken" |