Bug 44732

Summary: dia SRPM needs build dependency on libxml-devel
Product: [Retired] Red Hat Linux Reporter: Jay Turner <jturner>
Component: diaAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: srevivo
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: 2001-07-19 13:53:22 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:

Description Glen Foster 2001-06-15 19:34:27 UTC
Description of Problem: with the 7.1 product, you cannot build the dia SRPM
without having libxml-devel installed.   But, if "rpm -ba
/usr/src/redhat/SPECS/dia*spec" is executed, you do NOT get an error from
rpm about missing/unsatisfied build dependencies.  If you install the
libxml-devel rpm, the dia SRPM builds without problems.

 How Reproducible: Always

 Steps to Reproduce:
 1. rpm -e libxml-devel
 2. rpm -Uvh <tree-path>/SRPMS/dia*.src.rpm
 3. rpm -ba /usr/src/redhat/SPECS/dia*spec
 4. rpm -Uvh <tree-path>/RedHat/RPMS/libxml-devel*
 5. rpm -ba /usr/src/redhat/SPECS/dia*spec

 Actual Results:
 first 3 steps result in a failure WITHOUT a build-requires error from
rpm(1)
 next 2 steps build the SRPM without fail


 Expected Results: I would expect an rpm error message to be written to
stderr informing me the dia SRPM cannot be built without installing the
libxml-devel RPM.

Additional Information:

Comment 1 Havoc Pennington 2001-06-15 19:57:05 UTC
Added some BuildRequires in rawhide

Comment 2 Glen Foster 2001-07-19 13:53:16 UTC
Sorry, I tested this incompletely last time and I have discovered more missing
build-dependencies.  In addition to the current set of build-dependencies, the
dia SRPM also needs dependencies for:

	gdk-pixbuf-devel
	gnome-libs-devel

This defect should be fixed before the next release, and preferably before the
next public beta.

Comment 3 Havoc Pennington 2001-07-19 19:02:12 UTC
Dia 0.88.1-3 has these new requirements