Red Hat Bugzilla – Bug 190322
Rebuild from SRPM fails to check for dependency libXxf86dga-devel
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
kdemultimedia-3.5.2-0.1.fc5.src.rpm fails to check for dependency
libXxf86dga-devel, which is needed during build time.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
simply type 'rpmbuild --rebuild kdemultimedia-3.5.2-0.1.fc5.src.rpm' on any
system that does not have libXxf86dga-devel installed.
The build process exits on error.
The package should build properly.
kdemultimedia built fine here without installed libXxf86dga-devel.
The output of "rpm -q --requires kdemultimedia" does not show the requirement on
libXxf86dga! Could you please attach the log file of your rebuild? Thanks
I'm sorry. I left out some information, but this should clear up the nature
of the bug.
I did make a few, slight modifications to the SPEC file, so it isn't the exact
same out-of-the-box SPEC file that you are distributing. I realize you may
view this as unsupported; however, the primary change is the line "%define
build_mpeglib" from "0" to "1", and since the SPEC file has multiple areas of
conditional code based upon this field, it implies that the build should still
work if this field changes.
An exact list of the changes is in an attached diff file. I also realize that
with "%define build_mpeglib 1" the sources distributed with the SRPM need to
be replaced with the original, pristine, unpatched sources directly from KDE.
I did that.
I attached a list of installed packages at the time of the failed build. You
may find noteworthy that libXxf86dga is installed, but libXxf86dga-devel is
The attached build log confirms that under these conditions libXxf86dga-devel
is indeed required for building.
Due to the fact that this bug depends upon modifications to the original,
distributed SPEC file, I took the extra step of creating a proposed patch. The
patch tested OK on my computer.
I hope this helps, and I do hope this patch is integrated into your SPEC file
and not just brushed aside as unsupported.
Created attachment 128596 [details]
Log of failed build.
Created attachment 128597 [details]
List of installed RPMS.
Created attachment 128598 [details]
diff of changes I made to the SPEC file.
In addition to the changes specified in this diff file, I also substituted the
sources distributed with the SRPM with the original, pristine, unpatched
sources directly from KDE.
Created attachment 128599 [details]
Proposed patch to kdemultimedia.spec.
i have overlooked the mpeg stuff here. Of course, this build requirement will be
included in next kde rebuild. Thanks again for your report.