Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692430 - net-libs/libtrace-4.0.9_p1 : format_linux_int.c:297:25: error: SIOCGSTAMP undeclared (first use in this function)
Summary: net-libs/libtrace-4.0.9_p1 : format_linux_int.c:297:25: error: SIOCGSTAMP und...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: linux-headers-5.2
  Show dependency tree
 
Reported: 2019-08-18 07:55 UTC by Toralf Förster
Modified: 2019-08-20 09:02 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.46 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,49.44 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
environment (environment,62.04 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.14 KB, application/x-bzip)
2019-08-18 07:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,23.56 KB, application/x-bzip)
2019-08-18 07:56 UTC, Toralf Förster
Details
net-libs:libtrace-4.0.9_p1:20190818-013405.log (net-libs:libtrace-4.0.9_p1:20190818-013405.log,23.66 KB, text/plain)
2019-08-18 07:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.92 KB, application/x-bzip)
2019-08-18 07:56 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-18 07:55:46 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -pthread -std=gnu99 -O2 -pipe -march=native -Wall -Wmissing-prototypes -Wextra -DLT_BUILDING_DLL=1 -c format_linux_int.c  -fPIC -DPIC -o .libs/format_linux_int.o
format_linux_int.c: In function ‘linuxnative_read_stream’:
format_linux_int.c:297:25: error: ‘SIOCGSTAMP’ undeclared (first use in this function); did you mean ‘SIOCGARP’?
  297 |   if (ioctl(stream->fd, SIOCGSTAMP,&tv)==0) {
      |                         ^~~~~~~~~~
      |                         SIOCGARP

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20190816-151832

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

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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO net-libs/libtrace
[ebuild  N    ] net-libs/libtrace-4.0.9_p1  USE="ncurses -doc -numa -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-08-18 07:56:12 UTC
Created attachment 587278 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-18 07:56:15 UTC
Created attachment 587280 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-08-18 07:56:18 UTC
Created attachment 587282 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-08-18 07:56:21 UTC
Created attachment 587284 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-08-18 07:56:23 UTC
Created attachment 587286 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-18 07:56:26 UTC
Created attachment 587288 [details]
net-libs:libtrace-4.0.9_p1:20190818-013405.log
Comment 7 Toralf Förster gentoo-dev 2019-08-18 07:56:29 UTC
Created attachment 587290 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-08-18 12:06:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6438b41ee8be7beff6a32b160051e6af8ad3dc11

commit 6438b41ee8be7beff6a32b160051e6af8ad3dc11
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-08-18 12:06:13 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-08-18 12:06:48 +0000

    net-libs/libtrace: DEPEND on virtual/os-headers
    
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Bug: https://bugs.gentoo.org/692430
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/libtrace/libtrace-4.0.8.ebuild    | 1 +
 net-libs/libtrace/libtrace-4.0.9_p1.ebuild | 2 +-
 net-libs/libtrace/libtrace-99999.ebuild    | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2019-08-20 09:02:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7c94aee5a43251ac2812993d0c7ab51f0d17a2

commit 7f7c94aee5a43251ac2812993d0c7ab51f0d17a2
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-08-20 09:01:15 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-08-20 09:02:26 +0000

    net-libs/libtrace: Add include for SIOCGSTAMP definition
    
    Package-Manager: Portage-2.3.72, Repoman-2.3.17
    Fixes: https://bugs.gentoo.org/692430
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/libtrace-4.0.9_p1-SIOCGSTAMP.patch       | 12 +++++
 net-libs/libtrace/libtrace-4.0.9_p1-r1.ebuild      | 61 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)