Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883125 - net-misc/vmpsd-1.4 - daemon.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: net-misc/vmpsd-1.4 - daemon.c: error: type specifier missing, defaults to int...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-26 10:19 UTC by Toralf Förster
Modified: 2025-02-24 21:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2022-11-26 10:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.46 KB, text/plain)
2022-11-26 10:20 UTC, Toralf Förster
Details
environment (environment,81.08 KB, text/plain)
2022-11-26 10:20 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2022-11-26 10:20 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.89 KB, application/x-bzip)
2022-11-26 10:20 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.05 KB, application/x-bzip)
2022-11-26 10:20 UTC, Toralf Förster
Details
net-misc:vmpsd-1.4:20221126-065621.log (net-misc:vmpsd-1.4:20221126-065621.log,13.69 KB, text/plain)
2022-11-26 10:20 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.85 KB, application/x-bzip)
2022-11-26 10:20 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,957 bytes, application/x-bzip)
2022-11-26 10:20 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-11-26 10:19:59 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I.    -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-vmpsd.o `test -f 'vmpsd.c' || echo './'`vmpsd.c
clang -DHAVE_CONFIG_H -I.    -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c
clang -DHAVE_CONFIG_H -I.    -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-data.o `test -f 'data.c' || echo './'`data.c
clang -DHAVE_CONFIG_H -I.    -DSYSCONFDIR="\"/etc/vmpsd\"" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmpsd-log.o `test -f 'log.c' || echo './'`log.c
daemon.c:41:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
daemon_start(ignsigcld)

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
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.5
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p8 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 7b16b43a72f9ede940984442bf4acd5820af31ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 05:33:54 2022 +0000

    2022-11-26 05:33:54 UTC

emerge -qpvO net-misc/vmpsd
[ebuild  N    ] net-misc/vmpsd-1.4
Comment 1 Toralf Förster gentoo-dev 2022-11-26 10:20:00 UTC
Created attachment 836971 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-26 10:20:02 UTC
Created attachment 836973 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-26 10:20:04 UTC
Created attachment 836975 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-26 10:20:05 UTC
Created attachment 836977 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-26 10:20:06 UTC
Created attachment 836979 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-26 10:20:07 UTC
Created attachment 836981 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-26 10:20:08 UTC
Created attachment 836983 [details]
net-misc:vmpsd-1.4:20221126-065621.log
Comment 8 Toralf Förster gentoo-dev 2022-11-26 10:20:09 UTC
Created attachment 836985 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-26 10:20:10 UTC
Created attachment 836987 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2025-02-24 21:29:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776788dd9d8424922c9ad961dd24929819507b9f

commit 776788dd9d8424922c9ad961dd24929819507b9f
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-17 13:12:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-24 21:28:40 +0000

    net-misc/vmpsd: update EAPI 7 -> 8, port to C23
    
    Incorporates patch from the bugzilla and bugs that bitrotten since:
    more missing declarations, wrong declarations, missing includes.
    
    Closes: https://bugs.gentoo.org/887249
    Closes: https://bugs.gentoo.org/883125
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40614
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/vmpsd/files/vmpsd-1.4-C23.patch           | 159 +++++++++++++++++++++
 .../vmpsd/files/vmpsd-1.4-missing-includes.patch   |  80 +++++++++++
 .../{vmpsd-1.4.ebuild => vmpsd-1.4-r1.ebuild}      |  14 +-
 3 files changed, 246 insertions(+), 7 deletions(-)