FTBFS in Eoan due to new glibc - error: ‘SIOCGSTAMP’ undeclared

Bug #1843430 reported by Christian Ehrhardt  on 2019-09-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnsmasq (Ubuntu)

Bug Description

We hit this on a rebuild in Eoan
dhcp.c: In function ‘dhcp_packet’:
dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’?
  182 | if (ioctl(fd, SIOCGSTAMP, &tv) == 0)
      | ^~~~~~~~~~
      | SIOCGARP

This seems much like the fix in the (not yet released) upstream repo:
=> http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=3052ce208acf602f0163166dcefb7330d537cedb

"Fix build after y2038 changes in glib.
SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now."

Failed build log: https://launchpadlibrarian.net/441262561/buildlog_ubuntu-eoan-amd64.dnsmasq_2.80-1ubuntu1_BUILDING.txt.gz

Related branches

Changed in dnsmasq (Ubuntu):
status: New → In Progress
Matthias Klose (doko) on 2019-09-12
tags: added: ftbfs
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dnsmasq - 2.80-1ubuntu2

dnsmasq (2.80-1ubuntu2) eoan; urgency=medium

  * Fix FTBFS in eoan due to glibc 2.30 SIOCGSTAMP changes (LP: #1843430)

 -- Christian Ehrhardt <email address hidden> Tue, 10 Sep 2019 15:00:04 +0200

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

Other bug subscribers