Skip to content

Instantly share code, notes, and snippets.

@qwcode
Created May 30, 2014 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qwcode/569afafab50e35bdd0d1 to your computer and use it in GitHub Desktop.
Save qwcode/569afafab50e35bdd0d1 to your computer and use it in GitHub Desktop.
(VE)qwcode@qwcode:/tmp$ VE/bin/pip install pip==1.5.5
Downloading/unpacking pip==1.5.5
Downloading pip-1.5.5-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.5.6
Uninstalling pip:
Successfully uninstalled pip
Successfully installed pip
Cleaning up...
(VE)qwcode@qwcode:/tmp$ VE/bin/pip install --allow-external ctypes --allow-unverified ctypes ctypes
Downloading/unpacking ctypes
ctypes an externally hosted file and may be unreliable
ctypes is potentially insecure and unverifiable.
Downloading ctypes-1.0.2.tar.gz (385kB): 385kB downloaded
Running setup.py (path:/tmp/VE/build/ctypes/setup.py) egg_info for package ctypes
warning: no files found matching 'MANIFEST'
warning: no files found matching 'NEWS.txt'
warning: no files found matching 'ctypes/.CTYPES_DEVEL'
Installing collected packages: ctypes
Running setup.py install for ctypes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 16
checking whether byte ordering is bigendian... no
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/ffi.h
config.status: creating fficonfig.py
config.status: creating fficonfig.h
config.status: linking /tmp/VE/build/ctypes/source/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status: linking /tmp/VE/build/ctypes/source/libffi/include/ffi_common.h to include/ffi_common.h
config.status: executing include commands
config.status: executing src commands
Configuring static FFI library:
cd build/temp.linux-x86_64-2.7/libffi && env CFLAGS='' '/tmp/VE/build/ctypes/source/libffi/configure'
building '_ctypes' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/_ctypes.c -o build/temp.linux-x86_64-2.7/source/_ctypes.o
source/_ctypes.c: In function ‘CDataType_in_dll’:
source/_ctypes.c:304:9: warning: format not a string literal and no format arguments [-Wformat-security]
source/_ctypes.c: In function ‘CFuncPtr_FromDll’:
source/_ctypes.c:2795:9: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/callbacks.c -o build/temp.linux-x86_64-2.7/source/callbacks.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/callproc.c -o build/temp.linux-x86_64-2.7/source/callproc.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/stgdict.c -o build/temp.linux-x86_64-2.7/source/stgdict.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/cfield.c -o build/temp.linux-x86_64-2.7/source/cfield.o
source/cfield.c: In function ‘CField_FromDesc’:
source/cfield.c:45:19: warning: variable ‘length’ set but not used [-Wunused-but-set-variable]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c source/malloc_closure.c -o build/temp.linux-x86_64-2.7/source/malloc_closure.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c /tmp/VE/build/ctypes/source/libffi/src/prep_cif.c -o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/prep_cif.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c /tmp/VE/build/ctypes/source/libffi/src/x86/ffi64.c -o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/ffi64.o
/tmp/VE/build/ctypes/source/libffi/src/x86/ffi64.c:45:9: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
/tmp/VE/build/ctypes/source/libffi/src/x86/ffi64.c:342:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c /tmp/VE/build/ctypes/source/libffi/src/x86/unix64.S -o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/unix64.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c /tmp/VE/build/ctypes/source/libffi/src/x86/ffi.c -o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/ffi.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/tmp/VE/build/ctypes/source/libffi/src -I/usr/include/python2.7 -c /tmp/VE/build/ctypes/source/libffi/src/x86/sysv.S -o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/sysv.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC build/temp.linux-x86_64-2.7/source/_ctypes.o build/temp.linux-x86_64-2.7/source/callbacks.o build/temp.linux-x86_64-2.7/source/callproc.o build/temp.linux-x86_64-2.7/source/stgdict.o build/temp.linux-x86_64-2.7/source/cfield.o build/temp.linux-x86_64-2.7/source/malloc_closure.o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/prep_cif.o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/ffi64.o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/unix64.o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/ffi.o build/temp.linux-x86_64-2.7/tmp/VE/build/ctypes/source/libffi/src/x86/sysv.o -o build/lib.linux-x86_64-2.7/_ctypes.so
building '_ctypes_test' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fPIC -I/usr/include/python2.7 -c source/_ctypes_test.c -o build/temp.linux-x86_64-2.7/source/_ctypes_test.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC build/temp.linux-x86_64-2.7/source/_ctypes_test.o -o build/lib.linux-x86_64-2.7/_ctypes_test.so
warning: no files found matching 'MANIFEST'
warning: no files found matching 'NEWS.txt'
warning: no files found matching 'ctypes/.CTYPES_DEVEL'
Successfully installed ctypes
Cleaning up...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment