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

Bug #1843430 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnsmasq (Ubuntu)
Fix Released
Undecided
Unassigned

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

Tags: ftbfs

Related branches

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
description: updated
Changed in dnsmasq (Ubuntu):
status: New → In Progress
Matthias Klose (doko)
tags: added: ftbfs
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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