Merge pull request #201101 from Uthar/lisp-mark-broken-packages

fixes https://github.com/NixOS/nixpkgs/issues/201094

authored by Martin Weinelt and committed by GitHub e43733bb 7a566a73

+136 -5
+27 -1
pkgs/development/lisp-modules-new/import/database/sqlite.lisp
··· 71 71 72 72 in {") 73 73 74 + ;; Random compilation errors 75 + (defparameter +broken-packages+ 76 + (list 77 + ;; no dispatch function defined for #\t 78 + "hu.dwim.logger" 79 + "hu.dwim.serializer" 80 + "hu.dwim.quasi-quote" 81 + ;; Tries to write in $HOME 82 + "ubiquitous" 83 + "math" 84 + ;; Upstream bad packaging, multiple systems in clml.blas.asd 85 + "clml.blas.hompack" 86 + ;; Fails on SBCL due to heap exhaustion 87 + "magicl" 88 + ;; Probably missing dependency in QL data 89 + "mcclim-bezier" 90 + ;; Missing dependency on c2ffi cffi extension 91 + "hu.dwim.zlib" 92 + ;; Missing libgvc.so native library 93 + "hu.dwim.graphviz" 94 + ;; These require libRmath.so, but I don't know where to get it from 95 + "cl-random" 96 + "cl-random-tests" 97 + )) 98 + 74 99 (defmethod database->nix-expression ((database sqlite-database) outfile) 75 100 (sqlite:with-open-database (db (database-url database)) 76 101 (with-open-file (f outfile ··· 131 156 (remove "asdf" 132 157 (str:split-omit-nulls #\, deps) 133 158 :test #'string=)))) 134 - ,@(when (find #\/ name) 159 + ,@(when (or (find #\/ name) 160 + (find name +broken-packages+ :test #'string=)) 135 161 '(("meta" (:attrs ("broken" (:symbol "true")))))))))))) 136 162 (format f "~%}~%"))))
+33 -4
pkgs/development/lisp-modules-new/imported.nix
··· 20457 20457 }); 20458 20458 systems = [ "cl-random" ]; 20459 20459 lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "anaphora" pkgs) (getAttr "array-operations" pkgs) (getAttr "cl-num-utils" pkgs) (getAttr "cl-rmath" pkgs) (getAttr "cl-slice" pkgs) (getAttr "gsll" pkgs) (getAttr "let-plus" pkgs) (getAttr "lla" pkgs) ]; 20460 + meta = { 20461 + broken = true; 20462 + }; 20460 20463 }; 20461 20464 cl-random-forest = { 20462 20465 pname = "cl-random-forest"; ··· 20496 20499 }); 20497 20500 systems = [ "cl-random-tests" ]; 20498 20501 lispLibs = [ (getAttr "cl-random" pkgs) (getAttr "clunit" pkgs) ]; 20502 + meta = { 20503 + broken = true; 20504 + }; 20499 20505 }; 20500 20506 cl-rdfxml = { 20501 20507 pname = "cl-rdfxml"; ··· 25092 25098 }); 25093 25099 systems = [ "clml.blas.hompack" ]; 25094 25100 lispLibs = [ (getAttr "f2cl-lib" pkgs) ]; 25101 + meta = { 25102 + broken = true; 25103 + }; 25095 25104 }; 25096 25105 clml_dot_blas_dot_real = { 25097 25106 pname = "clml.blas.real"; ··· 36543 36552 }); 36544 36553 systems = [ "gsll" ]; 36545 36554 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) ]; 36546 - meta = { 36547 - # needs "nativeLibs=nixpkgs.gsl" for libgslcblas.so and a way to set CFLAGS="-I gsl/include" or something similar 36548 - broken = true; 36549 - }; 36550 36555 }; 36551 36556 gt = { 36552 36557 pname = "gt"; ··· 37991 37996 }); 37992 37997 systems = [ "hu.dwim.graphviz" ]; 37993 37998 lispLibs = [ (getAttr "cffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) (getAttr "metabang-bind" pkgs) ]; 37999 + meta = { 38000 + broken = true; 38001 + }; 37994 38002 }; 37995 38003 hu_dot_dwim_dot_graphviz_dot_documentation = { 37996 38004 pname = "hu.dwim.graphviz.documentation"; ··· 38030 38038 }); 38031 38039 systems = [ "hu.dwim.logger" ]; 38032 38040 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) ]; 38041 + meta = { 38042 + broken = true; 38043 + }; 38033 38044 }; 38034 38045 hu_dot_dwim_dot_logger_plus_iolib = { 38035 38046 pname = "hu.dwim.logger+iolib"; ··· 38381 38392 }); 38382 38393 systems = [ "hu.dwim.quasi-quote" ]; 38383 38394 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) ]; 38395 + meta = { 38396 + broken = true; 38397 + }; 38384 38398 }; 38385 38399 hu_dot_dwim_dot_quasi-quote_dot_css = { 38386 38400 pname = "hu.dwim.quasi-quote.css"; ··· 38718 38732 }); 38719 38733 systems = [ "hu.dwim.serializer" ]; 38720 38734 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) ]; 38735 + meta = { 38736 + broken = true; 38737 + }; 38721 38738 }; 38722 38739 hu_dot_dwim_dot_serializer_dot_documentation = { 38723 38740 pname = "hu.dwim.serializer.documentation"; ··· 39379 39396 }); 39380 39397 systems = [ "hu.dwim.zlib" ]; 39381 39398 lispLibs = [ (getAttr "alexandria" pkgs) (getAttr "cffi" pkgs) (getAttr "cffi-libffi" pkgs) (getAttr "hu_dot_dwim_dot_asdf" pkgs) ]; 39399 + meta = { 39400 + broken = true; 39401 + }; 39382 39402 }; 39383 39403 hu_dot_dwim_dot_zlib_slash_fancy = { 39384 39404 pname = "hu.dwim.zlib_fancy"; ··· 47305 47325 }); 47306 47326 systems = [ "math" ]; 47307 47327 lispLibs = [ (getAttr "cl-utilities" pkgs) (getAttr "font-discovery" pkgs) (getAttr "gsll" pkgs) (getAttr "vgplot" pkgs) ]; 47328 + meta = { 47329 + broken = true; 47330 + }; 47308 47331 }; 47309 47332 math_slash_appr = { 47310 47333 pname = "math_appr"; ··· 47717 47740 }); 47718 47741 systems = [ "mcclim-bezier" ]; 47719 47742 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) ]; 47743 + meta = { 47744 + broken = true; 47745 + }; 47720 47746 }; 47721 47747 mcclim-bezier_slash_clx = { 47722 47748 pname = "mcclim-bezier_clx"; ··· 68823 68849 }); 68824 68850 systems = [ "ubiquitous" ]; 68825 68851 lispLibs = [ ]; 68852 + meta = { 68853 + broken = true; 68854 + }; 68826 68855 }; 68827 68856 ubiquitous-concurrent = { 68828 68857 pname = "ubiquitous-concurrent";
+16
pkgs/development/lisp-modules-new/patches/cl-freetype2-fix-grovel-includes.patch
··· 1 + --- a/src/ffi/grovel/grovel-freetype.h 2 + +++ b/src/ffi/grovel/grovel-freetype.h 3 + @@ -2,7 +2,7 @@ 4 + #include <ft2build.h> 5 + #include FT_FREETYPE_H 6 + 7 + -#include <ftsystem.h> 8 + -#include <fttypes.h> 9 + -#include <ftlist.h> 10 + -#include <ftimage.h> 11 + +#include <freetype/ftsystem.h> 12 + +#include <freetype/fttypes.h> 13 + +#include <freetype/ftlist.h> 14 + +#include <freetype/ftimage.h> 15 + 16 + Diff finished. Mon Nov 14 22:41:57 2022
+60
pkgs/development/lisp-modules-new/ql.nix
··· 19 19 cl-cffi-gtk-cairo = pkg: { 20 20 nativeLibs = [ cairo ]; 21 21 }; 22 + cl-cairo2 = pkg: { 23 + nativeLibs = [ cairo ]; 24 + }; 25 + cl-cairo2-xlib = pkg: { 26 + nativeLibs = [ gtk2-x11 ]; 27 + }; 28 + cl-freetype2 = pkg: { 29 + nativeLibs = [ freetype ]; 30 + nativeBuildInputs = [ freetype ]; 31 + patches = [ ./patches/cl-freetype2-fix-grovel-includes.patch ]; 32 + }; 33 + cl-pango = pkg: { 34 + nativeLibs = [ pango ]; 35 + }; 36 + cl-gtk2-gdk = pkg: { 37 + nativeLibs = [ gtk2-x11 ]; 38 + }; 39 + cl-gtk2-glib = pkg: { 40 + nativeLibs = [ glib ]; 41 + }; 42 + cl-gtk2-pango = pkg: { 43 + nativeLibs = [ pango ]; 44 + }; 45 + cl-rsvg2 = pkg: { 46 + nativeLibs = [ librsvg ]; 47 + }; 22 48 cl-cffi-gtk-gdk = pkg: { 23 49 nativeLibs = [ gtk3 ]; 24 50 }; ··· 129 155 nativeBuildInputs = [ libfixposix ]; 130 156 nativeLibs = [ libfixposix ]; 131 157 systems = [ "iolib" "iolib/os" "iolib/pathnames" ]; 158 + }; 159 + "cl-ana.hdf-cffi" = pkg: { 160 + nativeBuildInputs = [ pkgs.hdf5 ]; 161 + nativeLibs = [ pkgs.hdf5 ]; 162 + NIX_LDFLAGS = [ "-lhdf5" ]; 163 + }; 164 + gsll = pkg: { 165 + nativeBuildInputs = [ pkgs.gsl ]; 166 + nativeLibs = [ pkgs.gsl ]; 167 + }; 168 + cl-libyaml = pkg: { 169 + nativeLibs = [ pkgs.libyaml ]; 170 + }; 171 + cl-libxml2 = pkg: { 172 + nativeLibs = [ pkgs.libxml2 ]; 173 + }; 174 + cl-readline = pkg: { 175 + nativeLibs = [ pkgs.readline ]; 176 + }; 177 + pzmq = pkg: { 178 + nativeBuildInputs = [ pkgs.zeromq ]; 179 + nativeLibs = [ pkgs.zeromq ]; 180 + }; 181 + pzmq-compat = pkg: { 182 + nativeBuildInputs = [ pkgs.zeromq ]; 183 + nativeLibs = [ pkgs.zeromq ]; 184 + }; 185 + pzmq-examples = pkg: { 186 + nativeBuildInputs = [ pkgs.zeromq ]; 187 + nativeLibs = [ pkgs.zeromq ]; 188 + }; 189 + pzmq-test = pkg: { 190 + nativeBuildInputs = [ pkgs.zeromq ]; 191 + nativeLibs = [ pkgs.zeromq ]; 132 192 }; 133 193 }; 134 194