Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871597 - dev-perl/Net-RawIP-0.250.0-r3 - RawIP.xs: error: implicit declaration of function tap
Summary: dev-perl/Net-RawIP-0.250.0-r3 - RawIP.xs: error: implicit declaration of func...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 20:15 UTC by Toralf Förster
Modified: 2024-03-17 03:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.50 KB, text/plain)
2022-09-18 20:15 UTC, Toralf Förster
Details
dev-perl:Net-RawIP-0.250.0-r3:20220918-200336.log (dev-perl:Net-RawIP-0.250.0-r3:20220918-200336.log,7.65 KB, text/plain)
2022-09-18 20:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,252.10 KB, text/plain)
2022-09-18 20:16 UTC, Toralf Förster
Details
environment (environment,48.93 KB, text/plain)
2022-09-18 20:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.63 KB, application/x-bzip)
2022-09-18 20:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.20 KB, application/x-bzip)
2022-09-18 20:16 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 2022-09-18 20:15:59 UTC
      |                           ^~~~~~~~~           ~~~~~~~~~~
      |                                                 |
      |                                                 __suseconds_t {aka long int}
RawIP.xs: In function XS_Net__RawIP_tap:
RawIP.xs:660:14: error: implicit declaration of function tap; did you mean tan? [-Werror=implicit-function-declaration]
  660 |     RETVAL = tap(device,&i,m);
      |              ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220915-203738

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit f1a6e501a42e73f4e392c8fc6952d781ce4beb5d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 19:16:50 2022 +0000

    2022-09-18 19:16:49 UTC

emerge -qpvO dev-perl/Net-RawIP
[ebuild  N    ] dev-perl/Net-RawIP-0.250.0-r3  USE="-examples -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 20:15:59 UTC
Created attachment 812497 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 20:16:00 UTC
Created attachment 812500 [details]
dev-perl:Net-RawIP-0.250.0-r3:20220918-200336.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 20:16:02 UTC
Created attachment 812503 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 20:16:03 UTC
Created attachment 812506 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 20:16:04 UTC
Created attachment 812509 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 20:16:05 UTC
Created attachment 812512 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2024-03-17 03:54:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045f53b876e965362d806a2400afa5e18f14bcf7

commit 045f53b876e965362d806a2400afa5e18f14bcf7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-17 03:48:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-17 03:48:27 +0000

    dev-perl/Net-RawIP: fix modern C issues
    
    Closes: https://bugs.gentoo.org/871597
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Net-RawIP/Net-RawIP-0.250.0-r4.ebuild     | 27 +++++++
 .../Net-RawIP-0.25-Declare-used-function.patch     | 57 +++++++++++++
 .../Net-RawIP-0.25-Silent-compiler-warnings.patch  | 94 ++++++++++++++++++++++
 ...se-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch | 31 +++++++
 4 files changed, 209 insertions(+)