klibc ftbfs on all archs

Bug #534281 reported by Alexander Sack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
klibc (Ubuntu)
Fix Released
High
Colin Watson
Lucid
Fix Released
High
Colin Watson

Bug Description

ftbfs during thumb2 rebuild:

https://launchpad.net/ubuntu/+source/klibc/1.5.15-1ubuntu3

... feels this needs some love to build with latest kernel headers.

Related branches

Alexander Sack (asac)
Changed in klibc (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
Changed in klibc (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-1
tags: added: kernel-series-unknown
tags: removed: kernel-series-unknown
Steve Langasek (vorlon)
Changed in klibc (Ubuntu Lucid):
importance: Critical → High
Colin Watson (cjwatson)
Changed in klibc (Ubuntu Lucid):
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package klibc - 1.5.15-1ubuntu4

---------------
klibc (1.5.15-1ubuntu4) lucid; urgency=low

  * 23-use-AF_INET-directly.patch,
    24-add-relevant-socket-h-definitions.patch: Backport patches sent
    upstream by Debian maintainer to add some <linux/socket.h> definitions
    (LP: #534281).
 -- Colin Watson <email address hidden> Wed, 10 Mar 2010 18:37:51 +0000

Changed in klibc (Ubuntu Lucid):
status: Triaged → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, the error this fails with is:

In file included from usr/klibc/../include/netinet/in.h:11,
                 from usr/klibc/../include/arpa/inet.h:11,
                 from usr/klibc/inet/inet_ntoa.c:6:
usr/klibc/../include/sys/socket.h:49: warning: 'struct msghdr' declared inside parameter list
usr/klibc/../include/sys/socket.h:49: warning: its scope is only this definition or declaration, which is probably not what you want
usr/klibc/../include/sys/socket.h:50: warning: 'struct msghdr' declared inside parameter list
In file included from usr/klibc/../include/netinet/in.h:12,
                 from usr/klibc/../include/arpa/inet.h:11,
                 from usr/klibc/inet/inet_ntoa.c:6:
linux/include/linux/in.h:188: error: expected specifier-qualifier-list before 'sa_family_t'
make[3]: *** [usr/klibc/inet/inet_ntoa.o] Error 1

(linux/include/linux here is a symlink to /usr/include/linux)

sa_family_t is only defined in /usr/include/sockaddr.h, an eglibc header that /usr/include/linux/in.h does not include. So this looks to me like a regression in the kernel-provided headers.

affects: klibc (Ubuntu Lucid) → linux (Ubuntu Lucid)
Changed in linux (Ubuntu Lucid):
assignee: Colin Watson (cjwatson) → nobody
status: Fix Released → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

<cough> midair collision - nevermind :)

affects: linux (Ubuntu Lucid) → klibc (Ubuntu Lucid)
Changed in klibc (Ubuntu Lucid):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → 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.