Bug 80303

Summary: SRPMS: install failed due to missed doc/*.png files
Product: [Retired] Red Hat Linux Reporter: Sysoltsev Slawa <vyatcheslav.sysoltsev>
Component: libxsltAssignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-24 10:23:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for .spec which removes doc/*.png from %doc list none

Description Sysoltsev Slawa 2002-12-24 09:40:22 UTC
Description of problem:
Trying to build & install libxslt from sources I've got such error:

Executing(%doc): /bin/sh -
e /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/rpm-tmp.20310
+ umask 022
+ cd /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/BUILD
+ cd libxslt-1.0.19
+ DOCDIR=/netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19-
root/usr/share/doc/libxslt-1.0.19
+ export DOCDIR
+ rm -rf /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19-
root/usr/share/doc/libxslt-1.0.19
+ /bin/mkdir -p /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-
1.0.19-root/usr/share/doc/libxslt-1.0.19
+ cp -pr AUTHORS ChangeLog NEWS README Copyright TODO 
FEATURES /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19-r
oot/usr/share/doc/libxslt-1.0.19
+ cp -pr doc/APIchunk0.html doc/APIchunk1.html doc/APIchunk2.html 
doc/APIchunk3.html doc/APIchunk4.html doc/APIchunk5.html doc/API
chunk6.html doc/APIconstructors.html doc/APIfiles.html doc/APIfunctions.html 
doc/API.html doc/APIsymbols.html doc/bugs.html doc/co
ntribs.html doc/docbook.html doc/docs.html doc/downloads.html 
doc/extensions.html doc/FAQ.html doc/help.html doc/index.html doc/in
ternals.html doc/intro.html doc/news.html doc/python.html doc/xslt.html 
doc/xsltproc2.html doc/xsltproc.html doc/html doc/tutorial
 doc/contexts.gif doc/node.gif doc/object.gif doc/processing.gif doc/redhat.gif 
doc/smallfootonly.gif doc/stylesheet.gif doc/templ
ates.gif 'doc/*.png' /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-
1.0.19-root/usr/share/doc/libxslt-1.0.19
cp: cannot stat `doc/*.png': No such file or directory
error: Bad exit status 
from /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/rpm-tmp.20310 (%doc)

In package is no doc/*.png files so error is emitted by rpm. You should remove 
this entry from %doc section from .spec file.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. rpm -bb libxslt.spec

    
Actual results:
Installation error

Expected results:
Succesfully built & installed package

Additional info:

Comment 1 Sysoltsev Slawa 2002-12-24 09:41:31 UTC
Created attachment 88884 [details]
Patch for .spec which removes doc/*.png from %doc list

Comment 2 Daniel Veillard 2002-12-24 10:23:27 UTC
Already fixed in RawHide and on the public releases of libxslt 1.0.23
you can find at ftp://xmlsoft.org/ with my signature on it.

Daniel Veillard