PyECLib 1.0.9 released on 9/10 blowing up grenade jobs due to "src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such file or directory"

Bug #1494347 reported by Matt Riedemann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Gate
Fix Released
Undecided
Unassigned
Matt Riedemann (mriedem)
summary: - PyECLib 0.9.0 released on 9/10 blowing up grenade jobs due to
+ PyECLib 1.0.9 released on 9/10 blowing up grenade jobs due to
"src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such
file or directory"
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Hari Rawat (rawat-hari25) wrote :
Download full text (3.7 KiB)

I i try to revert t0 pyeclib==1.0.7 then i am not able to install pyeclib-1.0.7 and get below error

hari@hari-VirtualBox:~$ cat swift/requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

dnspython>=1.9.4
eventlet>=0.16.1,!=0.17.0
greenlet>=0.3.1
netifaces>=0.5,!=0.10.0,!=0.10.1
pastedeploy>=1.3.3
simplejson>=2.0.9
six>=1.9.0
xattr>=0.4
PyECLib==1.0.7
hari@hari-VirtualBox:~$

hari@hari-VirtualBox:~$
hari@hari-VirtualBox:~$ pip install pyeclib==1.0.7
Downloading/unpacking pyeclib==1.0.7
  Downloading PyECLib-1.0.7.tar.gz (8.4MB): 8.4MB downloaded
  Running setup.py (path:/tmp/pip_build_hari/pyeclib/setup.py) egg_info for package pyeclib

Installing collected packages: pyeclib
  Running setup.py install for pyeclib
    building 'pyeclib_c' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR VERSION=0 -DMINOR VERSION=9 -I/usr/include/python2.7 -I/usr/local/include -I/usr/local/include/jerasure -I/usr/include -Isrc/c/pyeclib_c -I/usr/local/include -I/usr/include/python2.7 -c src/c/pyeclib_c/pyeclib_c.c -o build/temp.linux-x86_64-2.7/src/c/pyeclib_c/pyeclib_c.o
    src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such file or directory
     #include <erasurecode.h>
                             ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_hari/pyeclib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fwuxuY-record/install-record.txt --single-version-externally-managed --compile:
    running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/pyeclib

copying pyeclib/__init__.py -> build/lib.linux-x86_64-2.7/pyeclib

copying pyeclib/ec_iface.py -> build/lib.linux-x86_64-2.7/pyeclib

copying pyeclib/core.py -> build/lib.linux-x86_64-2.7/pyeclib

copying pyeclib/enum.py -> build/lib.linux-x86_64-2.7/pyeclib

copying pyeclib/utils.py -> build/lib.linux-x86_64-2.7/pyeclib

running build_ext

building 'pyeclib_c' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/src

creating build/temp.linux-x86_64-2.7/src/c

creating build/temp.linux-x86_64-2.7/src/c/pyeclib_c

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR VERSION=0 -DMINOR VERSION=9 -I/usr/include/python2.7 -I/usr/local/include -I/usr/local/include/jerasure -I/usr/include -Isrc/c/pyeclib_c -I/usr/local/include -I/usr/include/python2.7 -c src/c/pyeclib_c/pyeclib_c.c -o build/temp.linux-x86_64-2.7/src/c/pyeclib_c/pyeclib_c.o

src/c/pyeclib_c/pyeclib_c.c:32:25: fatal error: erasurecode.h: No such file or directory

 #include <erasurecode.h>

                         ^

compilation terminated.

error: command '...

Read more...

Revision history for this message
Matt Riedemann (mriedem) wrote :

Fixed in pyeclib-1.1.1.

Changed in openstack-gate:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.