Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944348 - sys-auth/libnss-mysql-1.5_p20060915-r5 - [ncurses-6.5] [meson] [libtool] [gcc-15] nss_main.c: error: assignment to int ( )(void) from incompatible pointer type int ( )(in
Summary: sys-auth/libnss-mysql-1.5_p20060915-r5 - [ncurses-6.5] [meson] [libtool] [gcc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-11-21 20:20 UTC by Toralf Förster
Modified: 2025-02-22 16:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.64 KB, text/plain)
2024-11-21 20:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,117.71 KB, text/plain)
2024-11-21 20:20 UTC, Toralf Förster
Details
environment (environment,77.66 KB, text/plain)
2024-11-21 20:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-21 20:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.73 KB, application/x-xz)
2024-11-21 20:20 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.88 KB, application/x-xz)
2024-11-21 20:20 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,249.16 KB, text/plain)
2024-11-21 20:20 UTC, Toralf Förster
Details
sys-auth:libnss-mysql-1.5_p20060915-r5:20241121-001204.log (sys-auth:libnss-mysql-1.5_p20060915-r5:20241121-001204.log,13.36 KB, text/plain)
2024-11-21 20:20 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.32 KB, application/x-xz)
2024-11-21 20:20 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-11-21 20:20:27 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -c version.c  -fPIC -DPIC -o .libs/version.o
make[2]: Leaving directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql/src'
make[2]: Entering directory '/var/tmp/portage/sys-auth/libnss-mysql-1.5_p20060915-r5/work/libnss-mysql/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I /usr/include/mysql  -D_REENTRANT  -O2 -pipe -march=native -fno-diagnostics-color -c -o nss_main.lo nss_main.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I /usr/include/mysql -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -c nss_main.c  -fPIC -DPIC -o .libs/nss_main.o
nss_main.c: In function '_nss_mysql_atfork_prepare':
nss_main.c:126:11: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types]
  126 |   trylock = (int (*)(int))dlsym (RTLD_DEFAULT, "pthread_mutex_trylock");
      |           ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit f5494d85b97667f7a40f83ec8b2fa2d2e8452229
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 20 22:03:27 2024 +0000

    2024-11-20 22:03:27 UTC

emerge -qpvO =sys-auth/libnss-mysql-1.5_p20060915-r5
[ebuild  N    ] sys-auth/libnss-mysql-1.5_p20060915-r5  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:20:28 UTC
Created attachment 911079 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:20:29 UTC
Created attachment 911080 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:20:30 UTC
Created attachment 911081 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:20:31 UTC
Created attachment 911082 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:20:32 UTC
Created attachment 911083 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:20:33 UTC
Created attachment 911084 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:20:34 UTC
Created attachment 911085 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:20:35 UTC
Created attachment 911086 [details]
sys-auth:libnss-mysql-1.5_p20060915-r5:20241121-001204.log
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:20:36 UTC
Created attachment 911087 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-02-22 16:49:40 UTC
The bug has been closed via the following commit(s):

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

commit 886944143f5d7d08a044c1a393c4254aa1279ba5
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-18 14:39:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-22 16:49:12 +0000

    sys-auth/libnss-mysql: add 1.7.1
    
    Switch to modernized fork.
    
    Closes: https://bugs.gentoo.org/743139
    Closes: https://bugs.gentoo.org/677532
    Closes: https://bugs.gentoo.org/944425
    Closes: https://bugs.gentoo.org/944348
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40635
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/libnss-mysql/Manifest                  |  1 +
 sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild | 39 +++++++++++++++++++++++++
 sys-auth/libnss-mysql/metadata.xml              |  1 +
 3 files changed, 41 insertions(+)