Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870517 - app-arch/arc-5.21p:0 - arcmisc.c: error: parameter arg3 was not declared, defaults to int;
Summary: app-arch/arc-5.21p:0 - arcmisc.c: error: parameter arg3 was not declared, def...
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-16 19:37 UTC by Toralf Förster
Modified: 2022-10-07 11:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.68 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
app-arch:arc-5.21p:20220916-184710.log (app-arch:arc-5.21p:20220916-184710.log,83.09 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.28 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
environment (environment,60.81 KB, text/plain)
2022-09-16 19:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.05 KB, application/x-bzip)
2022-09-16 19:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.24 KB, application/x-bzip)
2022-09-16 19:37 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-16 19:37:02 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
upper(string)
^
arcmisc.c:226:23: error: parameter 'arg3' was not declared, defaults to 'int';
      ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
arcdie(s, arg1, arg2, arg3)

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

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

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

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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
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]
Available Java Virtual Machines:
  [1]   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 0d22bb6c1d6dd9122872e6479a56f3fee85ea69a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 18:02:06 2022 +0000

    2022-09-16 18:02:06 UTC

emerge -qpvO app-arch/arc
[ebuild  N    ] app-arch/arc-5.21p
Comment 1 Toralf Förster gentoo-dev 2022-09-16 19:37:03 UTC
Created attachment 806359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:37:04 UTC
Created attachment 806362 [details]
app-arch:arc-5.21p:20220916-184710.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:37:05 UTC
Created attachment 806365 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:37:07 UTC
Created attachment 806368 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:37:08 UTC
Created attachment 806371 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:37:09 UTC
Created attachment 806374 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-07 11:28:52 UTC
The bug has been closed via the following commit(s):

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

commit de8e441f3e9cc4a2ed0274b66cc8678da06c0dff
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2022-10-06 13:36:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-07 11:28:20 +0000

    app-arch/arc: -Werror=implicit-int fix & update EAPI 7 -> 8
    
    This change applies new patch which make arcdie variadic function in
    order to be able to compile with -Werror=implicit-int parameter enabled.
    
    Closes: https://bugs.gentoo.org/870517
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/27662
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/arc/arc-5.21p-r1.ebuild                   | 40 ++++++++++++++++++++++
 app-arch/arc/files/arc-5.21p-variadic-arcdie.patch | 38 ++++++++++++++++++++
 2 files changed, 78 insertions(+)