rhino-1.7R4-2.fc19.noarch dropped -main flag, which makes the build fail:
rhino-1.7R4-2.fc19.noarch
-main
processing profile resource /root/freeipa-clean/rpmbuild/BUILD/freeipa-3.1.99GIT6ff20ca/install/ui/src/freeipa/freeipa.profile.js discovering resources... starting reading resources... starting processing raw resource content... starting tokenizing resource... starting processing resource tokens... starting parsing resource... starting processing resource AST... starting executing global optimizations... starting writing resources... starting cleaning up... starting reporting... Report written to /root/freeipa-clean/rpmbuild/BUILD/freeipa-3.1.99GIT6ff20ca/install/ui/release/lib/build-report.txt Process finished normally. errors: 0 warnings: 0 build time: 7.241 seconds Invalid option "-main" Usage: java org.mozilla.javascript.tools.shell.Main [options...] [files] Valid options are: -?, -help Displays help messages. -w Enable warnings. -version 100|110|120|130|140|150|160|170|180 Set a specific language version. -opt [-1|0-9] Set optimization level. -f script-filename Execute script file, or "-" for interactive. -e script-source Evaluate inline script. -modules [uri] Add a single path or URL element to the CommonJS module search path. (implies -require) -require Enable CommonJS module support. -sandbox Enable CommonJS sandbox mode. (implies -require) -debug Generate debug code. -strict Enable strict mode warnings. -fatal-warnings Treat warnings as errors. -encoding charset Use specified character encoding as default when reading scripts. ~/freeipa-clean/rpmbuild/BUILD/freeipa-3.1.99GIT6ff20ca/install/ui/release/lib/freeipa ~/freeipa-clean/rpmbuild/BUILD/freeipa-3.1.99GIT6ff20ca/install/ui/build/freeipa
The bug is in install/ui/util/uglifyjs/uglify shell script.
Line:
rhino -main $DIR/uglify-js.js $DIR/ug.js $1 $2 -v
Should be change to:
rhino -require $DIR/uglify-js.js $@
Problem is that former works in F18 and not in F19(rawhide). Latter works in rawhide but not in F18.
master: 790a576
Metadata Update from @mkosek: - Issue assigned to pvoborni - Issue set to the milestone: FreeIPA 3.2 - 2013/03
Login to comment on this ticket.