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

Bug 875107

Summary: net-libs/libnet-1.0.2a-r7 - src/libnet_socket.c: error: type of prot defaults to int [-Werror=implicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 881677    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:libnet-1.0.2a-r7:20221004-093159.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:43:40 UTC
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
src/libnet_socket.c: In function libnet_open_raw_sock:
src/libnet_socket.c:39:1: error: type of prot defaults to int [-Werror=implicit-int]
   39 | libnet_open_raw_sock(prot)
      | ^~~~~~~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.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):
GNU Make 4.3

  HEAD of ::gentoo
commit 8f80189c12ff0b27e3127eadd8f94bffc9eadd5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 08:47:41 2022 +0000

    2022-10-04 08:47:41 UTC

emerge -qpvO net-libs/libnet
[ebuild   R   ] net-libs/libnet-1.2  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:43:41 UTC
Created attachment 819940 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:43:43 UTC
Created attachment 819943 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:43:44 UTC
Created attachment 819946 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:43:45 UTC
Created attachment 819949 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:43:46 UTC
Created attachment 819952 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:43:47 UTC
Created attachment 819955 [details]
net-libs:libnet-1.0.2a-r7:20221004-093159.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:43:48 UTC
Created attachment 819958 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-10-13 15:00:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a148b3092766ef0b1ebb515eb42ae10a6aa5c42

commit 1a148b3092766ef0b1ebb515eb42ae10a6aa5c42
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-13 14:58:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-13 14:59:52 +0000

    net-libs/libnet: add 1.3
    
    Closes: https://bugs.gentoo.org/875107
    Closes: https://bugs.gentoo.org/832385
    Closes: https://bugs.gentoo.org/881031
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libnet/Manifest          |  1 +
 net-libs/libnet/libnet-1.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)