Package Details: dropwatch 1.5.4-1

Git Clone URL: https://aur.archlinux.org/dropwatch.git (read-only, click to copy)
Package Base: dropwatch
Description: Project to detect packet drops in Linux kernel
Upstream URL: https://github.com/nhorman/dropwatch
Licenses: GPL2
Submitter: 2bluesc
Maintainer: 2bluesc
Last Packager: 2bluesc
Votes: 6
Popularity: 0.000000
First Submitted: 2020-04-24 22:24 (UTC)
Last Updated: 2022-04-27 01:11 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

G4Zz0L1 commented on 2022-04-26 23:54 (UTC) (edited on 2022-04-26 23:55 (UTC) by G4Zz0L1)

The build step fails in a clean chroot with aurto (aurutils chroot).

libnl is correctly installed.

core/libnl 3.6.0-1 (405.9 KiB 2.1 MiB) (Installed)
multilib/lib32-libnl 3.5.0-1 (281.8 KiB 1.1 MiB) (Installed)
+ mkdir -p m4
+ autoreconf -fv --install
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:3: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1089: AM_CONFIG_HEADER is expanded from...
configure.ac:3: the top level
configure.ac:7: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:7: You should run autoupdate.
m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from...
configure.ac:7: the top level
configure.ac:32: warning: AC_OUTPUT should be used without arguments.
configure.ac:32: You should run autoupdate.
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:7: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gawk... (cached) gawk
checking for getopt_long... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBNL3... no
configure: error: libnl-3.0 is required
==> ERROR: A failure occurred in build().

enihcam commented on 2022-03-31 01:08 (UTC) (edited on 2022-03-31 01:12 (UTC) by enihcam)

the following patch is required for dropwatch to be compiled by gcc 11 and above: https://github.com/nhorman/dropwatch/commit/48b0feed9b805c9dd9864c162559133004a24796

or you get:

lookup_bfd.c: In function ‘lookup_bfd_init’: lookup_bfd.c:39:54: error: ‘__builtinsprintfchk’ may write a terminating nul pa st the end of the destination [-Werror=format-overflow=] 39 | sprintf(dbibuf,"/usr/lib/debug/lib/modules/%s", uts.release); | ^ In file included from /usr/include/stdio.h:894, from lookup_bfd.c:14: /usr/include/bits/stdio2.h:38:10: note: ‘builtinsprintfchk’ output between 28 and 287 bytes into a destination of size 286 38 | return builtinsprintfchk (s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: [Makefile:430: lookup_bfd.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/makepkg/dropwatch/src/dropwatch-1.5.3/src' make[1]: [Makefile:433: all-recursive] Error 1 make[1]: Leaving directory '/tmp/makepkg/dropwatch/src/dropwatch-1.5.3' make: [Makefile:365: all] Error 2