Skip to content

Instantly share code, notes, and snippets.

@aaronr
Created December 14, 2014 22:41
Show Gist options
  • Save aaronr/e3f19664965b1c4fbb86 to your computer and use it in GitHub Desktop.
Save aaronr/e3f19664965b1c4fbb86 to your computer and use it in GitHub Desktop.
Downloading/unpacking cracklib==2.8.19 (from -r requirements.txt (line 65))
Downloading cracklib-2.8.19.tar.gz
Running setup.py egg_info for package cracklib
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./erma/lib/python2.6/site-packages (from python-daemon==1.6->-r requirements.txt (line 48))
Installing collected packages: cracklib
Running setup.py install for cracklib
building '_cracklibmodule' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/local/include -I/usr/include -I/usr/include/gdal -fPIC -I../lib -I/usr/include/python2.6 -c _cracklibmodule.c -o build/temp.linux-x86_64-2.6/_cracklibmodule.o
_cracklibmodule.c:40:19: error: crack.h: No such file or directory
_cracklibmodule.c: In function ‘_cracklib_FascistCheck’:
_cracklibmodule.c:122: warning: implicit declaration of function ‘GetDefaultCracklibDict’
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
/usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘int’
_cracklibmodule.c:122: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
/usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
_cracklibmodule.c:122: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast
/usr/include/bits/string2.h:1303: note: expected ‘const char *’ but argument is of type ‘int’
_cracklibmodule.c:151: warning: implicit declaration of function ‘FascistCheck’
_cracklibmodule.c:151: warning: assignment makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1
Complete output from command /data/erma/erma/venv/erma/bin/python -c "import setuptools;__file__='/data/erma/erma/venv/erma/build/cracklib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AFmBRd-record/install-record.txt --single-version-externally-managed --install-headers /data/erma/erma/venv/erma/include/site/python2.6:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.6
copying cracklib.py -> build/lib.linux-x86_64-2.6
running build_ext
building '_cracklibmodule' extension
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/local/include -I/usr/include -I/usr/include/gdal -fPIC -I../lib -I/usr/include/python2.6 -c _cracklibmodule.c -o build/temp.linux-x86_64-2.6/_cracklibmodule.o
_cracklibmodule.c:40:19: error: crack.h: No such file or directory
_cracklibmodule.c: In function ‘_cracklib_FascistCheck’:
_cracklibmodule.c:122: warning: implicit declaration of function ‘GetDefaultCracklibDict’
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: cast to pointer from integer of different size
_cracklibmodule.c:122: warning: passing argument 1 of ‘strlen’ makes pointer from integer without a cast
/usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘int’
_cracklibmodule.c:122: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
/usr/include/bits/string3.h:49: note: expected ‘const void * __restrict__’ but argument is of type ‘int’
_cracklibmodule.c:122: warning: passing argument 1 of ‘__strdup’ makes pointer from integer without a cast
/usr/include/bits/string2.h:1303: note: expected ‘const char *’ but argument is of type ‘int’
_cracklibmodule.c:151: warning: implicit declaration of function ‘FascistCheck’
_cracklibmodule.c:151: warning: assignment makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /data/erma/erma/venv/erma/bin/python -c "import setuptools;__file__='/data/erma/erma/venv/erma/build/cracklib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AFmBRd-record/install-record.txt --single-version-externally-managed --install-headers /data/erma/erma/venv/erma/include/site/python2.6 failed with error code 1 in /data/erma/erma/venv/erma/build/cracklib
Traceback (most recent call last):
File "/data/erma/erma/venv/erma/bin/pip", line 9, in <module>
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File "/data/erma/erma/venv/erma/lib/python2.6/site-packages/pip/__init__.py", line 148, in main
return command.main(args[1:], options)
File "/data/erma/erma/venv/erma/lib/python2.6/site-packages/pip/basecommand.py", line 169, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
patching file erma/lib/python2.6/site-packages/paste/cgiapp.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment