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

Bug 884335

Summary: sys-boot/netboot-0.10.2-r3 - prototype is deprecated in all versions of C and is not supported in C2x
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sys-boot:netboot-0.10.2-r3:20221204-172052.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-12-04 18:10:27 UTC
	s&%LIBDIR%&/usr/lib64&g;		\
	s&%DATADIR%&/usr/share/netboot&g" netboot.man.in >netboot.man
clang -DHAVE_CONFIG_H -DNETBOOT -I/var/tmp/portage/sys-boot/netboot-0.10.2-r3/work/netboot-0.10.2/include -I/var/tmp/portage/sys-boot/netboot-0.10.2-r3/work/netboot-0.10.2/misc -o makec makec.c
makec.c:39:5: warning: a function definition without a
      prototype is deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
int main(argc, argv)

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit e289f573513f8094c6f2735a142b9d23a6c33e90
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 4 16:31:53 2022 +0000

    2022-12-04 16:31:52 UTC

emerge -qpvO sys-boot/netboot
[ebuild  N    ] sys-boot/netboot-0.10.2-r3  USE="bootrom lzo -berkdb -odbc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-12-04 18:10:28 UTC
Created attachment 839911 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-04 18:10:29 UTC
Created attachment 839913 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-12-04 18:10:31 UTC
Created attachment 839915 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-04 18:10:32 UTC
Created attachment 839917 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-04 18:10:33 UTC
Created attachment 839919 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-04 18:10:34 UTC
Created attachment 839921 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-04 18:10:36 UTC
Created attachment 839923 [details]
sys-boot:netboot-0.10.2-r3:20221204-172052.log
Comment 8 Toralf Förster gentoo-dev 2022-12-04 18:10:37 UTC
Created attachment 839925 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-04 18:10:38 UTC
Created attachment 839927 [details]
var.tmp.clang.tar.bz2
Comment 10 Conrad Kostecki gentoo-dev 2023-04-22 23:48:48 UTC
I guess, it's time to last-rite. This is a very old software and tbh, I don't use it anymore. It provides BOOTP support (predecessor of DHCP).
Comment 11 Larry the Git Cow gentoo-dev 2023-04-22 23:53:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12742e52ea39b81cb6cc8352b2e19c38231f2f68

commit 12742e52ea39b81cb6cc8352b2e19c38231f2f68
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2023-04-22 23:51:35 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2023-04-22 23:53:29 +0000

    profiles/package.mask: mask sys-boot/netboot for last-rite
    
    Bug: https://bugs.gentoo.org/884335
    Bug: https://bugs.gentoo.org/894128
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-05-31 15:49:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5779f0a6d063f2afe597ee6e86cae330a1894dab

commit 5779f0a6d063f2afe597ee6e86cae330a1894dab
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2023-05-31 15:48:11 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2023-05-31 15:48:11 +0000

    sys-boot/netboot: last-rite package
    
    Closes: https://bugs.gentoo.org/884335
    Closes: https://bugs.gentoo.org/894128
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 profiles/package.mask                              |  6 --
 sys-boot/netboot/Manifest                          |  1 -
 .../files/netboot-0.10.2-configure-clang16.patch   | 37 ----------
 .../netboot/files/netboot-0.10.2-ldflags.patch     | 38 ----------
 .../netboot/files/netboot-0.10.2-slibtool.patch    | 11 ---
 sys-boot/netboot/metadata.xml                      | 20 -----
 sys-boot/netboot/netboot-0.10.2-r4.ebuild          | 85 ----------------------
 7 files changed, 198 deletions(-)