>>> On 2/4/2016 at 01:31 PM, Neale Ferguson <ne...@sinenomine.net> wrote: 
> I am building an RPM that uses python. For some reason the rpm build
> process determines that python3 is required by the package, despite no
> reference being made to python3 and everything being built by python2.7.
> Here*s the line from the build that rpm build prints:
> 
> Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/python /usr/bin/python3
> python(abi) = 2.7
> 
> 
> I have built several python packages using rpmbuild but this is the only
> one coming up with this dependency.

Do you have /usr/bin/python3 on your system?  If so, you'll likely have to 
remove it until after the build is finished.  I've found that even building 
packages without RPM sometimes necessitates this because things like 
./configure find packages that I don't want used.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to