Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919366 - mail-filter/opendkim-2.10.3-r30 - opendkim.c: error: passing argument 1 of strlcpy from incompatible pointer type [-Wincompatible-pointer-types]
Summary: mail-filter/opendkim-2.10.3-r30 - opendkim.c: error: passing argument 1 of st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-06 18:08 UTC by Toralf Förster
Modified: 2024-04-22 11:59 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.54 KB, text/plain)
2023-12-06 18:08 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,108.73 KB, application/x-xz)
2023-12-06 18:08 UTC, Toralf Förster
Details
environment (environment,108.83 KB, text/plain)
2023-12-06 18:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-06 18:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.55 KB, application/x-xz)
2023-12-06 18:08 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.43 KB, application/x-xz)
2023-12-06 18:08 UTC, Toralf Förster
Details
mail-filter:opendkim-2.10.3-r30:20231206-173413.log (mail-filter:opendkim-2.10.3-r30:20231206-173413.log,54.32 KB, text/plain)
2023-12-06 18:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,111.86 KB, application/x-xz)
2023-12-06 18:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.74 KB, application/x-xz)
2023-12-06 18:08 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-06 18:08:19 UTC
  454 |                                 SHA1_Final(shaout, &sha);
      |                                 ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
opendkim.c: In function mlfi_eoh:
opendkim.c:11659:25: error: passing argument 1 of strlcpy from incompatible pointer type [-Wincompatible-pointer-types]
11659 |                 strlcpy(addr, conf->conf_defsender, sizeof addr);
      |                         ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
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.7
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 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 795b9ab52a965ff334b30f7dd7879f5c76f69b5b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 16:19:51 2023 +0000

    2023-12-06 16:19:50 UTC

emerge -qpvO mail-filter/opendkim
[ebuild  N    ] mail-filter/opendkim-2.10.3-r30  USE="ssl -berkdb -ldap -lmdb -lua -memcached -opendbx -poll -querycache -sasl (-selinux) -static-libs -stats -test -unbound" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2023-12-06 18:08:20 UTC
Created attachment 877869 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 18:08:22 UTC
Created attachment 877870 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-06 18:08:23 UTC
Created attachment 877871 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-06 18:08:24 UTC
Created attachment 877872 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-06 18:08:25 UTC
Created attachment 877873 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 18:08:26 UTC
Created attachment 877874 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-06 18:08:27 UTC
Created attachment 877875 [details]
mail-filter:opendkim-2.10.3-r30:20231206-173413.log
Comment 8 Toralf Förster gentoo-dev 2023-12-06 18:08:28 UTC
Created attachment 877876 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-06 18:08:30 UTC
Created attachment 877877 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-04-22 11:59:19 UTC
The bug has been closed via the following commit(s):

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

commit d6d6f9f4b76861f928928d86aec31dd8ecd833b2
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-04-22 11:50:45 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-04-22 11:58:53 +0000

    mail-filter/opendkim: incompatible-pointer-types patch
    
    Closes: https://bugs.gentoo.org/919366
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 ...pendkim-2.10.3-incompatible-pointer-types.patch |  32 +++
 mail-filter/opendkim/opendkim-2.10.3-r31.ebuild    | 253 +++++++++++++++++++++
 2 files changed, 285 insertions(+)