Powered by Paranoid Android. Your IP: 18.97.14.86 | libdnet 0b5df6e8-eddf-4e24-a52a-c69aaa395843Toc:- error 1
./dnet.c:8451:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 2
./dnet.c:8743:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 3
./dnet.c:15493:64: error: passing argument 2 of ‘arp_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 4
./dnet.c:18836:66: error: passing argument 2 of ‘intf_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 5
./dnet.c:20353:68: error: passing argument 2 of ‘route_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 6
./dnet.c:22280:62: error: passing argument 2 of ‘fw_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 7
error: command '/usr/bin/x86_64-pld-linux-gnux32-gcc' failed with exit status 1
- error 8
error: Bad exit status from /tmp/B.z86y8pxk/BUILD/tmp/rpm-tmp.H91sTk (%build)
- error 9
RPM build errors:
- error 10
error: No files produced.
Content:make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o route.o route.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o udp.o udp.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o tcp.o tcp.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o eth.o eth.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o arp.o arp.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o fw.o fw.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o icmp.o icmp.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o aton.o aton.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o ip.o ip.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o ip6.o ip6.c
In file included from /usr/include/string.h:548,
from ip6.c:13:
In function ‘memmove’,
inlined from ‘ip6_main’ at ip6.c:87:2:
/usr/include/bits/string_fortified.h:36:10: warning: ‘*(__int128 unsigned *)((char *)&src + offsetof(struct ip6_addr, data[0]))’ may be used uninitialized [-Wmaybe-uninitialized]
36 | return __builtin___memmove_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
ip6.c: In function ‘ip6_main’:
ip6.c:35:25: note: ‘*(__int128 unsigned *)((char *)&src + offsetof(struct ip6_addr, data[0]))’ was declared here
35 | struct ip6_addr src, dst;
| ^~~
In function ‘memmove’,
inlined from ‘ip6_main’ at ip6.c:87:2:
/usr/include/bits/string_fortified.h:36:10: warning: ‘*(__int128 unsigned *)((char *)&dst + offsetof(struct ip6_addr, data[0]))’ may be used uninitialized [-Wmaybe-uninitialized]
36 | return __builtin___memmove_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
ip6.c: In function ‘ip6_main’:
ip6.c:35:30: note: ‘*(__int128 unsigned *)((char *)&dst + offsetof(struct ip6_addr, data[0]))’ was declared here
35 | struct ip6_addr src, dst;
| ^~~
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/usr/bin/x86_64-pld-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -DNDEBUG -DQT_NO_DEBUG -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -c -o intf.o intf.c
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Entering directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/x86_64-pld-linux-gnux32-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o dnet addr.o arp.o aton.o dnet.o eth.o fw.o hex.o icmp.o intf.o ip.o ip6.o rand.o route.o send.o tcp.o udp.o ../../src/libdnet.la
libtool: link: /usr/bin/x86_64-pld-linux-gnux32-gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/dnet addr.o arp.o aton.o dnet.o eth.o fw.o hex.o icmp.o intf.o ip.o ip6.o rand.o route.o send.o tcp.o udp.o ../../src/.libs/libdnet.so
make[2]: Leaving directory '/tmp/B.z86y8pxk/BUILD/libdnet-1.18.0-build/libdnet-libdnet-1.18.0/test/dnet'
make[2]: Nothing to be done for 'all-am'.
make[1]: Nothing to be done for 'all-am'.
+ cd python
+ LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc '
+ export LDFLAGS
+ CFLAGS='-O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CFLAGS
+ CXXFLAGS='-O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
+ export CXXFLAGS
+ CC=/usr/bin/x86_64-pld-linux-gnux32-gcc
+ export CC
+ CXX=/usr/bin/x86_64-pld-linux-gnux32-g++
+ export CXX
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_ALLOW_CROSS
+ RUSTC=/usr/bin/rustc
+ export RUSTC
+ RUSTFLAGS='-C debuginfo=2 -C strip=none'
+ export RUSTFLAGS
+ /usr/bin/python2 setup.py build '--build-base=build-2'
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
warning: dnet.pyx:54:0: Global name __iter_append matched from within class scope in contradiction to to Python 'class private name' rules. This may change in a future release.
Compiling ./dnet.pyx because it changed.
[1/1] Cythonizing ./dnet.pyx
running build
running build_ext
building 'dnet' extension
creating build-2
creating build-2/temp.linux-x86_64-2.7
/usr/bin/x86_64-pld-linux-gnux32-gcc -fno-strict-aliasing -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -DNDEBUG -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DNDEBUG -DQT_NO_DEBUG -fPIC -I../include -I/usr/include/python2.7 -c ./dnet.c -o build-2/temp.linux-x86_64-2.7/./dnet.o
./dnet.c: In function ‘__pyx_pf_4dnet_12ip_checksum’:
./dnet.c:8451:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
8451 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0);
| ~^~~~~~~~~~~
| |
| char **
In file included from /usr/include/python2.7/Python.h:136,
from ./dnet.c:50:
/usr/include/python2.7/abstract.h:502:56: note: expected ‘const void **’ but argument is of type ‘char **’
502 | const void **buffer,
| ~~~~~~~~~~~~~^~~~~~
./dnet.c: In function ‘__pyx_pf_4dnet_14ip_cksum_add’:
./dnet.c:8743:52: error: passing argument 2 of ‘PyObject_AsReadBuffer’ from incompatible pointer type [-Wincompatible-pointer-types]
8743 | __pyx_t_1 = (PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0);
| ~^~~~~~~~~~~
| |
| char **
/usr/include/python2.7/abstract.h:502:56: note: expected ‘const void **’ but argument is of type ‘char **’
502 | const void **buffer,
| ~~~~~~~~~~~~~^~~~~~
./dnet.c: In function ‘__pyx_pf_4dnet_3arp_8loop’:
./dnet.c:15493:64: error: passing argument 2 of ‘arp_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
15493 | __pyx_t_1 = __Pyx_PyInt_From_int(arp_loop(__pyx_v_self->arp, __pyx_f_4dnet___arp_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 760, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct arp_entry *, void *)
In file included from ../include/dnet.h:18,
from ./dnet.c:1257:
../include/dnet/arp.h:101:43: note: expected ‘arp_handler’ {aka ‘int (*)(const struct arp_entry *, void *)’} but argument is of type ‘int (*)(struct arp_entry *, void *)’
101 | int arp_loop(arp_t *arp, arp_handler callback, void *arg);
| ~~~~~~~~~~~~^~~~~~~~
./dnet.c:14409:12: note: ‘__pyx_f_4dnet___arp_callback’ declared here
14409 | static int __pyx_f_4dnet___arp_callback(struct arp_entry *__pyx_v_entry, void *__pyx_v_arg) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/arp.h:94:15: note: ‘arp_handler’ declared here
94 | typedef int (*arp_handler)(const struct arp_entry *entry, void *arg);
| ^~~~~~~~~~~
./dnet.c: In function ‘__pyx_pf_4dnet_4intf_10loop’:
./dnet.c:18836:66: error: passing argument 2 of ‘intf_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
18836 | __pyx_t_1 = __Pyx_PyInt_From_int(intf_loop(__pyx_v_self->intf, __pyx_f_4dnet___intf_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1060, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct intf_entry *, void *)
In file included from ../include/dnet.h:25:
../include/dnet/intf.h:64:44: note: expected ‘intf_handler’ {aka ‘int (*)(const struct intf_entry *, void *)’} but argument is of type ‘int (*)(struct intf_entry *, void *)’
64 | int intf_loop(intf_t *i, intf_handler callback, void *arg);
| ~~~~~~~~~~~~~^~~~~~~~
./dnet.c:17566:12: note: ‘__pyx_f_4dnet___intf_callback’ declared here
17566 | static int __pyx_f_4dnet___intf_callback(struct intf_entry *__pyx_v_entry, void *__pyx_v_arg) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/intf.h:56:15: note: ‘intf_handler’ declared here
56 | typedef int (*intf_handler)(const struct intf_entry *entry, void *arg);
| ^~~~~~~~~~~~
./dnet.c: In function ‘__pyx_pf_4dnet_5route_8loop’:
./dnet.c:20353:68: error: passing argument 2 of ‘route_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
20353 | __pyx_t_1 = __Pyx_PyInt_From_int(route_loop(__pyx_v_self->route, __pyx_f_4dnet___route_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1159, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct route_entry *, void *)
In file included from ../include/dnet.h:26:
../include/dnet/route.h:34:47: note: expected ‘route_handler’ {aka ‘int (*)(const struct route_entry *, void *)’} but argument is of type ‘int (*)(struct route_entry *, void *)’
34 | int route_loop(route_t *r, route_handler callback, void *arg);
| ~~~~~~~~~~~~~~^~~~~~~~
./dnet.c:19269:12: note: ‘__pyx_f_4dnet___route_callback’ declared here
19269 | static int __pyx_f_4dnet___route_callback(struct route_entry *__pyx_v_entry, void *__pyx_v_arg) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/route.h:24:15: note: ‘route_handler’ declared here
24 | typedef int (*route_handler)(const struct route_entry *entry, void *arg);
| ^~~~~~~~~~~~~
./dnet.c: In function ‘__pyx_pf_4dnet_2fw_6loop’:
./dnet.c:22280:62: error: passing argument 2 of ‘fw_loop’ from incompatible pointer type [-Wincompatible-pointer-types]
22280 | __pyx_t_1 = __Pyx_PyInt_From_int(fw_loop(__pyx_v_self->fw, __pyx_f_4dnet___fw_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(struct fw_rule *, void *)
In file included from ../include/dnet.h:27:
../include/dnet/fw.h:50:38: note: expected ‘fw_handler’ {aka ‘int (*)(const struct fw_rule *, void *)’} but argument is of type ‘int (*)(struct fw_rule *, void *)’
50 | int fw_loop(fw_t *f, fw_handler callback, void *arg);
| ~~~~~~~~~~~^~~~~~~~
./dnet.c:21461:12: note: ‘__pyx_f_4dnet___fw_callback’ declared here
21461 | static int __pyx_f_4dnet___fw_callback(struct fw_rule *__pyx_v_rule, void *__pyx_v_arg) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/fw.h:44:15: note: ‘fw_handler’ declared here
44 | typedef int (*fw_handler)(const struct fw_rule *rule, void *arg);
| ^~~~~~~~~~
error: command '/usr/bin/x86_64-pld-linux-gnux32-gcc' failed with exit status 1
error: Bad exit status from /tmp/B.z86y8pxk/BUILD/tmp/rpm-tmp.H91sTk (%build)
RPM build errors:
Bad exit status from /tmp/B.z86y8pxk/BUILD/tmp/rpm-tmp.H91sTk (%build)
ended at: Sun Nov 2 17:27:28 2025, done in 0:00:20.930765
error: No files produced.
+ chmod -R u+rwX /tmp/B.z86y8pxk/BUILD
+ rm -rf /tmp/B.z86y8pxk/tmp /tmp/B.z86y8pxk/BUILD
+ rm -rf /tmp/B.z86y8pxk
Begin-PLD-Builder-Info
Build-Time: user:25.57s sys:8.18s real:23.72s (faults io:7 non-io:1477920)
End-PLD-Builder-Info
|
|