Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947207 - mail-mta/ssmtp-2.64_p11-r1 - [gcc-15] ssmtp.c: error: passing argument 2 of signal from incompatible pointer type [-Wincompatible-pointer-types]
Summary: mail-mta/ssmtp-2.64_p11-r1 - [gcc-15] ssmtp.c: error: passing argument 2 of s...
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:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-12-30 10:19 UTC by Toralf Förster
Modified: 2024-12-30 16:17 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.41 KB, text/plain)
2024-12-30 10:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,13.54 KB, text/plain)
2024-12-30 10:19 UTC, Toralf Förster
Details
environment (environment,80.11 KB, text/plain)
2024-12-30 10:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-30 10:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.58 KB, application/x-xz)
2024-12-30 10:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.57 KB, application/x-xz)
2024-12-30 10:19 UTC, Toralf Förster
Details
mail-mta:ssmtp-2.64_p11-r1:20241230-100416.log (mail-mta:ssmtp-2.64_p11-r1:20241230-100416.log,23.90 KB, text/plain)
2024-12-30 10:19 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,52.44 KB, text/plain)
2024-12-30 10:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.49 KB, application/x-xz)
2024-12-30 10:19 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 2024-12-30 10:19:48 UTC
      |                             ^
ssmtp.c: In function fd_gets:
ssmtp.c:1401:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1401 |         buf[i] = (char)NULL;
      |                  ^
ssmtp.c: In function ssmtp:
ssmtp.c:1549:31: error: passing argument 2 of signal from incompatible pointer type [-Wincompatible-pointer-types]
 1549 |         (void)signal(SIGALRM, (void(*)())handler);      /* Catch SIGALRM */
      |                               ^~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20241230-041507

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: Python 3.12.8
Available Rust versions:
  [1]   rust-bin-1.83.0 *

  HEAD of ::gentoo
commit 0542d079a25b931102a660b5c5ba0cccdf4a1e55
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 30 03:48:18 2024 +0000

    Merge updates from master

emerge -qpvO =mail-mta/ssmtp-2.64_p11-r1
[ebuild   R   ] mail-mta/ssmtp-2.64_p11-r1  USE="gnutls* mta ssl"
Comment 1 Toralf Förster gentoo-dev 2024-12-30 10:19:49 UTC
Created attachment 915510 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-30 10:19:50 UTC
Created attachment 915511 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-12-30 10:19:51 UTC
Created attachment 915512 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-30 10:19:52 UTC
Created attachment 915513 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-30 10:19:52 UTC
Created attachment 915514 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-30 10:19:53 UTC
Created attachment 915515 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-30 10:19:54 UTC
Created attachment 915516 [details]
mail-mta:ssmtp-2.64_p11-r1:20241230-100416.log
Comment 8 Toralf Förster gentoo-dev 2024-12-30 10:19:55 UTC
Created attachment 915517 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-12-30 10:19:56 UTC
Created attachment 915518 [details]
temp.tar.xz
Comment 10 Ionen Wolkens gentoo-dev 2024-12-30 16:11:15 UTC
Haven't inspected the patches and if they're enough to fix this (not planning to work on this, don't use/know this package), but ftr _p12's changelog mentions fixing some incorrect pointer usage.

ssmtp (2.64-12) unstable; urgency=medium

  * copyright: do not claim package is maintained
  * Patch incorrect pointer usage (Closes: #1075538)
  * Use dh sequencer to get dh_autoreconf
  * Remove obsolete upgrade code moving conffiles
Comment 11 Larry the Git Cow gentoo-dev 2024-12-30 16:17:19 UTC
The bug has been closed via the following commit(s):

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

commit db521ed271d9bd525dac3ca7ee2ae60ba6e9f886
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-30 16:15:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-30 16:16:46 +0000

    mail-mta/ssmtp: add 2.64_p12
    
    * Update Debian patchset from 11->12 (their GCC fix is a bit bigger
      than the one we drop here)
    * Build w/ -std=gnu17 given it's only pseudo-maintained by Debian, dead
      upstream
    
    Closes: https://bugs.gentoo.org/944143
    Closes: https://bugs.gentoo.org/947207
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-mta/ssmtp/Manifest              |   1 +
 mail-mta/ssmtp/ssmtp-2.64_p12.ebuild | 144 +++++++++++++++++++++++++++++++++++
 2 files changed, 145 insertions(+)