Re: Creating RPM on AIX

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

 



On 02/15/2015 04:32 PM, Blaxton wrote:
> 
> 
> Hi
> 
> I am trying to make Python RPM for AIX and getting rpmlib versin
> dependencies error
> but not sure which package has version of 3.0.3.1.
> 
> Below is the error I am receiving :
> Processing files: python-devel-3.4.2-AIX71
> File not found by glob:
> /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
> File not found:
> /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
> PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
> Processing files: python-tools-3.4.2-AIX71
> File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
> File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py
> PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71
> 
> 
> rpm --showrc -ba Python-3.4.spec shows below:
> Features supported by rpmlib:
>     rpmlib(VersionedDependencies) = 3.0.3-1
>     PreReq:, Provides:, and Obsoletes: dependencies support versions.
>     rpmlib(CompressedFileNames) = 3.0.4-1
>     file names stored as (dirName,BaseName,dirIndex) tuple, not as path.
>     rpmlib(PayloadIsBzip2) = 3.0.5-1
>     package payload compressed using bzip2.
>     rpmlib(PayloadFilesHavePrefix) = 4.0-1
>     package payload files have "./" prefix.
> 
> 
> 
> 
> running rpm -bl Python-3.4.spec show below missing files as well as
> rpmlib version dependencies:
> 
> rpm -bl /opt/freeware/src/packages/SPECS/python-3.4.spec
> Processing files: python-3.4.2-AIX71
> File not found by glob:
> /var/opt/freeware/tmp/python-3.4.2-root/opt/freeware/man/man1/python.1*
> File not found:
> /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4
> Processing files: python-devel-3.4.2-AIX71
> File not found by glob:
> /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
> File not found:
> /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
> PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
> Processing files: python-tools-3.4.2-AIX71
> File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
> File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py

These is the actual problems. You must make sure all files mentioned in
the %files sections are actually in the install root (after the %install
section is run).


> PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71

This is likely just debug output. 3.0.3-1 is the very ancient rpm
version when versioned dependencies were added in the current form.
rpmbuild is just telling you that it adds the dependency on the rpm
feature automatically.

Florian

-- 

Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list




[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux