sbclPackages: mark some failing packages as broken

This commit is contained in:
Kasper Gałkowski 2022-11-14 00:47:45 +01:00
parent 242c648f95
commit 8ba634bb13
2 changed files with 52 additions and 5 deletions

View file

@ -71,6 +71,29 @@ getAttr = builtins.getAttr;
in {") in {")
;; Random compilation errors
(defparameter +broken-packages+
(list
;; no dispatch function defined for #\t
"hu.dwim.logger"
"hu.dwim.serializer"
"hu.dwim.quasi-quote"
;; Tries to write in $HOME
"ubiquitous"
;; Upstream bad packaging, multiple systems in clml.blas.asd
"clml.blas.hompack"
;; Fails on SBCL due to heap exhaustion
"magicl"
;; Probably missing dependency in QL data
"mcclim-bezier"
;; Missing dependency on c2ffi cffi extension
"hu.dwim.zlib"
;; Missing libgvc.so native library
"hu.dwim.graphviz"
;; Missing zmq.h C header
"pzmq"
))
(defmethod database->nix-expression ((database sqlite-database) outfile) (defmethod database->nix-expression ((database sqlite-database) outfile)
(sqlite:with-open-database (db (database-url database)) (sqlite:with-open-database (db (database-url database))
(with-open-file (f outfile (with-open-file (f outfile
@ -131,6 +154,7 @@ in {")
(remove "asdf" (remove "asdf"
(str:split-omit-nulls #\, deps) (str:split-omit-nulls #\, deps)
:test #'string=)))) :test #'string=))))
,@(when (find #\/ name) ,@(when (or (find #\/ name)
(find name +broken-packages+ :test #'string=))
'(("meta" (:attrs ("broken" (:symbol "true")))))))))))) '(("meta" (:attrs ("broken" (:symbol "true"))))))))))))
(format f "~%}~%")))) (format f "~%}~%"))))

View file

@ -25092,6 +25092,9 @@ in {
}); });
systems = [ "clml.blas.hompack" ]; systems = [ "clml.blas.hompack" ];
lispLibs = [ (getAttr "f2cl-lib" pkgs) ]; lispLibs = [ (getAttr "f2cl-lib" pkgs) ];
meta = {
broken = true;
};
}; };
clml_dot_blas_dot_real = { clml_dot_blas_dot_real = {
pname = "clml.blas.real"; pname = "clml.blas.real";
@ -36543,10 +36546,6 @@ in {
}); });
systems = [ "gsll" ]; systems = [ "gsll" ];
lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "foreign-array" pkgs) (getAttr "cffi-grovel" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "lisp-unit" pkgs) (getAttr "metabang-bind" pkgs) (getAttr "trivial-features" pkgs) (getAttr "trivial-garbage" pkgs) ]; lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "foreign-array" pkgs) (getAttr "cffi-grovel" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "lisp-unit" pkgs) (getAttr "metabang-bind" pkgs) (getAttr "trivial-features" pkgs) (getAttr "trivial-garbage" pkgs) ];
meta = {
# needs "nativeLibs=nixpkgs.gsl" for libgslcblas.so and a way to set CFLAGS="-I gsl/include" or something similar
broken = true;
};
}; };
gt = { gt = {
pname = "gt"; pname = "gt";
@ -37991,6 +37990,9 @@ in {
}); });
systems = [ "hu.dwim.graphviz" ]; systems = [ "hu.dwim.graphviz" ];
lispLibs = [ (getAttr "cffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "metabang-bind" pkgs) ]; lispLibs = [ (getAttr "cffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "metabang-bind" pkgs) ];
meta = {
broken = true;
};
}; };
hu_dot_dwim_dot_graphviz_dot_documentation = { hu_dot_dwim_dot_graphviz_dot_documentation = {
pname = "hu.dwim.graphviz.documentation"; pname = "hu.dwim.graphviz.documentation";
@ -38030,6 +38032,9 @@ in {
}); });
systems = [ "hu.dwim.logger" ]; systems = [ "hu.dwim.logger" ];
lispLibs = [ (getAttr "bordeaux-threads" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_def_plus_hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "local-time" pkgs) ]; lispLibs = [ (getAttr "bordeaux-threads" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_def_plus_hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "local-time" pkgs) ];
meta = {
broken = true;
};
}; };
hu_dot_dwim_dot_logger_plus_iolib = { hu_dot_dwim_dot_logger_plus_iolib = {
pname = "hu.dwim.logger+iolib"; pname = "hu.dwim.logger+iolib";
@ -38381,6 +38386,9 @@ in {
}); });
systems = [ "hu.dwim.quasi-quote" ]; systems = [ "hu.dwim.quasi-quote" ];
lispLibs = [ (getAttr "babel" pkgs) (getAttr "babel-streams" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "hu_dot_dwim_dot_walker" pkgs) ]; lispLibs = [ (getAttr "babel" pkgs) (getAttr "babel-streams" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_defclass-star_plus_hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) (getAttr "hu_dot_dwim_dot_walker" pkgs) ];
meta = {
broken = true;
};
}; };
hu_dot_dwim_dot_quasi-quote_dot_css = { hu_dot_dwim_dot_quasi-quote_dot_css = {
pname = "hu.dwim.quasi-quote.css"; pname = "hu.dwim.quasi-quote.css";
@ -38718,6 +38726,9 @@ in {
}); });
systems = [ "hu.dwim.serializer" ]; systems = [ "hu.dwim.serializer" ];
lispLibs = [ (getAttr "babel" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) ]; lispLibs = [ (getAttr "babel" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "hu_dot_dwim_dot_common" pkgs) (getAttr "hu_dot_dwim_dot_def" pkgs) (getAttr "hu_dot_dwim_dot_syntax-sugar" pkgs) (getAttr "hu_dot_dwim_dot_util" pkgs) ];
meta = {
broken = true;
};
}; };
hu_dot_dwim_dot_serializer_dot_documentation = { hu_dot_dwim_dot_serializer_dot_documentation = {
pname = "hu.dwim.serializer.documentation"; pname = "hu.dwim.serializer.documentation";
@ -39379,6 +39390,9 @@ in {
}); });
systems = [ "hu.dwim.zlib" ]; systems = [ "hu.dwim.zlib" ];
lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "cffi" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) ]; lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "cffi" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) ];
meta = {
broken = true;
};
}; };
hu_dot_dwim_dot_zlib_slash_fancy = { hu_dot_dwim_dot_zlib_slash_fancy = {
pname = "hu.dwim.zlib_fancy"; pname = "hu.dwim.zlib_fancy";
@ -47717,6 +47731,9 @@ in {
}); });
systems = [ "mcclim-bezier" ]; systems = [ "mcclim-bezier" ];
lispLibs = [ (getAttr "flexichain" pkgs) (getAttr "clim" pkgs) (getAttr "clim-pdf" pkgs) (getAttr "clim-postscript" pkgs) (getAttr "mcclim-clx" pkgs) (getAttr "mcclim-null" pkgs) (getAttr "mcclim-render" pkgs) ]; lispLibs = [ (getAttr "flexichain" pkgs) (getAttr "clim" pkgs) (getAttr "clim-pdf" pkgs) (getAttr "clim-postscript" pkgs) (getAttr "mcclim-clx" pkgs) (getAttr "mcclim-null" pkgs) (getAttr "mcclim-render" pkgs) ];
meta = {
broken = true;
};
}; };
mcclim-bezier_slash_clx = { mcclim-bezier_slash_clx = {
pname = "mcclim-bezier_clx"; pname = "mcclim-bezier_clx";
@ -57402,6 +57419,9 @@ in {
}); });
systems = [ "pzmq" ]; systems = [ "pzmq" ];
lispLibs = [ (getAttr "cffi" pkgs) (getAttr "cffi-grovel" pkgs) ]; lispLibs = [ (getAttr "cffi" pkgs) (getAttr "cffi-grovel" pkgs) ];
meta = {
broken = true;
};
}; };
pzmq-compat = { pzmq-compat = {
pname = "pzmq-compat"; pname = "pzmq-compat";
@ -68823,6 +68843,9 @@ in {
}); });
systems = [ "ubiquitous" ]; systems = [ "ubiquitous" ];
lispLibs = [ ]; lispLibs = [ ];
meta = {
broken = true;
};
}; };
ubiquitous-concurrent = { ubiquitous-concurrent = {
pname = "ubiquitous-concurrent"; pname = "ubiquitous-concurrent";