[DRE-maint] Bug#858195: compass-bootstrap-sass-plugin: Wrong install path, and code not registered with Compass

Jonas Smedegaard dr at jones.dk
Sun Mar 19 17:13:06 UTC 2017


Package: compass-bootstrap-sass-plugin
Version: 3.3.5.1-3
Severity: grave
Justification: renders package unusable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The most basic way to initialize a Compass project using this library
should be using the following command:

$ compass create --using bootstrap

That fails, however:

No such framework: "bootstrap"


Inspecting package contents it turns out that Sass files are shipped
twice, none of them below /usr/share/doc/compass-bootstrap-sass-plugin
as explected:

  * compass-bootstrap-sass-plugin includes them below
    /usr/share/compass/frameworks/bootstrap-sass
  * ruby-bootstrap-sass ships them below
    /usr/share/ruby-bootstrap-sass/assets

The correct path would be /usr/share/compass/frameworks/bootstrap - i.e.
without the -sass suffix.

Adapting the simplest Compass command for the renamed project path gets
further but still fails:

directory fonts/bootstrap/ 
directory javascripts/ 
directory javascripts/bootstrap/ 
directory sass/ 
directory stylesheets/ 
   create config.rb 
   create sass/styles.scss 
   create sass/_bootstrap-variables.scss 
   create javascripts/bootstrap.js 
   create javascripts/bootstrap.min.js 
   create javascripts/bootstrap-sprockets.js 
   create javascripts/bootstrap/carousel.js 
   create javascripts/bootstrap/popover.js 
   create javascripts/bootstrap/scrollspy.js 
   create javascripts/bootstrap/modal.js 
   create javascripts/bootstrap/transition.js 
   create javascripts/bootstrap/button.js 
   create javascripts/bootstrap/alert.js 
   create javascripts/bootstrap/collapse.js 
   create javascripts/bootstrap/tab.js 
   create javascripts/bootstrap/tooltip.js 
   create javascripts/bootstrap/dropdown.js 
   create javascripts/bootstrap/affix.js 
   create fonts/bootstrap/glyphicons-halflings-regular.svg 
   create fonts/bootstrap/glyphicons-halflings-regular.eot 
   create fonts/bootstrap/glyphicons-halflings-regular.woff 
   create fonts/bootstrap/glyphicons-halflings-regular.woff2 
   create fonts/bootstrap/glyphicons-halflings-regular.ttf 
    error sass/styles.scss (Line 2: File to import not found or unreadable: bootstrap-compass.
Load paths:
  Compass::SpriteImporter
  /usr/local/src/COUCH/omni/styling./sass
  /usr/share/compass/frameworks/compass/stylesheets
  /usr/share/compass/frameworks/blend-modes/stylesheets
  /usr/share/compass/frameworks/blueprint/stylesheets
  /usr/share/compass/frameworks/bootstrap-sass/stylesheets
  /usr/share/compass/frameworks/breakpoint/stylesheets
  /usr/share/compass/frameworks/color-schemer/stylesheets
  /usr/share/compass/frameworks/fancy-buttons/stylesheets
  /usr/share/compass/frameworks/h5bp/stylesheets
  /usr/share/compass/frameworks/layoutgala/stylesheets
  /usr/share/compass/frameworks/normalize-scss/stylesheets
  /usr/share/compass/frameworks/sassy-maps/stylesheets
  /usr/share/compass/frameworks/singularitygs/stylesheets
  /usr/share/compass/frameworks/slickmap/stylesheets
  /usr/share/compass/frameworks/susy/stylesheets
  /usr/share/compass/frameworks/toolkit/stylesheets
  /usr/share/compass/frameworks/yui/stylesheets)
Compilation failed in 1 files.


This next failure is due to the ruby code is not registering the path
with Compass, requiring to do that explicitly:

$ compass create --using bootstrap-sass --require bootstrap-sass

That works.


In short, this Compass library is installed in the wrong path, and its
ruby code is not registered with Compass.

 - Jonas


- -- System Information:
Debian Release: 9.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages compass-bootstrap-sass-plugin depends on:
ii  ruby                 1:2.3.3
ii  ruby-bootstrap-sass  3.3.5.1-3
ii  ruby-compass         1.0.3~dfsg-4
ii  ruby-sass            3.4.23-1

Versions of packages compass-bootstrap-sass-plugin recommends:
ii  ruby-compass  1.0.3~dfsg-4

compass-bootstrap-sass-plugin suggests no packages.

- -- no debconf information

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

iQIyBAEBCAAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAljOvB8ACgkQLHwxRsGg
ASHPXg/4pCgZCtjXnF5SmdLYvPOhAQs11cx/tHiqtqgOHJakrALAQynPXI/BZ1n6
xFVJnHjQLaHRyO1AppdNOr5uGmxCmXssbypLqn4KmmrYernCRMgeNntuKNt2auY5
ztjLL9UTcguswzoC7xSkN/ZGzwD+XQiBLL4d0icPjL+45uqYu09WEDq2rmO4se7e
urM0FzUztPTUUu+zA+Vb6WScKuYUXHbM4SycBtCgQk51NPi7rgZW1nFDV2T0TJW1
YqvUCOJ/SOxS0vvMSLZIgeWHMqYSIqWq1LbAJYUMkkQ9UoBwNs+UWjdz3na8Pp/Y
9HXSkpqFpLDrEoWPlYMnzzzSLfzLAvkaJuiQ15oP8Uh0P+vmabh1HxF1HsKj3HYk
7l5xNihUcfk0OvZyOTLAtCH0uuW/8JhmqDqoB6O05uKhaG41DPzmcDKQmCYaJgTB
pFX+ek/iz4lBCbcxe8cw0bkN4sArIQ3utxiN50b10XqXqAKt7YipnHza/G9LQH+T
q4ie1Yfvs0JHKKmXr10UCdHt88zFoAleCbzWBD+AzGpzA5zEKBH7S5PNqj/haHVl
5pC3uhkt2q0mpGffX9oKYhqm0/olJeUi7ngAMn1jccbBqyVmUMKSkh4llpNNX/dD
qMzuxQTzQ8+tq/hyNDquzpuIVb24Qyl5cKKcyoHpqZKweYQcvw==
=1pma
-----END PGP SIGNATURE-----



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