Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14378 closed defect (fixed)

Build option "log=" breaks the build

Reported by: asmodehn Owned by: Rawld Gill
Priority: high Milestone: 1.8
Component: BuildSystem Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

When passing log=WARN as an option to the build, the build breaks with error :

node.js:134

throw e; process.nextTick error, or 'error' event on first tick

TypeError?: Property 'log' of object #<Object> is not a function

at processPackage (build/buildControl:207:9) at build/buildControl:289:4 at build/buildControl:342:3 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:980:43 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:1106:5 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:1097:12 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:698:5 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:716:13 at build/main:84:2 at /home/alex/Projects/FDPoker/depends/dojo-release-1.7.0-src/dojo/dojo.js:980:43

Tested with linux - Ubuntu omitting the 'log=' option and the build finish successfully.

Change History (5)

comment:1 Changed 8 years ago by Kenneth G. Franqueiro

Rawld, is there an equivalent to this in the new script? I notice in http://livedocs.dojotoolkit.org/build/qref that log is listed as one of the "Removed Profile Properties" as "not necessary" with the new builder, but I would hope there are equivalents to at least log, localeList, and buildLayers that we could possibly point people to in that section.

comment:2 Changed 8 years ago by Rawld Gill

Milestone: 1.8

comment:3 Changed 8 years ago by Rawld Gill

Status: newassigned

comment:4 Changed 8 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

In [28462]:

filter deprecated switches from build input; fixes #14378; !strict

comment:5 in reply to:  1 Changed 8 years ago by Rawld Gill

Replying to kgf:

Rawld, is there an equivalent to this in the new script? I notice in http://livedocs.dojotoolkit.org/build/qref that log is listed as one of the "Removed Profile Properties" as "not necessary" with the new builder, but I would hope there are equivalents to at least log, localeList, and buildLayers that we could possibly point people to in that section.

localeList: has been added back

log: see #15279

buildLayers: never worked well/reliably in old builder; that functionality is being tracked in #13214

Note: See TracTickets for help on using tickets.