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

Bug 883123

Summary: dev-ruby/posix-spawn-0.3.15-r1 - posix-spawn.c: error: incompatible function pointer types passing int
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-ruby:posix-spawn-0.3.15-r1:20221126-061747.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-26 10:19:49 UTC
 * Running compile phase for ruby27
make -j4 V=1 -C ext 
make: Entering directory '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work/ruby27/posix-spawn-0.3.15/ext'
clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I.   -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall   -o posix-spawn.o -c posix-spawn.c
posix-spawn.c:226:27: error: incompatible function pointer types passing 'int
      (VALUE, VALUE, posix_spawn_file_actions_t *)' (aka 'int (unsigned long,
      unsigned long, posix_spawn_file_actions_t *)') to parameter of type 'int

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20221125-160004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
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.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.1 *

  HEAD of ::gentoo
commit 7b16b43a72f9ede940984442bf4acd5820af31ad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 05:33:54 2022 +0000

    2022-11-26 05:33:54 UTC

emerge -qpvO dev-ruby/posix-spawn
[ebuild  N    ] dev-ruby/posix-spawn-0.3.15-r1  USE="-doc -test" RUBY_TARGETS="ruby27"
Comment 1 Toralf Förster gentoo-dev 2022-11-26 10:19:50 UTC
Created attachment 836959 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-26 10:19:51 UTC
Created attachment 836961 [details]
dev-ruby:posix-spawn-0.3.15-r1:20221126-061747.log
Comment 3 Toralf Förster gentoo-dev 2022-11-26 10:19:53 UTC
Created attachment 836963 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-26 10:19:54 UTC
Created attachment 836965 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-26 10:19:55 UTC
Created attachment 836967 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-26 10:19:56 UTC
Created attachment 836969 [details]
etc.portage.tar.bz2
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-19 06:14:46 UTC
Package removed.