Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883275 - dev-lang/mmix-20160804-r1 - abstime.w:21:1: error: return type defaults to ‘int’ [-Wimplicit-int]
Summary: dev-lang/mmix-20160804-r1 - abstime.w:21:1: error: return type defaults to ‘i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-27 10:39 UTC by Toralf Förster
Modified: 2025-02-10 09:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.73 KB, text/plain)
2022-11-27 10:39 UTC, Toralf Förster
Details
dev-lang:mmix-20160804-r1:20221127-093936.log (dev-lang:mmix-20160804-r1:20221127-093936.log,20.73 KB, text/plain)
2022-11-27 10:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.05 KB, text/plain)
2022-11-27 10:39 UTC, Toralf Förster
Details
environment (environment,66.19 KB, text/plain)
2022-11-27 10:39 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-27 10:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.56 KB, application/x-bzip)
2022-11-27 10:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.47 KB, application/x-bzip)
2022-11-27 10:39 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-27 10:39:19 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
ftype sfunpack(x,f,e,s)
      ^
abstime.w:21:1: error: type specifiermmix-arith.w missing,: 666defaults: 6to:  'int';warning:  aISO  functionC99  definitionand 
without       latera  doprototype  notis 
support       deprecatedimplicit  inint  all[-Werror,-Wimplicit-int] 

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

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

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

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.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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 500eafc69aa7c808ca2ed211df0213d4b6c25721
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 27 08:36:46 2022 +0000

    2022-11-27 08:36:46 UTC

emerge -qpvO dev-lang/mmix
[ebuild  N    ] dev-lang/mmix-20160804-r1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-11-27 10:39:20 UTC
Created attachment 837541 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-27 10:39:21 UTC
Created attachment 837543 [details]
dev-lang:mmix-20160804-r1:20221127-093936.log
Comment 3 Toralf Förster gentoo-dev 2022-11-27 10:39:22 UTC
Created attachment 837545 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-27 10:39:23 UTC
Created attachment 837547 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-27 10:39:24 UTC
Created attachment 837549 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-27 10:39:25 UTC
Created attachment 837551 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-27 10:39:25 UTC
Created attachment 837553 [details]
logs.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2025-01-27 16:09:34 UTC
tinderbox-stable has reproduced this issue in a STABLE environment with version 20160804-r1
Comment 9 Larry the Git Cow gentoo-dev 2025-02-10 09:04:24 UTC
The bug has been closed via the following commit(s):

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

commit ff91cdec8cf7875e85fd62ad09f0752bc81d66ba
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-19 13:27:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:02:09 +0000

    dev-lang/mmix: fix compilation errors with modern compilers
    
    Can't be ported to C23 without massive rewrite due to hand-rolled
    trinary bool, but other compilation problems aren't that engaging
    They are fixed by patch to add an edge to build graph and a type
    to main()
    
    Closes: https://bugs.gentoo.org/946527
    Closes: https://bugs.gentoo.org/818889
    Closes: https://bugs.gentoo.org/883275
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40209
    Signed-off-by: Sam James <sam@gentoo.org>

 .../mmix/files/mmix-20160804-implicit-int.patch    | 27 +++++++++++++
 dev-lang/mmix/mmix-20160804-r2.ebuild              | 47 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)