Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875251 - mail-filter/procmail-3.22-r15 - _autotst.c: error: return type defaults to int [-Werror=implicit-int]
Summary: mail-filter/procmail-3.22-r15 - _autotst.c: error: return type defaults to in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 3.22-r16
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 07:28 UTC by Toralf Förster
Modified: 2024-10-28 16:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.26 KB, text/plain)
2022-10-05 07:28 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,54.76 KB, application/x-bzip)
2022-10-05 07:28 UTC, Toralf Förster
Details
environment (environment,108.25 KB, text/plain)
2022-10-05 07:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.13 KB, application/x-bzip)
2022-10-05 07:28 UTC, Toralf Förster
Details
mail-filter:procmail-3.22-r15:20221004-235828.log (mail-filter:procmail-3.22-r15:20221004-235828.log,4.47 KB, text/plain)
2022-10-05 07:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.61 KB, application/x-bzip)
2022-10-05 07:28 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-10-05 07:28:26 UTC
Whoeaaa!  There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-inline-functions -fno-ipa-cp-clone _autotst.c -o _autotst -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
_autotst.c:1:1: error: return type defaults to int [-Werror=implicit-int]
    1 | main()
      | ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 5594559802a3050d817eaa8e1e5f1d3076d3af2d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 21:17:49 2022 +0000

    2022-10-04 21:17:48 UTC

emerge -qpvO mail-filter/procmail
[ebuild  N    ] mail-filter/procmail-3.22-r15  USE="-mbox (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 07:28:27 UTC
Created attachment 820552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 07:28:28 UTC
Created attachment 820555 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 07:28:29 UTC
Created attachment 820558 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-05 07:28:30 UTC
Created attachment 820561 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-05 07:28:34 UTC
Created attachment 820564 [details]
mail-filter:procmail-3.22-r15:20221004-235828.log
Comment 6 Toralf Förster gentoo-dev 2022-10-05 07:28:35 UTC
Created attachment 820567 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2023-12-02 07:13:09 UTC
The bug has been closed via the following commit(s):

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

commit e92325dddea86232ac9577049695a9f11522a58c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-02 06:05:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-02 07:10:15 +0000

    mail-filter/procmail: update EAPI 6 -> 8, gnu89, no LTO
    
    * Filter LTO (bug #859517, bug #874375 - the latter is a somewhat real bug but
      it only happens with races and not worth fixing for procmail anyway given
      the first bug & it's dead)
    
    * Set -std=gnu89 (bug #875251, bug #896052) for modern C compilers.
    
    Closes: https://bugs.gentoo.org/859517
    Closes: https://bugs.gentoo.org/875251
    Closes: https://bugs.gentoo.org/896052
    Closes: https://bugs.gentoo.org/874375
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/procmail/procmail-3.22-r16.ebuild | 135 ++++++++++++++++++++++++++
 1 file changed, 135 insertions(+)