#352 Got an error from /usr/bin/xsltproc
Closed: Fixed Opened by lfarkas.

revisor-2.1.1-7.fc9.noarch give this error during iso generation:
SELinux on this host is disabled. Composed media will not have SELinux, and as a result the system you install from the composed media will not have SELinux either.
Loading Repositories: ######################################## 100.0%
Select kickstart packages: 0.0% Package sysreport is obsoleted by sos, trying to install sos-1.7-9.2.el5_2.2.noarch instead
Select kickstart packages: ######################################## 100.0%
Resolving Dependencies: ######################################## 100.0% The following packages were excluded using the kickstart package manifest, but were included for dependency resolving:
- libnotify
- specspo
- dump
- notification-daemon
- system-config-securitylevel-tui
- wireless-tools
- libIDL
- aspell
- libFS
- syslinux
- rmt
- libwnck
- system-config-network-tui
- authconfig
- firstboot-tui
- ORBit2
- mtools
- rsh
- portmap
- aspell-en
- pcmciautils
- startup-notification
- sendmail
- GConf2
- kudzu
- tcsh
- rhpl
- kernel-xen
Resolving Dependencies: ######################################## 100.0%
Populating statistics: ######################################## 100.0%
Downloading Packages: ######################################## 100.0%
Linking in packages: ######################################## 100.0%
Creating Repository Information: 0.0% Got an error from /usr/bin/xsltproc (return code 4)


a bit more detail info:
Running command: /usr/bin/xsltproc --novalid -o /var/tmp/revisor-pungi/4/v4-i386/comps.xml /usr/share/revisor/comps/comps-cleanup.xsl /var/tmp/revisor-pungi/4/v4-i386/comps.xml
Extra information: /var/tmp/revisor-rundir False None
Got an error from /usr/bin/xsltproc (return code 4)
there is no such file as:
/usr/share/revisor/comps/comps-cleanup.xsl :-(

a bit more detail info:
Running command: /usr/bin/xsltproc --novalid -o /var/tmp/revisor-pungi/4/v4-i386/comps.xml /usr/share/revisor/comps/comps-cleanup.xsl /var/tmp/revisor-pungi/4/v4-i386/comps.xml
Extra information: /var/tmp/revisor-rundir False None
Got an error from /usr/bin/xsltproc (return code 4)
there is no such file as:
/usr/share/revisor/comps/comps-cleanup.xsl :-(

and here is a simple fix for it:
diff -up ./revisor/pungi.py.lfarkas ./revisor/pungi.py
--- ./revisor/pungi.py.lfarkas 2008-10-29 18:37:31.000000000 +0100
+++ ./revisor/pungi.py 2008-10-29 18:37:45.000000000 +0100
@@ -179,7 +179,7 @@ class RevisorPungi:
compsfilter = ['/usr/bin/xsltproc', '--novalid']
compsfilter.append('-o')
compsfilter.append(comps)
- compsfilter.append('/usr/share/revisor/comps/comps-cleanup.xsl')
+ compsfilter.append('/usr/share/revisor/comps-cleanup.xsl')
compsfilter.append(comps)

     self.base.run_command(compsfilter)

and here is a simple fix for it:
diff -up ./revisor/pungi.py.lfarkas ./revisor/pungi.py
--- ./revisor/pungi.py.lfarkas 2008-10-29 18:37:31.000000000 +0100
+++ ./revisor/pungi.py 2008-10-29 18:37:45.000000000 +0100
@@ -179,7 +179,7 @@ class RevisorPungi:
compsfilter = ['/usr/bin/xsltproc', '--novalid']
compsfilter.append('-o')
compsfilter.append(comps)
- compsfilter.append('/usr/share/revisor/comps/comps-cleanup.xsl')
+ compsfilter.append('/usr/share/revisor/comps-cleanup.xsl')
compsfilter.append(comps)

     self.base.run_command(compsfilter)

An update has been submitted. Please reopen this bug if this issue still occurs.

An update has been submitted. Please reopen this bug if this issue still occurs.

Metadata Update from @lfarkas:
- Issue set to the milestone: 2.1.0 Release

Metadata