Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870835 - dev-vcs/cvs-1.12.12-r14 - sighandle.c: error: conflicting types for calloc
Summary: dev-vcs/cvs-1.12.12-r14 - sighandle.c: error: conflicting types for calloc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 15:59 UTC by Toralf Förster
Modified: 2024-05-20 21:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.58 KB, text/plain)
2022-09-17 15:59 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,48.70 KB, application/x-bzip)
2022-09-17 15:59 UTC, Toralf Förster
Details
dev-vcs:cvs-1.12.12-r14:20220917-150620.log (dev-vcs:cvs-1.12.12-r14:20220917-150620.log,22.63 KB, text/plain)
2022-09-17 15:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,59.83 KB, text/plain)
2022-09-17 15:59 UTC, Toralf Förster
Details
environment (environment,85.68 KB, text/plain)
2022-09-17 15:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.24 KB, application/x-bzip)
2022-09-17 15:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,22.21 KB, application/x-bzip)
2022-09-17 15:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,74.41 KB, application/x-bzip)
2022-09-17 15:59 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-17 15:59:16 UTC
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c stripslash.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c getnline.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c xalloc-die.c
clang -DHAVE_CONFIG_H -I. -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c xgetcwd.c
sighandle.c:44:7: error: conflicting types for 'calloc'
char *calloc(unsigned nelem, unsigned size);
      ^

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 27e349751fc08f79c6f96f84652edf0c93ba9a1f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 14:46:52 2022 +0000

    2022-09-17 14:46:52 UTC

emerge -qpvO dev-vcs/cvs
[ebuild  N    ] dev-vcs/cvs-1.12.12-r14  USE="crypt nls pam -doc -kerberos -server"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 15:59:17 UTC
Created attachment 808024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 15:59:19 UTC
Created attachment 808027 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 15:59:19 UTC
Created attachment 808030 [details]
dev-vcs:cvs-1.12.12-r14:20220917-150620.log
Comment 4 Toralf Förster gentoo-dev 2022-09-17 15:59:21 UTC
Created attachment 808033 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 15:59:22 UTC
Created attachment 808036 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 15:59:23 UTC
Created attachment 808039 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 15:59:24 UTC
Created attachment 808042 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 15:59:26 UTC
Created attachment 808045 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2024-05-20 21:58:13 UTC
The bug has been closed via the following commit(s):

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

commit ef52b34d6d49b9b4d41d19dd6df290da5b7179eb
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-05-20 02:02:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-20 21:56:54 +0000

    dev-vcs/cvs: fix all kinds of Modern C issues
    
    This package release is an extra-vintage 2005 with extra gnulib on top.
    
    Among numerous other issues, the broken autoconf standard macros managed
    to break the STDC_HEADERS check, resulting in cvs thinking that there
    are no available standard headers, and not bothering to include them.
    Ouch!
    
    To fix this, we:
    - fix a broken AM_GNU_GETTEXT_VERSION macro to stop autopoint erroring
    - rerun eautoreconf, to fix various standard macros with c99 fixes
    - add some m4 patches that partially backport gnulib fixes (I think hope
      and pray, since I stopped looking at them after a bit due to the
      inability to backport)
    
    Also, while we are at it, throw in a broken shell quoting fix.
    
    Closes: https://bugs.gentoo.org/898782
    Closes: https://bugs.gentoo.org/882225
    Closes: https://bugs.gentoo.org/870835
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-vcs/cvs/cvs-1.12.12-r15.ebuild                 | 109 ++++++++++++++++++
 ...uoting-around-potentially-empty-shell-var.patch |  30 +++++
 dev-vcs/cvs/files/0001-gettext-autoreconf.patch    |  25 +++++
 dev-vcs/cvs/files/c99-roundup.patch                | 122 +++++++++++++++++++++
 4 files changed, 286 insertions(+)