Problems build 2.1.3 RPM on Mitel SME Server
Des Dougan
ddougan at telus.net
Mon Mar 24 23:17:02 EST 2003
I'm attempting, for the first time, to build an RPM for Python 2.1.3 on
the Mitel SME Server Linux distribution. My test box has all the
relevant compile tools and source RPMs, as far as I can tell. When I run
the rpm --rebuild command, it processes for a good 10 minutes or so,
before failing with the following:
Processing files: python2.1-2.1.3-1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.23129
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Python-2.1.3
+ DOCDIR=/var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ export DOCDIR
+ rm -rf /var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ /bin/mkdir -p /var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ cp -pr Misc/README Misc/HYPE Misc/cheatsheet Misc/unicode.txt
Misc/Porting /var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ cp -pr LICENSE Misc/ACKS Misc/BLURB.LUTZ Misc/BLURB.WINDOWS
Misc/HISTORY Misc/NEWS
/var/tmp/python2.1-2.1.3-root/usr/share/doc/python2.1-2.1.3
+ exit 0
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
error: line 328: Dependency tokens must begin with alpha-numeric, '_' or
'/': %defattr(-,root,root)
error: Failed to find Requires:
Provides: _codecs.so _curses.so _curses_panel.so _locale.so _socket.so
_symtable.so _testcapi.so _weakref.so array.so audioop.so binascii.so
bsddb.so cPickle.so cStringIO.so cmath.so crypt.so dbm.so errno.so
fcntl.so fpectl.so gdbm.so grp.so imageop.so linuxaudiodev.so math.so
md5.so mmap.so new.so nis.so operator.so parser.so pcre.so pwd.so
pyexpat.so regex.so resource.so rgbimg.so rotor.so select.so sha.so
strop.so struct.so syslog.so termios.so time.so timing.so unicodedata.so
xreadlines.so zlib.so
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
Requires: ld-linux.so.2 libc.so.6 libdl.so.2 libm.so.6 libpthread.so.0
libutil.so.1 libcrypt.so.1 libexpat.so.0 libgdbm.so.2 libncurses.so.5
libnsl.so.1 libpanel.so.5 libz.so.1
Processing files: python2.1-devel-2.1.3-1
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /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
Requires: python2.1 = 2.1.3 /bin/sh
Processing files: python2.1-tkinter-2.1.3-1
error: File not found by glob:
/var/tmp/python2.1-2.1.3-root/usr/lib/python2.1/lib-dynload/_tkinter.so*
Requires: python2.1 = 2.1.3-1
Processing files: python2.1-tools-2.1.3-1
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
error: line 328: Dependency tokens must begin with alpha-numeric, '_' or
'/': %defattr(-,root,root)
error: Failed to 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
Requires: python2.1 = 2.1.3-1
RPM build errors:
line 328: Dependency tokens must begin with alpha-numeric, '_' or
'/': %defattr(-,root,root)
Failed to find Requires:
File not found by glob:
/var/tmp/python2.1-2.1.3-root/usr/lib/python2.1/lib-dynload/_tkinter.so*
line 328: Dependency tokens must begin with alpha-numeric, '_' or
'/': %defattr(-,root,root)
Failed to find Requires:
I want 2.1.3, as I plan to test Plone, which currently does not support
Python 2.2. I'd be grateful for any feedback anyone can provide.
Des Dougan
More information about the Python-list
mailing list