Tracker – Changelog – Bugs – packages.d.o – Source
bug# | package | title | affects |
---|---|---|---|
1081091 | prads | prads: FTBFS: mac.c:335:6: error: type of âeth_hdrâ defaults to âintâ [-Wimplicit-int] | |
1022182 | prads | prads: FTBFS on riscv64 (undefined reference to `_res_opcodes') |
Install getbuildlog: sudo apt install devscripts
Download latest prads build logs: getbuildlog prads last
Download all prads build logs: getbuildlog prads
Rebuild for time_t
Rebuild to move systemd service files to /usr/lib
#1022182
> prads.c:1301:35: error: ‘PATH_MAX’ undeclared (first use in this function)
| long int int | %d cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DCONFDIR='"/etc/prads/"' -D__USE_GNU -o shm-client shm-client.o -Wl,-z,relro -lpcap -lpcre -lresolv cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DCONFDIR='"/etc/prads/"' -D__USE_GNU -o prads bstrlib.o sig_tcp.o config.o sys_func.o assets.o prads.o dhcp.o dump_dns.o mac.o servicefp/servicefp.o servicefp/tcpc.o servicefp/tcps.o servicefp/udps.o ipfp/ipfp.o ipfp/udp_fp.o ipfp/icmp_fp.o cxt.o output-plugins/log_dispatch.o output-plugins/log_stdout.o output-plugins/log_file.o output-plugins/log_fifo.o output-plugins/log_ringbuffer.o output-plugins/log_sguil.o -Wl,-z,relro -lpcap -lpcre -lresolv /usr/bin/ld: dump_dns.o: in function `dump_dns': ./src/./src/dump_dns.c:127:(.text+0x55a): undefined reference to `_res_opcodes' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:88: prads] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:15: build] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" CONFDIR=/etc/prads RELEASE=-debian returned exit code 2 make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:8: build-arch] Error 2
/usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ prads.c:1301:35: error: ‘PATH_MAX’ undeclared (first use in this function) 1301 | static char log_prefix[PATH_MAX]; | ^~~~~~~~ prads.c:1301:35: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [<builtin>: prads.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:15: build] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" CONFDIR=/etc/prads RELEASE=-debian returned exit code 2 make[1]: *** [debian/rules:11: override_dh_auto_build] Error 255 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:8: build-arch] Error 2
from prads.c:31: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ servicefp/servicefp.c: In function ‘dump_sig_service’: servicefp/servicefp.c:114:28: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 114 | printf("%s,v/%s/%s/%s/\n", bdata(sig->service), | ^~ make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:15: build] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j16 "INSTALL=install --strip-program=true" CONFDIR=/etc/prads RELEASE=-debian returned exit code 2 make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:8: build-arch] Error 2