Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919293 - dev-libs/libmcrypt-2.5.8-r6 - tripledes.c: error: passing argument 1 of perminit from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-libs/libmcrypt-2.5.8-r6 - tripledes.c: error: passing argument 1 of permi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
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: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 17:21 UTC by Toralf Förster
Modified: 2023-12-16 08:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.18 KB, text/plain)
2023-12-05 17:21 UTC, Toralf Förster
Details
dev-libs:libmcrypt-2.5.8-r6:20231205-163131.log (dev-libs:libmcrypt-2.5.8-r6:20231205-163131.log,34.92 KB, text/plain)
2023-12-05 17:21 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,99.83 KB, application/x-xz)
2023-12-05 17:21 UTC, Toralf Förster
Details
environment (environment,77.82 KB, text/plain)
2023-12-05 17:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-05 17:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.44 KB, application/x-xz)
2023-12-05 17:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,11.81 KB, application/x-xz)
2023-12-05 17:21 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,104.57 KB, application/x-xz)
2023-12-05 17:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.67 KB, application/x-xz)
2023-12-05 17:21 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-05 17:21:13 UTC
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin___memcpy_chk' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
tripledes.c: In function '_mcrypt_desinit':
tripledes.c:204:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types]
  204 |         perminit(&key->iperm, ip);
      |                  ^~~~~~~~~~~

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

  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 d03fe8713b4df5c9091e2a81dfe80a8dfe882b74
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 15:02:11 2023 +0000

    2023-12-05 15:02:10 UTC

emerge -qpvO dev-libs/libmcrypt
[ebuild  N    ] dev-libs/libmcrypt-2.5.8-r6
Comment 1 Toralf Förster gentoo-dev 2023-12-05 17:21:14 UTC
Created attachment 877559 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 17:21:15 UTC
Created attachment 877560 [details]
dev-libs:libmcrypt-2.5.8-r6:20231205-163131.log
Comment 3 Toralf Förster gentoo-dev 2023-12-05 17:21:17 UTC
Created attachment 877561 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-05 17:21:19 UTC
Created attachment 877562 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-05 17:21:20 UTC
Created attachment 877563 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 17:21:21 UTC
Created attachment 877564 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 17:21:22 UTC
Created attachment 877565 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-05 17:21:24 UTC
Created attachment 877566 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 17:21:25 UTC
Created attachment 877567 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2023-12-16 08:24:50 UTC
The bug has been closed via the following commit(s):

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

commit ea1df205e5207db476ea62971db3d64d345d46e7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-16 08:15:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-16 08:23:55 +0000

    dev-libs/libmcrypt: fix more modern C issues
    
    Closes: https://bugs.gentoo.org/919293
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libmcrypt/files/libmcrypt-2.5.8-c99-2.patch    | 42 ++++++++++++++++
 dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99.patch | 56 ++++++++++++++++++++++
 dev-libs/libmcrypt/libmcrypt-2.5.8-r7.ebuild       | 45 +++++++++++++++++
 3 files changed, 143 insertions(+)