Red Hat Bugzilla – Bug 449123
re-compile of source rpm fails
Last modified: 2018-04-11 09:28:16 EDT
Description of problem:
Re-compile of source rpm failed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpmbuild --rebuild --target=i686 --sign compiz-0.7.2-3.fc9.src.rpm
Compile fails because kdecoration_p.h and kdecoration_plugins_p.h are missed.
Re-compile without errors about missed header files.
"g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/lib/qt-3.3/include -I/usr/include/kde
-falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -pipe
-march=i686 -mtune=i686 -Wall -D_FORTIFY_SOURCE=2 -MT window.moc.o -MD -MP -MF
.deps/window.moc.Tpo -c -o window.moc.o window.moc.cpp"
"In file included from window.moc.cpp:11:
window.h:27:27: error: kdecoration_p.h: No such file or directory"
"In file included from window.h:37,
options.h:27:25: error: kdecoration.h: No such file or directory"
"In file included from decorator.moc.cpp:11:
decorator.h:37:35: error: kdecoration_plugins_p.h: No such file or directory
decorator.h:38:27: error: kdecoration_p.h: No such file or directory"
# locate kdecoration
kdecoration.h is /usr/include/kde4/, but this file couldn't be found.
I can't find any source package for Fedora 9 which contains kdecoration_p.h or
Could you please attach here complete log of the attempt to build? I.e., run
rpmbuild --rebuild --target=i686 --sign compiz-0.7.2-3.fc9.src.rpm \
and then attach rpmbuild-log.txt to this bug.
Created attachment 308547 [details]
Same error after an update to latest kdebase3-3.5.9-15, kdelibs3-3.5.9-15
*-devel. I have compared local installed packages to the one of fedora mock
build... Don't understand why the build there doesn't fails...
I think the .configure.in detects some obsolete header files for kde4...
I fixed this in rawhide.
The problem is that configure finds the kde3-libs and try to build against them.
The fix is to pass --disable-kde to configure. The result is that only the kde4
libs are used. This does not happen in the buildsys because the kde3 packages
are not in the buildroot.
The fixed configure looks like this (you can do this to continue building it in F9):
o.k. as I understand this was a missed configure option of the specfile. Sounds
good. I'll rebuild.