racket/racket-doc.patch
Fred Fu 3170f77f5e Accepting request 1169536 from home:cboltz:branches:devel:languages:misc
- add mzdyn3m.o which gets built on s390x (possibly replacing mzdyn3m.lo)

This time I even have a successful build :-) (see openSUSE_Factory_zSystems)


As a side note: there is a very long time in the build without any output:

[   13s] cc -O2 -DZUO_LIB_PATH='"'".././zuo/lib"'"' -o bin/zuo ./zuo/zuo.c
[ 9616s] bin/zuo . all MAKE="/usr/bin/make"

Depending on the load on the mainframe, this time can even be longer, and causes the build to abort because there's no output for a very long time.

From the openSUSE_Factory / s390x build log (which seems to have a shorter timeout of "only" 90 minutes):

[   12s] cc -O2 -DZUO_LIB_PATH='"'".././zuo/lib"'"' -o bin/zuo ./zuo/zuo.c
[ 5417s] qemu-system-s390x: terminating on signal 15 from pid 99276 (<unknown process>)

If there is a way to make that cc call faster and/or more verbose, please do it ;-)

OBS-URL: https://build.opensuse.org/request/show/1169536
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=86
2024-06-04 15:15:25 +00:00

17 lines
680 B
Diff

---
share/pkgs/scribble-lib/help/search.rkt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- share/pkgs/scribble-lib/help/search.rkt
+++ share/pkgs/scribble-lib/help/search.rkt
@@ -47,7 +47,8 @@
;; Doesn't exist, but notify and then fall back below:
(build-path (find-doc-dir) sub)))
(notify path)
- (if (file-exists? path)
+ (if (and (file-exists? path)
+ (file-exists? (build-path (find-doc-dir) "docindex.sqlite")))
(send-url/file path #:fragment fragment #:query query)
(let ([part (lambda (pfx x) (if x (string-append pfx x) ""))])
(send-url (string-append