[PATCH ruby-team 0/1] Fix broken packages.

  • Done
  • quality assurance status badge
Details
2 participants
  • Nicolas Graves
  • Sharlatan Hellseher
Owner
unassigned
Submitted by
Nicolas Graves
Severity
normal

Debbugs page

N
N
Nicolas Graves wrote on 17 Feb 16:21 -0800
(address . guix-patches@gnu.org)
20250218003038.22629-1-ngraves@ngraves.fr
Hi!

This is according to [1] one of the last remaining ruby-team broken
packages, which is quite encouraging!

There are only two ruby-related other failures :
1. ruby-hydra : IIRC, this has no know fix other than disabling tests
and lowering the ruby version (which is what its working minimal
version does).
2. ruby-puma: I can build the package locally. Online, the only
failing test is
TestIntegrationSingle#test_hot_restart_does_not_drop_connections_threads
so the most probable is that it is a flaky test, or that we don't have
enough resources to run the test on the server. I'm not sure what's
the recommended process in this case, because we already have code for
more ressources during the test phase.

Other new failures include skktools, cawbird and cozy, but it looks
unrelated.


Nicolas Graves (1):
gnu: ruby-terminfo: Update to 0.2-0.f4a597d.

gnu/packages/ruby.scm | 81 ++++++++++++++++++++++---------------------
1 file changed, 42 insertions(+), 39 deletions(-)

--
2.48.1
N
N
Nicolas Graves wrote on 17 Feb 16:33 -0800
[PATCH] gnu: ruby-terminfo: Update to 0.2-0.f4a597d.
(address . 76380@debbugs.gnu.org)
20250218003357.23729-1-ngraves@ngraves.fr
* gnu/packages/ruby.scm (ruby-terminfo): Update to 0.2-0.f4a597d.
---
gnu/packages/ruby.scm | 81 ++++++++++++++++++++++---------------------
1 file changed, 42 insertions(+), 39 deletions(-)

Toggle diff (94 lines)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 46b48e94ec..3b484e5d56 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13616,45 +13616,48 @@ (define-public ruby-sass-listen
(license license:expat)))
(define-public ruby-terminfo
- (package
- (name "ruby-terminfo")
- (version "0.2")
- (source
- (origin
- (method url-fetch)
- (uri (string-append
- "http://www.a-k-r.org/" name "/" name "-" version ".tar.gz"))
- (sha256
- (base32
- "1n59dw351z6nzylgj0gpx4rpz6qhf8lrhzcbp1xqfpqvryhaxrjh"))))
- (build-system ruby-build-system)
- (arguments
- (list
- #:test-target "test"
- #:phases
- #~(modify-phases %standard-phases
- (delete 'replace-git-ls-files)
- (replace 'build
- (lambda _
- (invoke "ruby" "extconf.rb")
- (invoke "make")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (for-each (lambda (f)
- (invoke "ruby" "-I" "test" f))
- (find-files "test" "^test_.*\\.rb$")))))
- (replace 'install
- (lambda _
- (invoke "make" "install" (string-append "prefix=" #$output)))))))
- (inputs
- (list ncurses))
- (native-inputs
- (list ruby-rubygems-tasks ruby-rdoc))
- (home-page "http://www.a-k-r.org/ruby-terminfo/")
- (synopsis "Terminfo binding for Ruby")
- (description "Ruby-terminfo provides terminfo binding for Ruby.")
- (license license:bsd-3)))
+ (let ((commit "f4a597d92dcc465e7b343f9afb8cd45607c8e969")
+ (revision "0"))
+ (package
+ (name "ruby-terminfo")
+ (version (git-version "0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/genki/ruby-terminfo")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0b24sqf0jwj8m106nh35hjayw1kiyrpramb6vg7fnz32mqni6hdi"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'replace-git-ls-files)
+ (replace 'build
+ (lambda _
+ (invoke "ruby" "extconf.rb")
+ (invoke "make")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (for-each (lambda (f)
+ (invoke "ruby" "-Ilib:test" "-Ilib:." f))
+ (find-files "test" "^test_.*\\.rb$")))))
+ (replace 'install
+ (lambda _
+ (invoke "make" "install" (string-append "prefix=" #$output)))))))
+ (inputs
+ (list ncurses))
+ (native-inputs
+ (list ruby-rubygems-tasks ruby-rdoc))
+ (home-page "http://www.a-k-r.org/ruby-terminfo/")
+ (synopsis "Terminfo binding for Ruby")
+ (description "Ruby-terminfo provides terminfo binding for Ruby.")
+ (license license:bsd-3))))
(define-public ruby-diffy
(package
--
2.48.1
S
S
Sharlatan Hellseher wrote on 18 Feb 15:01 -0800
[PATCH ruby-team 0/1] Fix broken packages.
(address . 76380-done@debbugs.gnu.org)
874j0qc0wy.fsf@gmail.com
Hi,

Pushed to ruby-team with some other fixes.

---
Oleg
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAme1EV0ACgkQdtcnv/Ys
0rVzlA/7BNoABuy9jIdHRznXVgLrcjS3JJ/cMCQbJQXFDnCpcByby/ZFAG3p5VlU
mzWs0jI1vmQ79EUnxvJr+8aw2gyfXYBo09FjiVCbcXPsexxqU7NIizdxW5Y/wAaA
aUabw1pXNRz7vi3lkuiOumH53jXWSwm571/1ZPLVPO9FC2aLXMWevjz26apw5bTk
hDk8EdDDMlmK3+MRHgNQ+jKRkROLqFckrgB3Z0KLxsPThYe2HtIq3deyvbi0vt9s
Uv5S8A/rBuxHpflPhQPKcmJ7eR2XOeaw8zXo1uQ1a8GFwGn7Kazt33XLcvRRs+Yd
OxzefadH9b50D7rG9SikEJjoOdFcG0vLvChLdHEphbyFp7yH69J+Jf1BVKmpCESD
5onnQRW8vgaWqF3J5CK/xr0KpLewVYSneDt+UharM+75rwL+aAvEmCYcf+rJ9VRs
OLHjriOKoY7b+mWpwYcxEoPp1Hq6DuwnpXL502HTBWRO87a+jlj++JVPdt8vDnfu
XU2PWdjwi90BNu6bMBICNmbYRHTxfvN0oqq511CSUgy92yvSRZioQXgBA4cba1Ij
IqeStZtZg4mhFbcjDetsnQBl4FbMGhVldXHQkaJoZ71fv4B832ehP2ZiSqjAQA0P
IvGHbDUvbmB7IA4Sl+1hlNmhaJZHJEJXheHDnYSeduiAO/UxLHY=
=050g
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 76380@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 76380
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch