aot-compile-rpm suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Due to operator error, I managed to create an empty jar file
(containing only META-INF/MANIFEST.MF).  Then aot-compile-rpm crashed:

+ /usr/bin/aot-compile-rpm
Traceback (most recent call last):
  File "/usr/bin/aot-compile-rpm", line 66, in <module>
    compiler.compile()
  File "/usr/lib/python2.5/site-packages/aotcompile.py", line 98, in compile
    self.writeMakefile(MAKEFILE, jobs)
  File "/usr/lib/python2.5/site-packages/aotcompile.py", line 124, in
writeMakefile
    (job.dsoName(), job.dbName()) for job in jobs]))}
TypeError: reduce() of empty sequence with no initial value
error: Bad exit status from /var/tmp/rpm-tmp.78936 (%install)

It took me a little digging through the code to figure out what that
crash meant.  In case others manage to trigger the same situation, it
would be good to catch this exception and issue a "You dummy, there's
nothing in your JAR file!" message instead.
-- 
Jerry James
http://loganjerry.googlepages.com/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux