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

Bug 885567

Summary: dev-util/muon-0.1.0-r1 fails test - FAILED: cthreadprog.p/threadprog.c.o
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Arsen Arsenović <arsen>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:muon-0.1.0-r1:20221212-084656.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
tests.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-12-12 10:06:47 UTC
too long lines were shrinked:

111/278 muon:project+common / common/94 threads                                                   FAIL            0.42s   exit status 1
>>> PATH=/usr/lib64:/var/tmp/portage/dev-util/muon-0.1.0-r1/temp/clang-wrappers:/var/tmp/portage/dev-util/muon-0.1.0-r1/temp/python3.10/bin:/usr/lib/portage/python3.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bi
 ✀  
stdout:
ninja: Entering directory `/var/tmp/portage/dev-util/muon-0.1.0-r1/work/muon-0.1.0-build/tests/project/common/94 threads'
[1/4] compiling c cthreadprog.p/threadprog.c.o
FAILED: cthreadprog.p/threadprog.c.o 
clang -g -Og -Wpedantic -Wextra -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I . -I '../../../../../muon-0.1.0/tests/project/common/94 threads' -pthread -MD -MQ cthreadprog.p/threadprog.c.o -MF cthreadprog.p/threadprog.c.o.d -o cthr
../../../../../muon-0.1.0/tests/project/common/94 threads/threadprog.c:34:40: error: incompatible function pointer types passing 'void *(void)' to parameter of type 'void *(*)(void *)' [-Werror,-Wincompatible-function-pointer-types]

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

  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
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit b3689d04999d3634421c8757225b69d3960a4170
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 12 08:31:50 2022 +0000

    2022-12-12 08:31:49 UTC

emerge -qpvO dev-util/muon
[ebuild  N    ] dev-util/muon-0.1.0-r1  USE="archive libpkgconf man -curl"
Comment 1 Toralf Förster gentoo-dev 2022-12-12 10:06:49 UTC
Created attachment 841883 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-12 10:06:50 UTC
Created attachment 841885 [details]
dev-util:muon-0.1.0-r1:20221212-084656.log
Comment 3 Toralf Förster gentoo-dev 2022-12-12 10:06:51 UTC
Created attachment 841887 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-12 10:06:53 UTC
Created attachment 841889 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-12 10:06:53 UTC
Created attachment 841891 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-12 10:06:54 UTC
Created attachment 841893 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-12 10:06:56 UTC
Created attachment 841895 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-12 10:06:57 UTC
Created attachment 841897 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-12 10:06:58 UTC
Created attachment 841899 [details]
tests.tar.bz2
Comment 10 Toralf Förster gentoo-dev 2022-12-12 10:06:59 UTC
Created attachment 841901 [details]
var.tmp.clang.tar.bz2
Comment 11 Larry the Git Cow gentoo-dev 2023-01-21 12:45:43 UTC
The bug has been closed via the following commit(s):

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

commit 97e408b2db056f1aebc751db0aa2a9e5348360f9
Author:     Arsen Arsenović <arsen@gentoo.org>
AuthorDate: 2023-01-21 12:42:41 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2023-01-21 12:44:22 +0000

    dev-util/muon: fix test broken w/ -Werror=incompatible-pointer-types
    
    Closes: https://bugs.gentoo.org/885567
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 ...test-Wincompatible-function-pointer-types.patch | 28 ++++++++++++++++++++++
 dev-util/muon/muon-0.1.0-r1.ebuild                 |  1 +
 2 files changed, 29 insertions(+)