Bug#750717: twitter-bootstrap: FTBFS against uglify 2.x series - -nc is not a supported option
Source: twitter-bootstrap
Severity: important
Dear maintainer,
your package fails to build from source with uglify version 2.4.13-1,
which is now in experimental and will be soon migrated to unstable.
Here a snip of buildlog:
lessc ./less/responsive.less > bootstrap/css/bootstrap-responsive.css
lessc --compress ./less/responsive.less > bootstrap/css/bootstrap-responsive.min.css
cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js > bootstrap/js/bootstrap.js
uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
`bootstrap/js/bootstrap.js` is not a supported option
Supported options:
{ sequences: true,
properties: true,
dead_code: true,
drop_debugger: true,
unsafe: false,
unsafe_comps: false,
conditionals: true,
comparisons: true,
evaluate: true,
booleans: true,
loops: true,
unused: true,
hoist_funs: true,
keep_fargs: false,
hoist_vars: false,
if_return: true,
join_vars: true,
cascade: true,
side_effects: true,
pure_getters: false,
pure_funcs: null,
negate_iife: true,
screw_ie8: false,
drop_console: false,
angular: false,
warnings: true,
global_defs: {} }
Makefile:27: recipe for target 'bootstrap' failed
make[2]: *** [bootstrap] Error 1
make[2]: Leaving directory '/tmp/buildd/twitter-bootstrap-2.0.2+dfsg'
dh_auto_build: make -j1 returned exit code 2
debian/rules:25: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/tmp/buildd/twitter-bootstrap-2.0.2+dfsg'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: user script /srv/debomatic-amd64/unstable/build/cow.27445/tmp/hooks/C00iptables starting
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I: user script /srv/debomatic-amd64/unstable/build/cow.27445/tmp/hooks/C00iptables finished
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
The options -nc (no copyright) is no longer supported.
Thanks in advance,
Leo.
Reply to: