all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57083: Jekyll is unusable
@ 2022-08-09 16:36 Ségolène Métais
  2022-08-15 12:51 ` Remco van 't Veer
  2022-09-06 13:47 ` bug#57083: Closing Ségolène Métais
  0 siblings, 2 replies; 4+ messages in thread
From: Ségolène Métais @ 2022-08-09 16:36 UTC (permalink / raw)
  To: 57083

[-- Attachment #1: Type: text/plain, Size: 9799 bytes --]

Hi, here is the issue with Jekyll :

sego@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@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.

[-- Attachment #2: Type: text/html, Size: 10897 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57083: Jekyll is unusable
  2022-08-09 16:36 bug#57083: Jekyll is unusable Ségolène Métais
@ 2022-08-15 12:51 ` Remco van 't Veer
       [not found]   ` <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
  2022-09-06 13:47 ` bug#57083: Closing Ségolène Métais
  1 sibling, 1 reply; 4+ messages in thread
From: Remco van 't Veer @ 2022-08-15 12:51 UTC (permalink / raw)
  To: 57083, Ségolène Métais

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57083: Fwd: Jekyll is unusable
       [not found]   ` <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
@ 2022-09-06 10:09     ` Ségolène Métais
  0 siblings, 0 replies; 4+ messages in thread
From: Ségolène Métais @ 2022-09-06 10:09 UTC (permalink / raw)
  To: Remco van 't Veer, 57083

[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]

(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@pluto ~/job/site/www$ guix shell jekyll ruby -D ruby
sego@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@pluto ~/job/site/www [env]$ cd tmpdir/
sego@pluto ~/job/site/www/tmpdir [env]$ bundle add webrick
sego@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@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

[-- Attachment #2: Type: text/html, Size: 3352 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57083: Closing
  2022-08-09 16:36 bug#57083: Jekyll is unusable Ségolène Métais
  2022-08-15 12:51 ` Remco van 't Veer
@ 2022-09-06 13:47 ` Ségolène Métais
  1 sibling, 0 replies; 4+ messages in thread
From: Ségolène Métais @ 2022-09-06 13:47 UTC (permalink / raw)
  To: 57083-done

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: Type: text/html, Size: 26 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-06 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 16:36 bug#57083: Jekyll is unusable Ségolène Métais
2022-08-15 12:51 ` Remco van 't Veer
     [not found]   ` <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
2022-09-06 10:09     ` bug#57083: Fwd: " Ségolène Métais
2022-09-06 13:47 ` bug#57083: Closing Ségolène Métais

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.