Qwt 6

Sonic get.sonic at gmail.com
Tue Aug 14 15:19:04 UTC 2012


On 08/13/2012 11:11 PM, Rex Dieter wrote:
>
> It's currently pending pkg review:
>
> See
> https://bugzilla.redhat.com/show_bug.cgi?id=697168
> and
> https://bugzilla.redhat.com/show_bug.cgi?id=697168
>
> (well, qwt5 needs to be reviewed first, then qwt(6) can proceed)

I tried building Qwt 6 from http://rdieter.fedorapeople.org/rpms/qwt/ on 
an RHEL machine. I had to comment out "BuildRequires: pkgconfig(QtGui) 
pkgconfig(QtSvg)" and also add "Group:" entries for each package (qwt, 
qwt-devl & qwt-doc).
And after running in to a few errors, I also set the environment 
variable $RPM_BUILD_ROOT to a temporary directory before invoking 
rpmbuild. Now everything seemed to work fine, but towards the end, I 
still got the following errors:

Processing files: qwt-6.0.1-1
error: File not found by glob: /usr/lib/libqwt.so.6*
error: File not found by glob: /usr/lib/libqwtmathml.so.6*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.77223
+ umask 022
+ cd /home/syamcr/rpmbuild/BUILD
+ cd qwt-6.0.1
+ DOCDIR=/tmp/ert/usr/share/doc/qwt-6.0.1
+ export DOCDIR
+ rm -rf /tmp/ert/usr/share/doc/qwt-6.0.1
+ /bin/mkdir -p /tmp/ert/usr/share/doc/qwt-6.0.1
+ cp -pr COPYING /tmp/ert/usr/share/doc/qwt-6.0.1
+ cp -pr CHANGES README /tmp/ert/usr/share/doc/qwt-6.0.1
+ exit 0
error: File not found: /usr/share/doc/qwt-6.0.1
Processing files: qwt-devel-6.0.1-1
error: File not found: /usr/lib/libqwtmathml.so
error: File not found by glob: /usr/lib/qt4/mkspecs/features/qwt*
Processing files: qwt-doc-6.0.1-1
error: File not found: /usr/share/doc/qt4/html/qwt
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}


RPM build errors:
     File not found by glob: /usr/lib/libqwt.so.6*
     File not found by glob: /usr/lib/libqwtmathml.so.6*
     File not found: /usr/share/doc/qwt-6.0.1
     File not found: /usr/lib/libqwtmathml.so
     File not found by glob: /usr/lib/qt4/mkspecs/features/qwt*
     File not found: /usr/share/doc/qt4/html/qwt

----------------------------------

I'm not an expert in building RPMs, but as far as I can see, the errors 
seem to be coming from the %files section.
I compared qwt spec file with a hand-crafted spec file for another 
package I created and all entries seem to be okay.


Can anybody tell me what I'm missing here?


regards,

Syam



More information about the kde mailing list