Package: guix;
Reported by: Ségolène Métais <segolene.metais <at> gmail.com>
Date: Tue, 9 Aug 2022 17:07:01 UTC
Severity: normal
Done: Ségolène Métais <segolene.metais <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57083 in the body.
You can then email your comments to 57083 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-guix <at> gnu.org:bug#57083; Package guix.
(Tue, 09 Aug 2022 17:07:01 GMT) Full text and rfc822 format available.Ségolène Métais <segolene.metais <at> gmail.com>:bug-guix <at> gnu.org.
(Tue, 09 Aug 2022 17:07:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Ségolène Métais <segolene.metais <at> gmail.com> To: bug-guix <at> gnu.org Subject: Jekyll is unusable Date: Tue, 9 Aug 2022 16:36:26 +0000
[Message part 1 (text/plain, inline)]
Hi, here is the issue with Jekyll :
sego <at> pluto ~$ guix describe
Génération 145 08 août 2022 14:09:22 (actuelle)
guix ec6499a
URL du dépôt : https://git.savannah.gnu.org/git/guix.git
branche : master
commit : ec6499aad231b8a5991f38c1ec982be4b3598837
sego <at> pluto ~/job/site/www$ guix shell jekyll ruby -- jekyll new testdir
--force
Running bundle install in /home/sego/job/site/www/testdir...
Bundler: --- ERROR REPORT TEMPLATE
-------------------------------------------------------
Bundler:
Bundler: ```
Bundler: Errno::EROFS: Read-only file system @ rb_sysopen -
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/gems/3.1.0/bundler.lock
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/process_lock.rb:9:in
`initialize'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/process_lock.rb:9:in
`open'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/process_lock.rb:9:in
`lock'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/installer.rb:71:in
`run'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/installer.rb:23:in
`install'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/cli/install.rb:62:in
`run'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/cli.rb:255:in
`block in install'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/settings.rb:131:in
`temporary'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/cli.rb:254:in
`install'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in
`run'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in
`dispatch'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/cli.rb:31:in
`dispatch'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in
`start'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/cli.rb:25:in
`start'
Bundler:
/gnu/store/30llcsghdk6ycdr2738shysnj473hfnj-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:46:in
`block in <main>'
Bundler:
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/3.1.0/bundler/friendly_errors.rb:103:in
`with_friendly_errors'
Bundler:
/gnu/store/30llcsghdk6ycdr2738shysnj473hfnj-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/bundler-2.1.4/libexec/bundle:34:in
`<main>'
Bundler: ```
Bundler:
Bundler: ## Environment
Bundler:
Bundler: ```
Bundler: Bundler 2.3.7
Bundler: Platforms ruby, x86_64-linux
Bundler: Ruby 3.1.1p18 (2022-02-18 revision
53f5fc4236a754ddf94b20dbb70ab63bd5109b18) [x86_64-linux]
Bundler: Full Path
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/bin/ruby
Bundler: Config Dir
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/etc
Bundler: RubyGems 3.3.7
Bundler: Gem Home
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/gems/3.1.0
Bundler: Gem Path
/gnu/store/kkgpzidddz4rzz905nayxpqkagkqaagf-jekyll-4.2.0/lib/ruby/vendor_ruby:/gnu/store/30llcsghdk6ycdr2738shysnj473hfnj-ruby-2.7.4/lib/ruby/vendor_ruby:/gnu/store/kgvrlmmy5kpkb576q50p1y84hr0hh22l-ruby-addressable-2.7.0/lib/ruby/vendor_ruby:/gnu/store/qf3mn6avgzlrx759hhjj40r1z97hz4md-ruby-colorator-1.1.0/lib/ruby/vendor_ruby:/gnu/store/bl61ba6gmhq7l4m7zx8h0xcx0gd12qvh-ruby-em-websocket-0.5.1/lib/ruby/vendor_ruby:/gnu/store/dqyny08zsr713i1jsmg296998pidr4sn-ruby-i18n-1.7.0/lib/ruby/vendor_ruby:/gnu/store/4crgq1ljwz93m2avgkchrk8cagxdfp11-ruby-jekyll-sass-converter-2.1.0/lib/ruby/vendor_ruby:/gnu/store/bd9l6ymj9xvww3b4h7fvv5rm4prnv7bg-ruby-jekyll-watch-2.1.2/lib/ruby/vendor_ruby:/gnu/store/x5sf2gvaq754m3czyzc1kyhscys8qw67-ruby-kramdown-parser-gfm-1.1.0/lib/ruby/vendor_ruby:/gnu/store/y56bc4v3yqyzssgw9asaxylpy4fi6vf5-ruby-liquid-4.0.0/lib/ruby/vendor_ruby:/gnu/store/p607wj4ax7avymy2zb93m7k9jcwwhi1r-ruby-mercenary-0.4.0/lib/ruby/vendor_ruby:/gnu/store/j5czpwg3yxwkkhxrjhsj4s1c5rwmhxdd-ruby-pathutil-0.16.2/lib/ruby/vendor_ruby:/gnu/store/317pznahw4lx6asl4n6m4pw2qdsf47a6-ruby-rouge-3.26.1/lib/ruby/vendor_ruby:/gnu/store/xhcc47yr6k2y8i02wh4wxni8wd698dm1-ruby-safe-yaml-1.0.5/lib/ruby/vendor_ruby:/gnu/store/812z0k2qw0asg268z6xzp74skz3i5g9r-ruby-sassc-2.4.0/lib/ruby/vendor_ruby:/gnu/store/4l56xrb6nzp8m05dx57is3rrxcf982hi-ruby-terminal-table-2.0.0/lib/ruby/vendor_ruby:/gnu/store/jcrz4n89404dqqccisb25y2vw5vzx63x-ruby-public-suffix-4.0.5/lib/ruby/vendor_ruby:/gnu/store/gxnhy3gsrasw59zfjfyf08qsyx0dc75j-ruby-http-parser.rb-0.6.0/lib/ruby/vendor_ruby:/gnu/store/5448yzf2ksyjvipmm44c60qx39bb9la6-ruby-eventmachine-1.2.7/lib/ruby/vendor_ruby:/gnu/store/7zf8fq7l2xv3v662nrcvp64ih87z5fzk-ruby-concurrent-1.1.5/lib/ruby/vendor_ruby:/gnu/store/3wissxsr6ds73hsqvj6bmvdjnrc9lpz4-ruby-sass-3.6.0/lib/ruby/vendor_ruby:/gnu/store/1fg3d13xzxia6hcqpvnflmgihcszcpmg-ruby-listen-3.2.0/lib/ruby/vendor_ruby:/gnu/store/a61ndkxd609n0r2hl9srv9wj22mag4l3-ruby-kramdown-2.3.1/lib/ruby/vendor_ruby:/gnu/store/cvsa6viljf6sg528jyib4by1b0nrx7mi-ruby-forwardable-extended-2.6.0/lib/ruby/vendor_ruby:/gnu/store/vyz7v0szixvgb66z1027m7b5gvhhmgbv-ruby-rake-13.0.1/lib/ruby/vendor_ruby:/gnu/store/bbgwlkfhlmjwcry6igmlzixgkcfx33za-ruby-ffi-1.12.2/lib/ruby/vendor_ruby:/gnu/store/l3nwr80509vgdcy1s0xyh9n7mslxfss0-ruby-unicode-display-width-1.6.0/lib/ruby/vendor_ruby:/gnu/store/qcliipgv8j6wy5il6c8bnh6rl1l1s65x-ruby-sass-listen-4.0.0/lib/ruby/vendor_ruby:/gnu/store/al4z5v1bfqkjnhz2s86ip7h547gxjp33-ruby-dep-1.5.0/lib/ruby/vendor_ruby:/gnu/store/g3j4x5zi0gvq67ij9kblqsv2y08yy1yv-ruby-rb-inotify-0.9.10/lib/ruby/vendor_ruby:/gnu/store/hl9ff9hgzabpa85y2rn92c2cw3vscfdb-ruby-rb-fsevent-0.10.3/lib/ruby/vendor_ruby:/gnu/store/8qchkj6kgikn078k32gcxr1khqffizkf-profile/lib/ruby/vendor_ruby:/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/lib/ruby/gems/3.1.0
Bundler: User Home /home/sego
Bundler: User Path /home/sego/.local/share/gem/ruby/3.1.0
Bundler: Bin Dir
/gnu/store/vi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1/bin
Bundler: OpenSSL
Bundler: Compiled OpenSSL 1.1.1l 24 Aug 2021
Bundler: Loaded OpenSSL 1.1.1q 5 Jul 2022
Bundler: Cert File
/gnu/store/3mvz2djpd1y2dda0lf237gn9mmclmd19-openssl-1.1.1q/share/openssl-1.1.1q/cert.pem
Bundler: Cert Dir
/gnu/store/3mvz2djpd1y2dda0lf237gn9mmclmd19-openssl-1.1.1q/share/openssl-1.1.1q/certs
Bundler: Tools
Bundler: Git 2.36.1
Bundler: RVM not installed
Bundler: rbenv not installed
Bundler: chruby not installed
Bundler: ```
Bundler:
Bundler: ## Bundler Build Metadata
Bundler:
Bundler: ```
Bundler: Built At 2022-08-09
Bundler: Git SHA unknown
Bundler: Released Version false
Bundler: ```
Bundler:
Bundler: ## Gemfile
Bundler:
Bundler: ### Gemfile
Bundler:
Bundler: ```ruby
Bundler: source "https://rubygems.org"
Bundler: # Hello! This is where you manage which Jekyll version is used
to run.
Bundler: # When you want to use a different version, change it below,
save the
Bundler: # file and run `bundle install`. Run Jekyll with `bundle exec`,
like so:
Bundler: #
Bundler: # bundle exec jekyll serve
Bundler: #
Bundler: # This will help ensure the proper Jekyll version is running.
Bundler: # Happy Jekylling!
Bundler: gem "jekyll", "~> 4.2.0"
Bundler: # This is the default theme for new Jekyll sites. You may change
this to anything you like.
Bundler: gem "minima", "~> 2.5"
Bundler: # If you want to use GitHub Pages, remove the "gem "jekyll""
above and
Bundler: # uncomment the line below. To upgrade, run `bundle update
github-pages`.
Bundler: # gem "github-pages", group: :jekyll_plugins
Bundler: # If you have any plugins, put them here!
Bundler: group :jekyll_plugins do
Bundler: gem "jekyll-feed", "~> 0.12"
Bundler: end
Bundler:
Bundler: # Windows and JRuby does not include zoneinfo files, so bundle
the tzinfo-data gem
Bundler: # and associated library.
Bundler: platforms :mingw, :x64_mingw, :mswin, :jruby do
Bundler: gem "tzinfo", "~> 1.2"
Bundler: gem "tzinfo-data"
Bundler: end
Bundler:
Bundler: # Performance-booster for watching directories on Windows
Bundler: gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
Bundler: ```
Bundler:
Bundler: ### Gemfile.lock
Bundler:
Bundler: ```
Bundler: <No /home/sego/job/site/www/testdir/Gemfile.lock found>
Bundler: ```
Bundler:
Bundler: --- TEMPLATE END
----------------------------------------------------------------
Bundler:
Bundler: Unfortunately, an unexpected error occurred, and Bundler cannot
continue.
Bundler:
Bundler: First, try this link to see if there are any existing issue
reports for this error:
Bundler:
https://github.com/rubygems/rubygems/search?q=Read-only+file+system+%40+rb_sysopen+-+%2Fgnu%2Fstore%2Fvi3wmci309sx5xlsbzbxb17hnn3r3wd9-ruby-3.1.1%2Flib%2Fruby%2Fgems%2F3.1.0%2Fbundler.lock&type=Issues
Bundler:
Bundler: If there aren't any reports for this error yet, please fill in
the new issue form located at
https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md,
and copy and paste the report template above in there.
[Message part 2 (text/html, inline)]
bug-guix <at> gnu.org:bug#57083; Package guix.
(Mon, 15 Aug 2022 12:53:02 GMT) Full text and rfc822 format available.Message #8 received at 57083 <at> debbugs.gnu.org (full text, mbox):
From: Remco van 't Veer <remco <at> remworks.net> To: 57083 <at> debbugs.gnu.org, Ségolène Métais <segolene.metais <at> gmail.com> Subject: Re: Jekyll is unusable Date: Mon, 15 Aug 2022 14:51:47 +0200
The jekyll packages is pretty minimal and the generated site by a
"jekyll new" requires more than supplied by the package. To get it to
work you either need to include the ruby package for bundler (as you
did), set GEM_HOME to some writable directory, and pull in the
development dependencies of ruby (to allow compilation of native code
gems). Or stay minimal, here's an example:
$ guix shell --pure jekyll -- jekyll new --skip-bundle testdir
New jekyll site installed in /home/me/tmp/testdir.
Bundle install skipped.
$ echo title: test title > testdir/_config.yml # drop theme and plugins
$ rm testdir/Gemfile # avoid bundler installing themes and plugins
$ echo test content >> testdir/index.markdown
$ guix shell --pure jekyll -- jekyll s --source=testdir
Configuration file: /home/me/tmp/testdir/_config.yml
Source: /home/me/tmp/testdir
Destination: /home/me/tmp/_site
Incremental build: disabled. Enable with --incremental
Generating...
Build Warning: Layout 'post' requested in _posts/2022-08-15-welcome-to-jekyll.markdown does not exist.
Build Warning: Layout 'default' requested in 404.html does not exist.
Build Warning: Layout 'page' requested in about.markdown does not exist.
Build Warning: Layout 'home' requested in index.markdown does not exist.
done in 0.156 seconds.
Auto-regeneration: enabled for 'testdir'
Server address: http://127.0.0.1:4000
Server running... press ctrl-c to stop.
I am not sure this is an issue because it does work for the minimal
approach. Unfortunately it does not really operate as expected. Maybe
the package should be altered to generate a minimal setup as in the
above example on "jekyll new"?
Cheers,
Remco
bug-guix <at> gnu.org:bug#57083; Package guix.
(Tue, 06 Sep 2022 10:11:02 GMT) Full text and rfc822 format available.Message #11 received at 57083 <at> debbugs.gnu.org (full text, mbox):
From: Ségolène Métais <segolene.metais <at> gmail.com> To: "Remco van 't Veer" <remco <at> remworks.net>, 57083 <at> debbugs.gnu.org Subject: Fwd: Jekyll is unusable Date: Tue, 6 Sep 2022 10:09:59 +0000
[Message part 1 (text/plain, inline)]
(I send this message again because it does not appear in the archive). Hello, Thank you Remco for your help. I was able to run jekyll without and with bundle using your instructions. I am not sure what should be done with the package. To use Jekyll with bundle, here are the details in case someone would get stucked: sego <at> pluto ~/job/site/www$ guix shell jekyll ruby -D ruby sego <at> pluto ~/job/site/www [env]$ jekyll new tmpdir Running bundle install in /home/sego/job/site/www/tmpdir... New jekyll site installed in /home/sego/job/site/www/tmpdir. sego <at> pluto ~/job/site/www [env]$ cd tmpdir/ sego <at> pluto ~/job/site/www/tmpdir [env]$ bundle add webrick sego <at> pluto ~/job/site/www/tmpdir [env]$ bundle exec jekyll serve [...] Server address: http://127.0.0.1:4000/ Server running... press ctrl-c to stop. Cheers, Ségolène Le lun. 15 août 2022 à 12:51, Remco van 't Veer <remco <at> remworks.net> a écrit : > > The jekyll packages is pretty minimal and the generated site by a > "jekyll new" requires more than supplied by the package. To get it to > work you either need to include the ruby package for bundler (as you > did), set GEM_HOME to some writable directory, and pull in the > > development dependencies of ruby (to allow compilation of native code > gems). Or stay minimal, here's an example: > > $ guix shell --pure jekyll -- jekyll new --skip-bundle testdir > New jekyll site installed in /home/me/tmp/testdir. > Bundle install skipped. > $ echo title: test title > testdir/_config.yml # drop theme and plugins > $ rm testdir/Gemfile # avoid bundler installing themes and plugins > $ echo test content >> testdir/index.markdown > $ guix shell --pure jekyll -- jekyll s --source=testdir > Configuration file: /home/me/tmp/testdir/_config.yml > Source: /home/me/tmp/testdir > Destination: /home/me/tmp/_site > Incremental build: disabled. Enable with --incremental > Generating... > Build Warning: Layout 'post' requested in _posts/2022-08-15-welcome-to-jekyll.markdown does not exist. > Build Warning: Layout 'default' requested in 404.html does not exist. > Build Warning: Layout 'page' requested in about.markdown does not exist. > Build Warning: Layout 'home' requested in index.markdown does not exist. > done in 0.156 seconds. > Auto-regeneration: enabled for 'testdir' > Server address: http://127.0.0.1:4000 > Server running... press ctrl-c to stop. > > I am not sure this is an issue because it does work for the minimal > approach. Unfortunately it does not really operate as expected. Maybe > the package should be altered to generate a minimal setup as in the > above example on "jekyll new"? > > Cheers, > Remco
[Message part 2 (text/html, inline)]
Ségolène Métais <segolene.metais <at> gmail.com>:Ségolène Métais <segolene.metais <at> gmail.com>:Message #16 received at 57083-done <at> debbugs.gnu.org (full text, mbox):
From: Ségolène Métais <segolene.metais <at> gmail.com> To: 57083-done <at> debbugs.gnu.org Subject: Closing Date: Tue, 6 Sep 2022 13:47:14 +0000
[Message part 1 (text/plain, inline)]
[Message part 2 (text/html, inline)]
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org.
(Wed, 05 Oct 2022 11:24:09 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.