Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885467

Summary: dev-libs/nspr-4.35 fails test - /.../testfile.c: error: incompatible function pointer types passing void ( )(void ) to parameter o
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=301988
https://bugzilla.mozilla.org/show_bug.cgi?id=370415
https://bugzilla.mozilla.org/show_bug.cgi?id=527006
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-libs:nspr-4.35:20221211-150449.log.bz2
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-12-11 15:39:52 UTC
too long lines were shrinked:

clang  switch.o -Xlinker -rpath /var/tmp/portage/dev-libs/nspr-4.35/work/nspr-4.35-abi_x86_64.amd64/pr/tests/../../dist/lib -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o switch
clang -o system.o -c -fvisibility=hidden    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pthread -O2 -fPIC  -UDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DP
clang  system.o -Xlinker -rpath /var/tmp/portage/dev-libs/nspr-4.35/work/nspr-4.35-abi_x86_64.amd64/pr/tests/../../dist/lib -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o system
clang -o testbit.o -c -fvisibility=hidden    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pthread -O2 -fPIC  -UDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -D
clang  testbit.o -Xlinker -rpath /var/tmp/portage/dev-libs/nspr-4.35/work/nspr-4.35-abi_x86_64.amd64/pr/tests/../../dist/lib -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o testbit
clang -o testfile.o -c -fvisibility=hidden    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pthread -O2 -fPIC  -UDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
/var/tmp/portage/dev-libs/nspr-4.35/work/nspr-4.35/nspr/pr/tests/testfile.c:126:41: error: incompatible function pointer types passing 'void (*)(void *)' to parameter of type 'void *(*)(void *)' [-Werror,-Wincompatible-function-pointer-types]
        if (!pthread_create(&tid, NULL, start, arg)) {
                                        ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_test-20221211-060004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
php cli (if any):

  HEAD of ::gentoo
commit 0ab937ae82871530d237f69148c5aa9d5b1dcb80
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 11 14:46:49 2022 +0000

    2022-12-11 14:46:49 UTC

emerge -qpvO dev-libs/nspr
[ebuild  N    ] dev-libs/nspr-4.35  USE="-debug" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-12-11 15:39:54 UTC
Created attachment 841421 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-11 15:39:55 UTC
Created attachment 841423 [details]
dev-libs:nspr-4.35:20221211-150449.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-11 15:39:56 UTC
Created attachment 841425 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-11 15:39:57 UTC
Created attachment 841427 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-11 15:39:58 UTC
Created attachment 841429 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-11 15:39:59 UTC
Created attachment 841431 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-11 15:40:00 UTC
Created attachment 841433 [details]
var.tmp.clang.tar.bz2