Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1324883 - perl-Mojolicious-Plugin-AssetPack-0.69-2.fc25 FTBFS: t/less.t test fails
Summary: perl-Mojolicious-Plugin-AssetPack-0.69-2.fc25 FTBFS: t/less.t test fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs-less
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1328826 (view as bug list)
Depends On:
Blocks: 1323531
TreeView+ depends on / blocked
 
Reported: 2016-04-07 13:39 UTC by Petr Pisar
Modified: 2016-04-20 19:22 UTC (History)
5 users (show)

Fixed In Version: nodejs-less-2.6.1-2.fc24 nodejs-less-2.6.1-2.fc23.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 12:13:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2016-04-07 13:39:29 UTC
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

Comment 1 Petr Pisar 2016-04-08 11:04:09 UTC
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)

Comment 2 Fedora Update System 2016-04-08 14:31:37 UTC
nodejs-less-2.6.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389

Comment 3 Fedora Update System 2016-04-08 14:31:45 UTC
nodejs-less-2.6.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0e94e9a268

Comment 4 Fedora Update System 2016-04-09 18:52:32 UTC
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

Comment 5 Fedora Update System 2016-04-09 19:23:59 UTC
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

Comment 6 Fedora Update System 2016-04-11 15:03:35 UTC
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

Comment 7 Fedora Update System 2016-04-13 09:29:21 UTC
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

Comment 8 Fedora Update System 2016-04-15 03:19:44 UTC
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.

Comment 9 Stephen Gallagher 2016-04-20 12:04:06 UTC
*** Bug 1328826 has been marked as a duplicate of this bug. ***

Comment 10 Matthias Runge 2016-04-20 12:11:17 UTC
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.

Comment 11 Stephen Gallagher 2016-04-20 12:14:44 UTC
(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?

Comment 12 Matthias Runge 2016-04-20 13:24:04 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=753443

Fixes the issue properly for me, yes. Thank you.

Comment 13 Fedora Update System 2016-04-20 19:22:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.