perl-Mojolicious-Plugin-AssetPack-0.69-2.fc25 fails to build in F25 because a test fails: t/jsx.t ........................ skipped: Could not find preprocessors for jsx # Failed test 'content is similar' # at t/less.t line 21. # '<link href="/packed/less-err.css" rel="stylesheet"> # ' # doesn't match '(?^m:<link href="/packed/less-9bb8a2a996dde4692205a829ba6d1c8a\.min\.css")' # Failed test 'content is similar' # at t/less.t line 24. # 'html:before{background:#f00;color:#fff;font-size:14pt;position:fixed;padding:20px;z-index:9999;content:"AssetPack could not generate less-9bb8a2a996dde4692205a829ba6d1c8a.min.css (a.less): Failed to run '/usr/bin/lessc - -x' ($?=1, $!=25) module.js:341\A throw err;\A ^\A\AError: Cannot find module 'less-node/fs'\A at Function.Module._resolveFilename (module.js:339:15)\A at Function.Module._load (module.js:290:25)\A at Module.require (module.js:367:17)\A at require (internal/module.js:16:19)\A at Object.<anonymous> (/usr/lib/node_modules/less/bin/lessc:4:10)\A at Module._compile (module.js:413:34)\A at Object.Module._extensions..js (module.js:422:10)\A at Module.load (module.js:357:32)\A at Function.Module._load (module.js:314:12)\A at Function.Module.runMain (module.js:447:10)";}' # doesn't match '(?^s:a1a1a1.*b1b1b1)' # Looks like you failed 2 tests of 11. t/less.t ....................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/11 subtests Difference between working and failing build root: nodejs-less 1.7.5-3.fc24 > 2.6.1-1.fc25 nodejs 4.3.1-1.fc24 > 5.9.1-1.fc25 perl-Scalar-List-Utils 2:1.44-1.fc25 > 2:1.45-1.fc25 openssl-libs 1:1.0.2g-3.fc25 > 1:1.0.2g-4.fc25 systemtap-sdt-devel 3.0-2.fc25 > 3.1-0.20160329git... libuuid 2.28-0.1.fc25 > 2.28-0.2.fc25 kernel-headers 4.6.0-0.rc0.git26.1... > 4.6.0-0.rc1.git0.1.... libmount 2.28-0.1.fc25 > 2.28-0.2.fc25 device-mapper-libs 1.02.120-5.fc25 > 1.02.121-1.fc25 libfdisk 2.28-0.1.fc25 > 2.28-0.2.fc25 device-mapper 1.02.120-5.fc25 > 1.02.121-1.fc25 util-linux 2.28-0.1.fc25 > 2.28-0.2.fc25 libblkid 2.28-0.1.fc25 > 2.28-0.2.fc25 libsmartcols 2.28-0.1.fc25 > 2.28-0.2.fc25 ycssmin 1.0.1-8.fc24 < libnghttp2 1.8.0-1.fc25 > 1.9.1-1.fc25
This is bug in the nodejs-less-2.6.1-1.fc25: $ cat a.less @bg: #a1a1a1; body { background: @bg; } $ lessc -x - <a.less module.js:341 throw err; ^ Error: Cannot find module 'less-node/fs' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object.<anonymous> (/usr/lib/node_modules/less/bin/lessc:4:10) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10)
nodejs-less-2.6.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389
nodejs-less-2.6.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0e94e9a268
nodejs-less-2.6.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0e94e9a268
nodejs-less-2.6.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389
nodejs-less-2.6.1-2.fc23.1 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389
nodejs-less-2.6.1-2.fc23.1 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389
nodejs-less-2.6.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 1328826 has been marked as a duplicate of this bug. ***
nodejs-less 1.7.5 works, updating to nodejs-less-2.6.1-1.fc23.noarch make it fail for me, even without using any templace. Calling lessc on command line fails.
(In reply to Matthias Runge from comment #10) > nodejs-less 1.7.5 works, > updating to nodejs-less-2.6.1-1.fc23.noarch make it fail for me, even > without using any templace. Calling lessc on command line fails. Yes, but does nodejs-less-2.6.1-2.fc23.noarch (in updates-testing for the last week) resolve the issue properly for you?
http://koji.fedoraproject.org/koji/buildinfo?buildID=753443 Fixes the issue properly for me, yes. Thank you.
nodejs-less-2.6.1-2.fc23.1 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.