Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708608

Summary: net-misc/linuxptp-2.0: error: unknown type name 'clockid_t'
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.debian.org/916966
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: nettstamp-systypes.patch

Description Marek Szuba (RETIRED) archtester gentoo-dev 2020-02-07 13:04:51 UTC
Created attachment 612402 [details, diff]
nettstamp-systypes.patch

I have observed this recently while attempting to rebuild net-misc/linuxptp-2.0 on an up-to-date otherwise-stable amd64 system. According to a Debian bug I have found, this is related to changes made in glibc before release 2.28.

Attaching a patch which fixes the problem. It is functionally the same as the one from the aforementioned Debian bug but adapted to work on 2.0 sources.
Comment 1 Thomas Beierlein gentoo-dev 2020-06-07 18:11:42 UTC
(In reply to Marek Szuba from comment #0)
> Created attachment 612402 [details, diff] [details, diff]
> nettstamp-systypes.patch
> 
> I have observed this recently while attempting to rebuild
> net-misc/linuxptp-2.0 on an up-to-date otherwise-stable amd64 system.
> According to a Debian bug I have found, this is related to changes made in
> glibc before release 2.28.
> 
> Attaching a patch which fixes the problem. It is functionally the same as
> the one from the aforementioned Debian bug but adapted to work on 2.0
> sources.

As <glibc-2.30-r8 is package masked, do you think we still need these patches?
Otherwise I will close the bug.