You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user@disp5943:~/python3-netfilterqueue-packager$ bash -x ./build.sh
+ source build.conf
++ archive_sha256=f24c592a0d2e8b2233ee365528fc1f90f7e3d80cb35c09195e3aafe3d451eac5
++ archive_url=https://pypi.python.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz
++ package_version=0.7
+ cd src
+ ./build.sh https://pypi.python.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz f24c592a0d2e8b2233ee365528fc1f90f7e3d80cb35c09195e3aafe3d451eac5
[Build] Downloading archive, verifying sha256, and extracting...
--2019-10-06 15:38:15-- https://pypi.python.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz
Resolving pypi.python.org (pypi.python.org)... 151.101.8.223, 2a04:4e42:2::223
Connecting to pypi.python.org (pypi.python.org)|151.101.8.223|:443... connected.
HTTP request sent, awaiting response... 301 Redirect to Primary Domain
Location: https://pypi.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz [following]
--2019-10-06 15:38:15-- https://pypi.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz
Resolving pypi.org (pypi.org)... 151.101.192.223, 151.101.0.223, 151.101.128.223, ...
Connecting to pypi.org (pypi.org)|151.101.192.223|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://files.pythonhosted.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz [following]
--2019-10-06 15:38:16-- https://files.pythonhosted.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.9.63, 2a04:4e42:2::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.9.63|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55215 (54K) [application/octet-stream]
Saving to: ‘NetfilterQueue-0.7.tar.gz’
NetfilterQueue-0.7.tar.gz 100%[=====================================================================================================>] 53.92K --.-KB/s in 0.1s
2019-10-06 15:38:21 (550 KB/s) - ‘NetfilterQueue-0.7.tar.gz’ saved [55215/55215]
[Build] SHA256 matches. (= f24c592a0d2e8b2233ee365528fc1f90f7e3d80cb35c09195e3aafe3d451eac5)
[Build] Creating virtualenv...
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/user/python3-netfilterqueue-packager/src/bin/python3
Not overwriting existing python script /home/user/python3-netfilterqueue-packager/src/bin/python (you must use /home/user/python3-netfilterqueue-packager/src/bin/python3)
Installing setuptools, pkg_resources, pip, wheel...done.
[Build] Installing netfilterqueue in virtualenv...
running install
running build
running build_ext
building 'netfilterqueue' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -I/home/user/python3-netfilterqueue-packager/src/include/python3.7m -c netfilterqueue.c -o build/temp.linux-x86_64-3.7/netfilterqueue.o
netfilterqueue.c: In function ‘__pyx_f_14netfilterqueue_6Packet_set_nfq_data’:
netfilterqueue.c:1939:68: warning: passing argument 2 of ‘nfq_get_payload’ from incompatible pointer type [-Wincompatible-pointer-types]
__pyx_v_self->payload_len = nfq_get_payload(__pyx_v_self->_nfa, (&__pyx_v_self->payload));
~^~~~~~~~~~~~~~~~~~~~~~~
In file included from netfilterqueue.c:271:
/usr/include/libnetfilter_queue/libnetfilter_queue.h:122:67: note: expected ‘unsigned char **’ but argument is of type ‘char **’
extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data);
~~~~~~~~~~~~~~~~^~~~
netfilterqueue.c: In function ‘__pyx_pf_14netfilterqueue_6Packet_4get_payload’:
netfilterqueue.c:2279:17: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
__pyx_t_2 = PyString_FromStringAndSize(__pyx_v_self->payload, __pyx_v_self->payload_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 107, __pyx_L1_error)
^~~~~~~~~~~~~~~~~~~~~~~~~~
PyBytes_FromStringAndSize
netfilterqueue.c:2279:15: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_2 = PyString_FromStringAndSize(__pyx_v_self->payload, __pyx_v_self->payload_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 107, __pyx_L1_error)
^
netfilterqueue.c: In function ‘__Pyx__ExceptionSave’:
netfilterqueue.c:6612:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
netfilterqueue.c:6613:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
netfilterqueue.c:6614:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
netfilterqueue.c: In function ‘__Pyx__ExceptionReset’:
netfilterqueue.c:6621:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
netfilterqueue.c:6622:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
netfilterqueue.c:6623:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
netfilterqueue.c:6624:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
netfilterqueue.c:6625:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
netfilterqueue.c:6626:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
netfilterqueue.c: In function ‘__Pyx__GetException’:
netfilterqueue.c:6681:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
netfilterqueue.c:6682:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
netfilterqueue.c:6683:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
netfilterqueue.c:6684:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
netfilterqueue.c:6685:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
netfilterqueue.c:6686:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
[Build] Copying binaries to package directory...
cp: cannot stat 'NetfilterQueue*.egg-info': No such file or directory
cp: cannot stat 'netfilterqueue*.so': No such file or directory
+ cd ..
+ cd package
+ grep -v DEBIAN
+ find DEBIAN
+ xargs md5sum
+ cd ..
++ du --block-size 1K package/usr/lib/python3/dist-packages/NetfilterQueue-0.7.egg-info
++ cut -f1
du: cannot access 'package/usr/lib/python3/dist-packages/NetfilterQueue-0.7.egg-info': No such file or directory
+ egg_info_du=
++ du --block-size 1K 'package/usr/lib/python3/dist-packages/netfilterqueue.cpython*'
du: cannot access 'package/usr/lib/python3/dist-packages/netfilterqueue.cpython*': No such file or directory
++ cut -f1
+ so_du=
./build.sh: line 39: + : syntax error: operand expected (error token is "+ ")
+ echo 'Package installed size: kilobytes'
Package installed size: kilobytes
++ python3 -c 'import sys; print(sys.version_info.minor)'
+ py3_version=7
+ py3_nextversion=8
+ echo 'Python 3 version: 3.7, next version: 3.8'
Python 3 version: 3.7, next version: 3.8
++ dpkg --print-architecture
+ architecture=amd64
+ cat
+ dpkg -b package/ python3-netfilterqueue_0.7_amd64.deb
dpkg-deb: building package 'python3-netfilterqueue' in 'python3-netfilterqueue_0.7_amd64.deb'.
Found oremanj/python-netfilterqueue#44
The text was updated successfully, but these errors were encountered: