[Freeipa-users] Building previous release rpms are failing
Curtis L. Knight
knighcl at gmail.com
Wed Aug 6 02:56:50 UTC 2014
On Tue, Aug 5, 2014 at 7:21 AM, Martin Kosek <mkosek at redhat.com> wrote:
> On 08/05/2014 12:32 PM, Martin Kosek wrote:
> > On 08/05/2014 12:05 PM, Curtis L. Knight wrote:
> ...
> >> #./make-lint $(LINT_OPTIONS)
> >>
> >> run 'make rpms' again to get beyond lint errors shown below
> >>
> >>
> >> cd install; if [ ! -e Makefile ]; then ../autogen.sh --prefix=/usr
> >> --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib; fi
> >> ./make-lint
> >> Traceback (most recent call last):
> >> File "./make-lint", line 272, in <module>
> >> sys.exit(main())
> >> File "./make-lint", line 243, in main
> >> linter.check(files)
> >> File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 626, in
> check
> >> self.check_astroid_module(astroid, walker, rawcheckers,
> tokencheckers)
> >> File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 712, in
> >> check_astroid_module
> >> walker.walk(astroid)
> >> File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 715, in
> walk
> >> self.walk(child)
> >> File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 715, in
> walk
> >> self.walk(child)
> >> File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 712, in
> walk
> >> cb(astroid)
> >> File "/usr/lib/python2.7/site-packages/pylint/checkers/newstyle.py",
> >> line 135, in visit_function
> >> args=(call.args[0].name, ))
> >> AttributeError: 'Getattr' object has no attribute 'name'
> >> make: *** [lint] Error 1
> >
> > This is new, I created upstream ticket to timely fix it:
> > https://fedorahosted.org/freeipa/ticket/4475
>
> Ticket 4475 is now fixed, thanks to Jan Cholasta. ipa-3-3 branch should now
> build OK again.
>
> Martin
>
Hey Martin,
Tested ipa-3-3 and generated rpms from that branch. Many thanks for the
resolution.
Just a note, but I verified that ipa-3-2 and ipa-3-1 are in need of the
same ipa-3-3 dependency patch. Both also complained that make-lint needed
pylint installed which it already was. With the lint failure and rhino
patch, ipa-3-2 did generate rpms. With the lint failure and rhino patch,
ipa-3-1 did not generate rpms and gave the following logs.
Regards,
Curtis
Report written to
/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/release/lib/build-report.txt
Process finished normally.
errors: 0
warnings: 0
build time: 4.62 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/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/release/lib/freeipa
/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/build/freeipa
/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/build/freeipa
/usr/bin/mkdir -p
'/freeipa/rpmbuild/BUILDROOT/freeipa-3.1.5GIT98f5abe-0.fc20.x86_64/usr/share/ipa/ui/js/freeipa'
/usr/bin/install -c -m 644 ./app.js
'/freeipa/rpmbuild/BUILDROOT/freeipa-3.1.5GIT98f5abe-0.fc20.x86_64/usr/share/ipa/ui/js/freeipa'
/usr/bin/install: cannot stat './app.js': No such file or directory
make[6]: *** [install-appDATA] Error 1
make[6]: Leaving directory
`/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/build/freeipa'
make[5]: *** [install-am] Error 2
make[5]: Leaving directory
`/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/build/freeipa'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui/build'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install/ui'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe/install'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/freeipa/rpmbuild/BUILD/freeipa-3.1.5GIT98f5abe'
error: Bad exit status from /var/tmp/rpm-tmp.Ex5L4m (%install)
RPM build errors:
bogus date in %changelog: Thu Aug 17 2012 Martin Kosek <
mkosek at redhat.com> - 2.99.0-41
bogus date in %changelog: Fri Jun 21 2012 Sumit Bose <sbose at redhat.com>
- 2.99.0-36
bogus date in %changelog: Fri Jun 21 2012 Rob Crittenden <
rcritten at redhat.com> - 2.99.0-35
bogus date in %changelog: Fri Jun 21 2012 Petr Vobornik <
pvoborni at redhat.com> - 2.99.0-34
bogus date in %changelog: Wed Mar 26 2012 Rob Crittenden <
rcritten at redhat.com> - 2.99.0-25
bogus date in %changelog: Wed Mar 19 2012 Martin Kosek <
mkosek at redhat.com> - 2.99.0-23
bogus date in %changelog: Wed Nov 17 2011 Simo Sorce <simo at redhat.com>
- 2.99.0-12
bogus date in %changelog: Wed Nov 14 2011 Endi S. Dewata <
edewata at redhat.com> - 2.99.0-11
bogus date in %changelog: Wed Aug 25 2011 Simo Sorce <ssorce#redhat.com>
- 2.99.0-1
bogus date in %changelog: Tue Jul 29 2011 Alexander Bokovoy <
abokovoy at redhat.com> - 2.0.90-9
bogus date in %changelog: Thu Feb 2 2011 Rob Crittenden <
rcritten at redhat.com> - 1.99-43
bogus date in %changelog: Thu Jan 19 2011 Adam Young <ayoung at redhat.com>
- 1.99-40
bogus date in %changelog: Thu May 6 2009 Rob Crittenden <
rcritten at redhat.com> - 1.99-5
bogus date in %changelog: Thu Feb 29 2008 Rob Crittenden <
rcritten at redhat.com> 0.99-11
bogus date in %changelog: Mon Aug 5 2007 Rob Crittenden <
rcritten at redhat.com> - 0.1.0-3
Bad exit status from /var/tmp/rpm-tmp.Ex5L4m (%install)
make: *** [rpms] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140805/ad66fae2/attachment.htm>
More information about the Freeipa-users
mailing list