[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

getOutputFrom(): Broken pipe



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I get this error when building a docs package in conjunction with a couple
of other packages. I am running RedHat 8.0.

These are the relevant parts of the spec file. (The whole spec file is
attached. You can find the sources easy enough at
http://www.river-bank.demon.co.uk/download/PyQt/PyQt-x11-gpl-3.5.tar.gz/)

# Here's where I define the docs package
%package docs
Summary: PyQt Documentation
Group: Development/Languages
%description docs
This is the documentation for PyQt.

# Later on, I declare the files...
%files docs
%defattr(-,root,root)
%doc doc/PyQt/*.html

The output is normal, and even with --verbose there are no hints as to what
went wrong. This is the output from a couple of lines before. This occurs
after the builing and installing is succesful, and it is trying to find the
files and put them together.

Processing files: PyQt-docs-3.5-1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.18491
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd PyQt-x11-gpl-3.5
+ DOCDIR=/usr/share/doc/PyQt-docs-3.5
+ export DOCDIR
+ rm -rf /usr/share/doc/PyQt-docs-3.5
+ /bin/mkdir -p /usr/share/doc/PyQt-docs-3.5
+ cp -pr doc/PyQt/index.html doc/PyQt/t1.html doc/PyQt/x112.html
doc/PyQt/x148.html doc/PyQt/x232.html doc/PyQt/x253.html doc/PyQt/x260.html
doc/PyQt/x265.html doc/PyQt/x274.html doc/PyQt/x3159.html
doc/PyQt/x3244.html doc/PyQt/x3275.html doc/PyQt/x3348.html
doc/PyQt/x3444.html doc/PyQt/x3559.html doc/PyQt/x3582.html
/usr/share/doc/PyQt-docs-3.5
+ exit 0
Finding  Provides: /usr/lib/rpm/find-provides
Finding  Requires: /usr/lib/rpm/find-requires
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames)
<= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
getOutputFrom(): Broken pipe

This is not happening just for this one package; it is happening for others
that are similar in structure. A workaround is to comment out the 'docs'
package sections. However, this is a very poor workaround. I have also
tried to spell out the %doc macro, but I decided that would be too
difficult to maintain in the long run.

I am still new at building RPMs, although I have been successful at making
several (around 20) in the RedHat 7.3 environment. This seems to be unique
to RedHat 8.0. Is there some new features in RPM that I am not using, or
using improperly? Is this a bug that is being addressed?

- - --
Jonathan Gardner
jgardner@jonathangardner.net
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Yi2YWgwF3QvpWNwRAtvBAJ9w/kceXNpmGT4sMLp+kSP3E+qmggCeNpM+
Q8AMbKB+kx1y91Ap578S6J8=
=5UyO
-----END PGP SIGNATURE-----
Summary: Python bindings for Qt
Name: PyQt
Version: 3.5
Release: 1
URL: http://www.riverbankcomputing.co.uk/pyqt/index.php
Source: %{name}-x11-gpl-%{version}.tar.gz
License: GPL
Group: Development/Languages
Buildrequires: python2-devel = 2.2.1, qt-devel = 3.0.5, sip-devel = 3.5-1, qscintilla-devel = 1.49
Requires: python2 = 2.2.1, qt = 3.0.5, sip = 3.5-1
%description
These are the Python bindings for Qt. Also included is 'pyuic', a tool to
compile uic files that come from Qt Designer into Python code.

%package devel
Summary: Qt sip files.
Group: Development/Languages
%description devel
These are the sip files needed to create your own C++ Qt object to be used in
Python.

#%package docs
#Summary: PyQt Documentation
#Group: Development/Languages
#%description docs
#This is the documentation for PyQt.

%prep
%setup -q -n %{name}-x11-gpl-%{version}

%build
# We will answer yes to the license question
echo 'yes' |python2 build.py -b /usr/bin -c -l qt-mt -m /usr/bin/make
make

%install
make install
install -d /usr/share/sip/qt
install -m 0644 sip/* /usr/share/sip/qt

%files
%defattr(-,root,root)
%doc LICENSE README README.Linux NEWS THANKS
/usr/bin/pyuic
/usr/bin/pylupdate
/usr/lib/python2.2/site-packages/qt.py
/usr/lib/python2.2/site-packages/qt.pyc
/usr/lib/python2.2/site-packages/libqtcmodule.so
/usr/lib/python2.2/site-packages/libqtcmodule.so.1
/usr/lib/python2.2/site-packages/libqtcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtcmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtcanvas.py
/usr/lib/python2.2/site-packages/qtcanvas.pyc
/usr/lib/python2.2/site-packages/libqtcanvascmodule.so
/usr/lib/python2.2/site-packages/libqtcanvascmodule.so.1
/usr/lib/python2.2/site-packages/libqtcanvascmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtcanvascmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtext.pyc
/usr/lib/python2.2/site-packages/qtext.pyc
/usr/lib/python2.2/site-packages/libqtextcmodule.so
/usr/lib/python2.2/site-packages/libqtextcmodule.so.1
/usr/lib/python2.2/site-packages/libqtextcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtextcmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtgl.py
/usr/lib/python2.2/site-packages/qtgl.pyc
/usr/lib/python2.2/site-packages/libqtglcmodule.so
/usr/lib/python2.2/site-packages/libqtglcmodule.so.1
/usr/lib/python2.2/site-packages/libqtglcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtglcmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtnetwork.py
/usr/lib/python2.2/site-packages/qtnetwork.pyc
/usr/lib/python2.2/site-packages/libqtnetworkcmodule.so
/usr/lib/python2.2/site-packages/libqtnetworkcmodule.so.1
/usr/lib/python2.2/site-packages/libqtnetworkcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtnetworkcmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtsql.py
/usr/lib/python2.2/site-packages/qtsql.pyc
/usr/lib/python2.2/site-packages/libqtsqlcmodule.so
/usr/lib/python2.2/site-packages/libqtsqlcmodule.so.1
/usr/lib/python2.2/site-packages/libqtsqlcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtsqlcmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qttable.py
/usr/lib/python2.2/site-packages/qttable.pyc
/usr/lib/python2.2/site-packages/libqttablecmodule.so
/usr/lib/python2.2/site-packages/libqttablecmodule.so.1
/usr/lib/python2.2/site-packages/libqttablecmodule.so.1.0
/usr/lib/python2.2/site-packages/libqttablecmodule.so.1.0.0
/usr/lib/python2.2/site-packages/qtxml.py
/usr/lib/python2.2/site-packages/qtxml.pyc
/usr/lib/python2.2/site-packages/libqtxmlcmodule.so
/usr/lib/python2.2/site-packages/libqtxmlcmodule.so.1
/usr/lib/python2.2/site-packages/libqtxmlcmodule.so.1.0
/usr/lib/python2.2/site-packages/libqtxmlcmodule.so.1.0.0

%files devel
%defattr(-,root,root)
/usr/share/sip/qt/*

#%files docs
#%defattr(-,root,root)
#%doc doc/PyQt/*.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []