Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692544 - net-misc/ntpclient-2018.244 : ntpclient.c:290:17: error: SIOCGSTAMP undeclared (first use in this function)
Summary: net-misc/ntpclient-2018.244 : ntpclient.c:290:17: error: SIOCGSTAMP undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: linux-headers-5.2
  Show dependency tree
 
Reported: 2019-08-19 17:58 UTC by Toralf Förster
Modified: 2019-08-20 12:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.22 KB, text/plain)
2019-08-19 17:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,227.39 KB, text/plain)
2019-08-19 17:58 UTC, Toralf Förster
Details
environment (environment,19.01 KB, text/plain)
2019-08-19 17:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.87 KB, application/x-bzip)
2019-08-19 17:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.88 KB, application/x-bzip)
2019-08-19 17:59 UTC, Toralf Förster
Details
net-misc:ntpclient-2018.244:20190818-220036.log (net-misc:ntpclient-2018.244:20190818-220036.log,7.02 KB, text/plain)
2019-08-19 17:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.14 KB, application/x-bzip)
2019-08-19 17:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-08-19 17:58:48 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=199309 -D_BSD_SOURCE  -W -Wall -Wextra -std=gnu99 -Wno-unused-parameter -Wpointer-arith -Winline -Wshadow -Waggregate-return -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -march=native -c -o ntpclient.o ntpclient.c
ntpclient.c: In function ‘get_packet_timestamp’:
ntpclient.c:290:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’?
  290 |  if (ioctl(usd, SIOCGSTAMP, &udp_arrival) < 0) {
      |                 ^~~~~~~~~~
      |                 SIOCGARP

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20190815-154659

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:


emerge -qpvO net-misc/ntpclient
[ebuild  N    ] net-misc/ntpclient-2018.244  USE="syslog -debug -embedded -obsolete"
Comment 1 Toralf Förster gentoo-dev 2019-08-19 17:58:51 UTC
Created attachment 587432 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-19 17:58:54 UTC
Created attachment 587434 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-08-19 17:58:56 UTC
Created attachment 587436 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-08-19 17:58:59 UTC
Created attachment 587438 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-19 17:59:02 UTC
Created attachment 587440 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-19 17:59:04 UTC
Created attachment 587442 [details]
net-misc:ntpclient-2018.244:20190818-220036.log
Comment 7 Toralf Förster gentoo-dev 2019-08-19 17:59:07 UTC
Created attachment 587444 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-08-20 12:56:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276d256dc07adc0bc09f40fad68ac46a75d62ac8

commit 276d256dc07adc0bc09f40fad68ac46a75d62ac8
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-08-19 18:18:36 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-08-20 12:56:01 +0000

    net-misc/ntpclient: fix compilation with >=linux-headers-5.2
    
    Closes: https://bugs.gentoo.org/692544
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/12748
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../ntpclient-2018.244-linux-headers-5.2.patch     | 10 +++++++
 net-misc/ntpclient/ntpclient-2018.244-r1.ebuild    | 35 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)