Source: iprutils
Version: 2.4.15.1-2
Tags: upstream
The following test for ncurses CFLAGS in configure.ac is flawed:
,----
| ncurses_include=$(ncurses5-config --cflags)
| if test -n ${ncurses_include}; then
| CFLAGS="${CFLAGS} ${ncurses_include}"
| fi
`----
The first problem is that ncurses_include can and does include spaces,
and its improper quoting leads to the following funny message seen on
the buildds:
./configure: line 12105: test: -D_GNU_SOURCE: binary operator expected
The second problem is that ncurses5-config is about to go away in favor
of ncurses6-config, when building iprutils with libncurses-dev from
experimental I see a different error:
./configure: line 12104: ncurses5-config: command not found
Obviously the package builds anyway, so maybe the best way to fix this
test is just to remove it.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 4.15.7-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)