revisor and rawhide?

Jonathan Steffan jon at fedoraunity.org
Thu Jul 19 18:00:36 UTC 2007


On Thu, 2007-07-19 at 12:27 -0500, Justin Conover wrote:
> 
> 
> On 7/19/07, Jonathan Steffan <jon at fedoraunity.org> wrote:
>         
>         
>         
>         > Ok, so If I grab the revisor from updates-testing I should
>         be able to
>         > build a rawhide image?
>         
>         You should be able to build a rawhide image no matter what. If
>         not, then
>         rawhide might be b0rked. 2.0.4.1-2 is the latest official
>         release. You
>         are always welcome to live on the edge and build from the git
>         tree.
>         
>         >
>         > As far as --debug, just run "revisor --debug" from terminal
>         right?
>         
>         Yes, this will enable much more verbosity and should tell you
>         why and
>         what is failing. At least what. I welcome you to bring this to
>         the
>         revisor-users or revisor-devel list:
>         http://lists.fedoraunity.org/
>         unless we are not OT on this list.
>         
>         Jonathan Steffan
>         daMaestro
>         
>         
>         --
>         fedora-test-list mailing list
>         fedora-test-list at redhat.com
>         To unsubscribe: 
>         https://www.redhat.com/mailman/listinfo/fedora-test-list
> 
> 
> Here is some debug  output from doing a  rawhide.x86_64 build
> 
>  
> 
> Downloading libart_lgpl-2.3.19-2.fc7.x86_64.rpm
> Downloading e2fsprogs-libs-1.40.2-2.fc8.i386.rpm
> Setting Live Media Ext3 Filesystem Size to 3002 MB
> BWUHAHAHAHAHAHA
> Initting progress bar for Setting up Ext3 Filesystem 
> mke2fs 1.39 (29-May-2006)
> Filesystem label=livecd-20070719
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> 384768 inodes, 768512 blocks
> 7685 blocks (1.00%) reserved for the super user 
> First data block=0
> Maximum filesystem blocks=788529152
> 24 block groups
> 32768 blocks per group, 32768 fragments per group
> 16032 inodes per group
> Superblock backups stored on blocks: 
>         32768, 98304, 163840, 229376, 294912 
> 
> Writing inode tables: done                            
> Creating journal (16384 blocks): done
> Writing superblocks and filesystem accounting information: done
> 
> This filesystem will be automatically checked every 36 mounts or 
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
> tune2fs 1.39 (29-May-2006)
> Setting maximal mount count to -1
> Setting interval between checks to 0 seconds
> No Repositories Available to Set Up 
> No Repositories Available to Set Up
> End of setup
> Initting progress bar for Installing Packages
> Running package installation
> Succesfully built transaction: ret 2, msg Success - deps resolved
> Installing rsyslog 
> error: %unknownscript(rsyslog-1.17.0-1.fc8.x86_64) scriptlet failed,
> exit status 255

Ok, here we see that the issue is not Revisor, it is rawhide. rsyslog
fails to install... and thus we end up with a mess. This would be a good
bug to file against the rawhide rsyslog.


> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/revisor/ready_screen.py",
> line 168, in button_forward_clicked 
>     self.gui.displayBuildMedia()
>   File "/usr/lib/python2.5/site-packages/revisor/gui.py", line 272, in
> displayBuildMedia
>     self.BuildMedia.start()
>   File "/usr/lib/python2.5/site-packages/revisor/build_media.py", line
> 69, in start 
>     self.base.lift_off()
>   File "/usr/lib/python2.5/site-packages/revisor/base.py", line 532,
> in lift_off
>     self.buildLiveMedia()
>   File "/usr/lib/python2.5/site-packages/revisor/base.py", line 912,
> in buildLiveMedia 
>     liveImage.installPackages(pbar = pbar)
>   File "/usr/lib/python2.5/site-packages/revisor/lm_optical.py", line
> 65, in installPackages
>     self.runInstall(pbar = pbar)
>   File "/usr/lib/python2.5/site-packages/revisor/lm_optical.py", line
> 105, in runInstall 
>     tserrors = self.cfg.yumobj.runTransaction(tsprog)
>   File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 540,
> in runTransaction
>     errors = self.ts.run(cb.callback, '')
>   File "/usr/lib/python2.5/site-packages/revisor/progress.py", line
> 213, in callback 
>     self.progress.set_fraction(self.num / self.total * (1 - PREP) +
> PREP)
> TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'

We maybe should catch this issue and gracefully tell the user that
something b0rked.


> 
> 
> The only log that I see is zero bites.
> 
> # ls -l /var/tmp/revisorrevisor-yum.log 
> -rw-rw-r-- 1 root root 0 2007-07-19
> 09:01 /var/tmp/revisorrevisor-yum.log

Sorry, the log is /var/log/revisor.log

Jonathan Steffan
daMaestro





More information about the fedora-test-list mailing list