[DRE-maint] Bug#751793: “jekyll build” generates site with broken js/modernizr.min.js symlink

Michael Stapelberg stapelberg at debian.org
Mon Jun 16 17:03:36 UTC 2014


Package: jekyll
Version: 1.5.1+dfsg1-2
Severity: normal

midna ~/i3.github.io $ jekyll new .
New jekyll site installed in /home/michael/i3.github.io.
midna ~/i3.github.io $ jekyll build
Configuration file: /home/michael/i3.github.io/_config.yml
            Source: /home/michael/i3.github.io
       Destination: /home/michael/i3.github.io/_site
      Generating... error: No such file or directory - /home/michael/i3.github.io/js/modernizr.min.js. Use --trace to view backtrace
midna ~/i3.github.io $ ls -hl js/modernizr.min.js
lrwxrwxrwx 1 michael staff 58 2014-06-16 18:58 js/modernizr.min.js -> ../../../../../share/javascript/modernizr/modernizr.min.js

I suspect this is because js/modernizr.min.js is copied from
/usr/lib/ruby/vendor_ruby/site_template/js/modernizr.min.js which is a
symlink.

I think it’d be better to _not_ make this a symlink at all, at least not
at copy time, so that the file that is used is checked into git. I
suspect maintaining a site that is hosted on github.io will not work
otherwise.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jekyll depends on:
ii  libjs-modernizr               2.6.2+ds1-1
ii  ruby                          1:2.0.0.2
ii  ruby-classifier               1.3.4-1
ii  ruby-colorator                0.1-3
ii  ruby-commander                4.1.6-1
ii  ruby-kramdown                 1.3.3-1
ii  ruby-liquid                   2.6.1-1
ii  ruby-listen                   2.4.0-4
ii  ruby-maruku                   0.7.1-1
ii  ruby-pygments.rb              0.5.4~ds1-1
ii  ruby-rdiscount                1.6.8-3+b1
ii  ruby-redcarpet                3.1.1-1
ii  ruby-redcloth                 4.2.9-3
ii  ruby-safe-yaml                1.0.3-1
ii  ruby-toml                     0.1.1-1
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-6
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-2
ii  ruby2.0 [ruby-interpreter]    2.0.0.484+really457-1

Versions of packages jekyll recommends:
pn  ruby-mysql      <none>
pn  ruby-sequel     <none>
pn  ruby-sequel-pg  <none>

jekyll suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list