Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919024 - mail-filter/procmail-3.22-r16 - [clang] _autotst.c: error: type specifier missing, defaults to int [-Werror,-Wimplicit-int]
Summary: mail-filter/procmail-3.22-r16 - [clang] _autotst.c: error: type specifier mis...
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.24-r1
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-02 09:15 UTC by Toralf Förster
Modified: 2024-10-31 15:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,135.85 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
environment (environment,89.74 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-02 09:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.19 KB, application/x-xz)
2023-12-02 09:15 UTC, Toralf Förster
Details
mail-filter:procmail-3.22-r16:20231202-073801.log (mail-filter:procmail-3.22-r16:20231202-073801.log,4.45 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,239.66 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.20 KB, application/x-xz)
2023-12-02 09:15 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 2023-12-02 09:15:38 UTC
 "/usr/bin" \
 "strip"
Whoeaaa!  There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -std=gnu89 -fno-inline-functions _autotst.c -o _autotst -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
_autotst.c:1:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
    1 | main()
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
go version go1.20.11 linux/amd64

  HEAD of ::gentoo
commit 9e732c043ddc1e97a7ad5cc522befd15cbcb6027
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 2 07:16:50 2023 +0000

    2023-12-02 07:16:49 UTC

emerge -qpvO mail-filter/procmail
[ebuild  N    ] mail-filter/procmail-3.22-r16  USE="mbox (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2023-12-02 09:15:38 UTC
Created attachment 876358 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-02 09:15:40 UTC
Created attachment 876359 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-02 09:15:41 UTC
Created attachment 876360 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-02 09:15:42 UTC
Created attachment 876361 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-02 09:15:43 UTC
Created attachment 876362 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-02 09:15:44 UTC
Created attachment 876363 [details]
mail-filter:procmail-3.22-r16:20231202-073801.log
Comment 7 Toralf Förster gentoo-dev 2023-12-02 09:15:46 UTC
Created attachment 876364 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-02 09:15:46 UTC
Created attachment 876365 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-22 19:24:40 UTC
The bug has been closed via the following commit(s):

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

commit 47750a2e4af92aa6566c3225985f7515b63b61dd
Author:     Gabi Falk <gabifalk@gmx.com>
AuthorDate: 2024-05-19 20:00:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-22 19:18:01 +0000

    mail-filter/procmail: fix modern C issues
    
    Added the patch from the upstream pull request (thanks to
    Jaroslav Škarvada).
    
    Link: https://github.com/BuGlessRB/procmail/pull/7
    Closes: https://bugs.gentoo.org/919024
    Signed-off-by: Gabi Falk <gabifalk@gmx.com>
    Closes: https://github.com/gentoo/gentoo/pull/36747
    Signed-off-by: Sam James <sam@gentoo.org>

 .../procmail/files/procmail-3.24-modern-c.patch    | 255 +++++++++++++++++++++
 mail-filter/procmail/procmail-3.24-r1.ebuild       | 119 ++++++++++
 2 files changed, 374 insertions(+)