wmnd FTBFS (focal)

Bug #1860018 reported by Rafael David Tinoco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wmnd (Ubuntu)
Fix Released
Medium
Rafael David Tinoco

Bug Description

When rebuilding this package for libsnmp35 I stepped into:

https://launchpadlibrarian.net/460588445/buildlog_ubuntu-focal-amd64.wmnd_0.4.17-3build2_BUILDING.txt.gz

config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
configure: configuration:

disable trend support: no
enabled drivers: linux_proc solaris_fpppd generic_snmp testing_dummy
enabled display modes: traditional mgraph waveform wmwave wmnet sepgraphs twisted charts needle lines

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --verbose --buildsystem=autoconf --parallel --package="wmnd" --builddirectory="BUILD-wmnd" --tmpdir="debian/wmnd" -O --destdir="debian/wmnd"
 cd BUILD-wmnd && make -j4
make[2]: Entering directory '/<<PKGBUILDDIR>>/BUILD-wmnd'
make all-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>/BUILD-wmnd'
Making all in src
make[4]: Entering directory '/<<PKGBUILDDIR>>/BUILD-wmnd/src'
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o cfgdata.o ../../src/cfgdata.c
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o display.o ../../src/display.c
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o drivers.o ../../src/drivers.c
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o misc.o ../../src/misc.c
gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o messages.o ../../src/messages.c
../../src/drivers.c:36:10: fatal error: sys/stropts.h: No such file or directory
   36 | #include <sys/stropts.h>
      | ^~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:396: drivers.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/BUILD-wmnd/src'
make[3]: *** [Makefile:477: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/BUILD-wmnd'
make[2]: *** [Makefile:354: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/BUILD-wmnd'
dh_auto_build: cd BUILD-wmnd && make -j4 returned exit code 2

Tags: patch
Changed in wmnd (Ubuntu):
status: New → In Progress
assignee: nobody → Rafael David Tinoco (rafaeldtinoco)
importance: Undecided → Medium
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

$ sudo gdebi wmnd_0.4.17-3ubuntu1_amd64.deb wmnd-snmp_0.4.17-3ubuntu1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

Dockapp monitoring network interfaces
 Shows a graph of incoming/outgoing traffic, activity indicators for rx/tx and
 current/maximum rate for rx/tx in bytes or packets.
 .
 Tailored for use with WindowMaker, it will as well work with any other window
 manager though.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
  c = findall("[[(](\S+)/\S+[])]", msg)[0].lower()
Selecting previously unselected package wmnd.
(Reading database ... 172919 files and directories currently installed.)
Preparing to unpack wmnd_0.4.17-3ubuntu1_amd64.deb ...
Unpacking wmnd (0.4.17-3ubuntu1) ...
Setting up wmnd (0.4.17-3ubuntu1) ...
Processing triggers for man-db (2.9.0-2) ...
(c)rafaeldtinoco@netsnmp:~/.../netsnmp-rebuild-failures$ dpkg -L wmnd
/.
/usr
/usr/bin
/usr/bin/wmnd
/usr/share
/usr/share/doc
/usr/share/doc/wmnd
/usr/share/doc/wmnd/AUTHORS
/usr/share/doc/wmnd/NEWS.gz
/usr/share/doc/wmnd/README.gz
/usr/share/doc/wmnd/THANKS
/usr/share/doc/wmnd/TODO
/usr/share/doc/wmnd/changelog.Debian.gz
/usr/share/doc/wmnd/copyright
/usr/share/doc/wmnd/examples
/usr/share/doc/wmnd/examples/wmndrc
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/wmnd.1.gz
/usr/share/menu
/usr/share/menu/wmnd
(c)rafaeldtinoco@netsnmp:~/.../netsnmp-rebuild-failures$ /usr/bin/wmnd
/usr/bin/wmnd: can't open WMND rc file '/home/rafaeldtinoco/.wmndrc', using defaults
/usr/bin/wmnd [linux_proc]: detected eth0
/usr/bin/wmnd [testing_dummy]: detected off
/usr/bin/wmnd: caught signal 2, terminating...

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

+1'ed by @ahasenack... uploading fix.

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wmnd - 0.4.17-3ubuntu1

---------------
wmnd (0.4.17-3ubuntu1) focal; urgency=medium

  * debian/rules: remove solaris_fpppd driver since it uses stropts.h which is
    gone with glibc 2.30 (LP: #1860018)

 -- Rafael David Tinoco <email address hidden> Thu, 16 Jan 2020 21:00:48 +0000

Changed in wmnd (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.