xpra icon
Bug tracker and wiki

Opened 6 years ago

Closed 6 years ago

#687 closed defect (fixed)

python-lz4 BuildRequires python-setuptools

Reported by: pyther Owned by: pyther
Priority: minor Milestone:
Component: core Version: trunk
Keywords: Cc:

Description

The python-lz4 spec should have BuildRequires?: python-setuptools.

Mock Build Log

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps  builddir/build/SPECS/python-lz4.spec'], False, '/var/lib/mock/fedora-20-x86_64/root/', None, 0, True, False, 1000, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x1c2d710>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps  builddir/build/SPECS/python-lz4.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pl0rhL
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf lz4-0.7.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/lz4-0.7.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lz4-0.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uR4gce
+ umask 022
+ cd /builddir/build/BUILD
+ cd lz4-0.7.0
+ export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic'
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic'
+ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup, find_packages, Extension
ImportError: No module named setuptools
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.uR4gce (%build)
    Bad exit status from /var/tmp/rpm-tmp.uR4gce (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps  builddir/build/SPECS/python-lz4.spec']

Change History (2)

comment:1 Changed 6 years ago by Antoine Martin

Owner: changed from Antoine Martin to pyther

Added in r7742 (untested). Does that fix things?

comment:2 Changed 6 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Not heard back, closing.

Note: See TracTickets for help on using tickets.