Univention Bugzilla – Bug 32782
unable to build univention-management-console-frontend-doc
Last modified: 2013-11-19 06:42:48 CET
(1) cd univention-dojo && patch -p0 < ../Selection.patch patching file dgrid/Selection.js Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file dgrid/Selection.js.rej make[1]: *** [univention-dojo] Fehler 1 make[1]: Leaving directory `/opt/univention-management-console-frontend-doc' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Fehler 2 dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2 (2) Processing module https:/www.piwik.univention.de/piwik.js (30.52M used / 53.99M RSS) ERR: umc/app.js:843:71 Error: ENOENT, no such file or directory '/opt/univention-management-console-frontend-doc/univention-dojo/umc/modules/undefined.js' at Object.fs.openSync (fs.js:338:18) at Object.fs.readFileSync (fs.js:182:15) at new File (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/File.js:60:10) at Function.Module.get (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/Module.js:53:28) at null.<anonymous> (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/callHandler/amd.js:141:24) at lang.extend.match (/opt/univention-management-console-frontend-doc/js-doc-parse/dojo/AdapterRegistry.js:82:21) at Object.readers.CallExpression (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:359:29) at read (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:239:28) at Object.ExpressionStatement (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:28:11) at read (/opt/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:239:28) make[1]: *** [data] Fehler 1 make[1]: Leaving directory `/opt/univention-management-console-frontend-doc' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Fehler 2 dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2 (3) ...
fixed: removed Selection.js patch (is now integrated in dojo). added umc/modules/undefined.js removed dojox from build list because it requires dojo internal build directory univention-management-console-frontend-doc (7.0.0-1)
interim version - no changelog required
There is another error: Processing module umc/piwik (30.59M used / 53.97M RSS) Processing module https:/www.piwik.univention.de/piwik.js (31.06M used / 53.98M RSS) Processing module umc/modules/undefined (31.59M used / 53.98M RSS) ERR: umc/app.js:1651:60 Error: ENOENT, no such file or directory '/root/univention-management-console-frontend-doc/univention-dojo/umc/modules/udm/LicenseImportDialog.js' at Object.fs.openSync (fs.js:338:18) at Object.fs.readFileSync (fs.js:182:15) at new File (/root/univention-management-console-frontend-doc/js-doc-parse/lib/File.js:60:10) at Function.Module.get (/root/univention-management-console-frontend-doc/js-doc-parse/lib/Module.js:53:28) at null.<anonymous> (/root/univention-management-console-frontend-doc/js-doc-parse/lib/callHandler/amd.js:141:24) at lang.extend.match (/root/univention-management-console-frontend-doc/js-doc-parse/dojo/AdapterRegistry.js:82:21) at Object.readers.CallExpression (/root/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:359:29) at read (/root/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:239:28) at Object.ExpressionStatement (/root/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:28:11) at read (/root/univention-management-console-frontend-doc/js-doc-parse/lib/esprimaParser.js:239:28) make[1]: *** [data] Fehler 1 make[1]: Leaving directory `/root/univention-management-console-frontend-doc' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Fehler 2 dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
(In reply to Lukas Walter from comment #3) > There is another error: In Bug #32389 a new external requirement to udm/licenseImportDialog has been added. fixed in univention-management-console-frontend-doc (7.0.1-1)
make[1]: Entering directory `/root/univention-management-console-frontend-doc' make[1]: Warning: File `Makefile' has modification time 1,1e+06 s in the future #creating details.xml and tree.json install -m755 -d 'data/1.8' cd js-doc-parse && \ git apply < ../js-doc-parse.patch && \ ./parse.sh ../univention-dojo/umc ../univention-dojo/dojo ../univention-dojo/dijit ../univention-dojo/dgrid # ../univention-dojo/dojox FIXME: dojox produces errors because "build" directory does not exists error: patch failed: config.js:28 error: config.js: patch does not apply error: patch failed: lib/processor/dojodoc.js:218 error: lib/processor/dojodoc.js: patch does not apply make[1]: *** [data] Fehler 1 make[1]: Leaving directory `/root/univention-management-console-frontend-doc' dh_auto_install: make -j1 install DESTDIR=/root/univention-management-console-frontend-doc/debian/tmp returned exit code 2 make: *** [binary] Fehler 29 dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules binary war 2
(In reply to Lukas Walter from comment #5) > error: patch failed: config.js:28 > error: config.js: patch does not apply > error: patch failed: lib/processor/dojodoc.js:218 > error: lib/processor/dojodoc.js: patch does not apply "make clean" ;)
(In reply to Florian Best from comment #6) > (In reply to Lukas Walter from comment #5) > > error: patch failed: config.js:28 > > error: config.js: patch does not apply > > error: patch failed: lib/processor/dojodoc.js:218 > > error: lib/processor/dojodoc.js: patch does not apply > > "make clean" ;) Build try was made from clean directory
(In reply to Lukas Walter from comment #7) > (In reply to Florian Best from comment #6) > > (In reply to Lukas Walter from comment #5) > > > error: patch failed: config.js:28 > > > error: config.js: patch does not apply > > > error: patch failed: lib/processor/dojodoc.js:218 > > > error: lib/processor/dojodoc.js: patch does not apply > > > > "make clean" ;) > > Build try was made from clean directory It works in our buildsystem: Successful build Package: univention-management-console-frontend-doc Version: 7.0.1-1.40.201310221513 I opened Bug #32959. I looked at your VM and it seems that dpkg-buildpackage calls 'make data' twice. The already applied patch fails to apply then. I dunno why this happens.
OK, I've read the build mail.
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".